관리-도구
편집 파일: config_compiler.cpython-311.pyc
� �܋f � �^ � d dl mZ d dlmZ d d�Z G d� de� � Z G d� de� � ZdS ) � )�Command)�logNc � � | rd S | �g } | � d� � ddlm} dd l}|j j } ||� � d S )N� r )�show_fcompilers)�append�numpy.distutils.fcompilerr �distutils.core�core�_setup_distribution)�_cacher � distutils�dists �z/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/distutils/command/config_compiler.py�show_fortran_compilersr si � � � ��� ���� �M�M�!����9�9�9�9�9�9������>�-�D��O�D������ c �F � e Zd ZdZdZg d�ZdddefgZg d�Zd� Z d � Z d � ZdS )� config_fcz� Distutils command to hold user specified options to Fortran compilers. config_fc command is used by the FCompiler.customize() method. z2specify Fortran 77/Fortran 90 compiler information) )z fcompiler=Nzspecify Fortran compiler type)zf77exec=Nzspecify F77 compiler command)zf90exec=Nzspecify F90 compiler command)z f77flags=Nzspecify F77 compiler flags)z f90flags=Nzspecify F90 compiler flags)zopt=Nzspecify optimization flags)zarch=Nz0specify architecture specific optimization flags)�debug�gz"compile with debugging information)�nooptNzcompile without optimization)�noarchNz+compile without arch-dependent optimizationzhelp-fcompilerNz list available Fortran compilers)r r r c � � d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d | _ d S �N) � fcompiler�f77exec�f90exec�f77flags�f90flags�opt�archr r r ��selfs r �initialize_optionszconfig_fc.initialize_options/ sL � ������������ ��� ������ ��� ��� �����r c �P � t j d� � | � d� � }| � d� � }| � d� � }| � d� � }| ||||g}dD ]�}g }|D ]I}t ||� � } | �5t | t � � s| j } | |vr|� | � � �J|sd } n|d } t |� � dk rt j d |�d |�d�� � | r&|D ]#}t ||� � �t ||| � � �$��d S )NzTunifing config_fc, config, build_clib, build_ext, build commands --fcompiler options� build_clib� build_ext�config�build)r r r � commands have different --� options: � , using first in list as default�r �info�get_finalized_command�getattr� isinstance�str� compiler_typer �len�warn�setattr�r# r&