| Server IP : 46.101.140.223 / Your IP : 216.73.217.61 Web Server : nginx/1.22.1 System : Linux debian-s-1vcpu-1gb-fra1-01 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : deploy-others ( 1001) PHP Version : 8.2.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /usr/lib/python3/dist-packages/numpy/distutils/command/__pycache__/ |
Upload File : |
�
���c�} � �� � d Z ddlZddlZddlmZ ddlmZ ddlmZ ddl m
Z
mZmZ ddl
mZ ddlmZ dd lmZ dd
lmZ ddlmZmZmZmZmZmZ ddlmZ dd
lmZm Z G d� de� � ZdS )zC Modified version of build_ext that handles fortran source files.
� N)�glob)�newer_group)� build_ext)�DistutilsFileError�DistutilsSetupError�DistutilsError)� copy_file)�log)�filepath_from_subprocess_output)�
combine_paths)�filter_sources�get_ext_source_files�get_numpy_include_dirs�has_cxx_sources�
has_f_sources�is_sequence)�show_fortran_compilers)�new_ccompiler_opt�CCompilerOptc � � e Zd ZdZej g d�z Zej dddefgz Zej ddgz Zd� Z d � Z
d
� Zdd�Zd� Z
d
� Zd� Zd� Zd� Zd� ZdS )r z:build C/C++/F extensions (compile/link to build directory)))z
fcompiler=Nz!specify the Fortran compiler type)z parallel=�jznumber of parallel jobs)�
warn-errorNz'turn all warnings into errors (-Werror))z
cpu-baseline=Nz4specify a list of enabled baseline CPU optimizations)z
cpu-dispatch=Nz.specify a list of dispatched CPU optimizations)�disable-optimizationNz1disable CPU optimized code(dispatch,simd,fast...))z
simd-test=NzMspecify a list of CPU optimizations to be tested against NumPy SIMD interfacezhelp-fcompilerNz list available Fortran compilersr r c � � t j | � � d | _ d | _ d | _ d | _ d | _ d | _ d | _ d S �N) �
old_build_ext�initialize_options� fcompiler�parallel�
warn_error�cpu_baseline�cpu_dispatch�disable_optimization� simd_test)�selfs �C/usr/lib/python3/dist-packages/numpy/distutils/command/build_ext.pyr zbuild_ext.initialize_options4 sK � ��(��.�.�.������
���� ��� ���$(��!������ c �2 � | j r= t | j � � | _ n"# t $ r}t d� � |�d }~ww xY wt | j t
� � r)| j � t j � � | _ | j pg }| j j �g | j _ | j j | _ | j �
|� � t j | � � | �
ddddddd� � | j t j d <