$15 GRAYBYTE WORDPRESS FILE MANAGER $83

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 104.21.15.130 | ADMIN IP 216.73.216.85
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : NONE

/opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/distutils/command/

HOME
Current File : /opt/cloudlinux/venv/lib/python3.11/site-packages/numpy/distutils/command//build.py
import os
import sys
from distutils.command.build import build as old_build
from distutils.util import get_platform
from numpy.distutils.command.config_compiler import show_fortran_compilers

class build(old_build):

    sub_commands = [('config_cc',     lambda *args: True),
                    ('config_fc',     lambda *args: True),
                    ('build_src',     old_build.has_ext_modules),
                    ] + old_build.sub_commands

    user_options = old_build.user_options + [
        ('fcompiler=', None,
         "specify the Fortran compiler type"),
        ('warn-error', None,
         "turn all warnings into errors (-Werror)"),
        ('cpu-baseline=', None,
         "specify a list of enabled baseline CPU optimizations"),
        ('cpu-dispatch=', None,
         "specify a list of dispatched CPU optimizations"),
        ('disable-optimization', None,
         "disable CPU optimized code(dispatch,simd,fast...)"),
        ('simd-test=', None,
         "specify a list of CPU optimizations to be tested against NumPy SIMD interface"),
        ]

    help_options = old_build.help_options + [
        ('help-fcompiler', None, "list available Fortran compilers",
         show_fortran_compilers),
        ]

    def initialize_options(self):
        old_build.initialize_options(self)
        self.fcompiler = None
        self.warn_error = False
        self.cpu_baseline = "min"
        self.cpu_dispatch = "max -xop -fma4" # drop AMD legacy features by default
        self.disable_optimization = False
        """
        the '_simd' module is a very large. Adding more dispatched features
        will increase binary size and compile time. By default we minimize
        the targeted features to those most commonly used by the NumPy SIMD interface(NPYV),
        NOTE: any specified features will be ignored if they're:
            - part of the baseline(--cpu-baseline)
            - not part of dispatch-able features(--cpu-dispatch)
            - not supported by compiler or platform
        """
        self.simd_test = "BASELINE SSE2 SSE42 XOP FMA4 (FMA3 AVX2) AVX512F " \
                         "AVX512_SKX VSX VSX2 VSX3 VSX4 NEON ASIMD VX VXE VXE2"

    def finalize_options(self):
        build_scripts = self.build_scripts
        old_build.finalize_options(self)
        plat_specifier = ".{}-{}.{}".format(get_platform(), *sys.version_info[:2])
        if build_scripts is None:
            self.build_scripts = os.path.join(self.build_base,
                                              'scripts' + plat_specifier)

    def run(self):
        old_build.run(self)


Current_dir [ NOT WRITEABLE ] Document_root [ WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
11 Feb 2026 9.30 AM
root / root
0755
__pycache__
--
11 Feb 2026 9.30 AM
root / root
0755
__init__.py
1.008 KB
20 Jan 2026 1.01 PM
root / root
0644
autodist.py
3.631 KB
20 Jan 2026 1.01 PM
root / root
0644
bdist_rpm.py
0.692 KB
20 Jan 2026 1.01 PM
root / root
0644
build.py
2.552 KB
20 Jan 2026 1.01 PM
root / root
0644
build_clib.py
18.826 KB
20 Jan 2026 1.01 PM
root / root
0644
build_ext.py
31.52 KB
20 Jan 2026 1.01 PM
root / root
0644
build_py.py
1.117 KB
20 Jan 2026 1.01 PM
root / root
0644
build_scripts.py
1.626 KB
20 Jan 2026 1.01 PM
root / root
0644
build_src.py
30.432 KB
20 Jan 2026 1.01 PM
root / root
0644
config.py
20.186 KB
20 Jan 2026 1.01 PM
root / root
0644
config_compiler.py
4.267 KB
20 Jan 2026 1.01 PM
root / root
0644
develop.py
0.562 KB
20 Jan 2026 1.01 PM
root / root
0644
egg_info.py
0.899 KB
20 Jan 2026 1.01 PM
root / root
0644
install.py
3.001 KB
20 Jan 2026 1.01 PM
root / root
0644
install_clib.py
1.366 KB
20 Jan 2026 1.01 PM
root / root
0644
install_data.py
0.828 KB
20 Jan 2026 1.01 PM
root / root
0644
install_headers.py
0.897 KB
20 Jan 2026 1.01 PM
root / root
0644
sdist.py
0.716 KB
20 Jan 2026 1.01 PM
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF