%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /usr/lib64/python3.9/site-packages/numpy/distutils/fcompiler/__pycache__/
Upload File :
Create Path :
Current File : //usr/lib64/python3.9/site-packages/numpy/distutils/fcompiler/__pycache__/pg.cpython-39.opt-1.pyc

a

z[yc�
�@s�ddlZddlmZddlmZddlmZmZmZddgZGdd�de�Z	ddl
Z
Gdd�de�Zed	kr�dd
l
mZe�d�ddlmZd
ejvr�eed
d����needd����dS)�N)�	FCompiler)�platform)�join�dirname�normpath�PGroupFCompiler�PGroupFlangCompilerc@s�eZdZdZdZdZedkrPddgddggd	�ddgd
gddgd
gd�ZdgZn.ddgdgddgdgdgddgd
gd�ZdgZdZ	dZ
dd�Zdd�Zdd�Z
edkr�dd�Zndd�Zdd�Zd S)!r�pgzPortland Group Fortran Compilerz1\s*pg(f77|f90|hpf|fortran) (?P<version>[\d.-]+).*�darwin�<F77>z-V�	pgfortran�-dynamiclib)r�-Mfixedr
Zlibtool�arz-cr�ranlib�Zversion_cmd�compiler_f77Zcompiler_fixZcompiler_f90Z	linker_soZarchiverr�rz<F90>�-fpic�-module z-IcCsddg}|j|S)Nz-Minform=informz-Mnosecond_underscore)�	pic_flags��self�opt�r�B/usr/lib64/python3.9/site-packages/numpy/distutils/fcompiler/pg.py�	get_flags+szPGroupFCompiler.get_flagscCsdgS)Nz-fastr�rrrr�
get_flags_opt/szPGroupFCompiler.get_flags_optcCsdgS�Nz-grrrrr�get_flags_debug2szPGroupFCompiler.get_flags_debugcCsgd�S)N)z-dynamicz
-undefinedZdynamic_lookuprrrrr�get_flags_linker_so6sz#PGroupFCompiler.get_flags_linker_socCsddgS)Nz-sharedrrrrrrr!:scCsd|S)Nz-R%sr�r�dirrrr�runtime_library_dir_option=sz*PGroupFCompiler.runtime_library_dir_optionN)�__name__�
__module__�__qualname__�
compiler_type�description�version_patternr�executablesr�module_dir_switchZmodule_include_switchrrr r!r$rrrrrs>�	�	
c@s�eZdZdZdZdZdZdgZddgdgdgdgdgedd	gdd
�Zd	Z	dZ
dd
�Zej
dd�dd��Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�ZdS)r�flangz$Portland Group Fortran LLVM Compilerz/\s*(flang|clang) version (?P<version>[\d.-]+).*zlib.exerz	--versionNz/verbosez/OUT:rrcCst�|�}|�gd��|S)N)r-ZflangrtiZompstub)r�
get_libraries�extendrrrrr.Xs
z!PGroupFlangCompiler.get_libraries�)�maxsizecCs6t�|�}t|jdd�}|�tt|dd���|S)z%List of compiler library directories.rrz..�lib)r�get_library_dirsrr+�appendrr)rrZ	flang_dirrrrr3]s
z$PGroupFlangCompiler.get_library_dirscCsgS�NrrrrrrfszPGroupFlangCompiler.get_flagscCsgSr5rrrrr�get_flags_freeisz"PGroupFlangCompiler.get_flags_freecCsdgSrrrrrrr lsz#PGroupFlangCompiler.get_flags_debugcCsdgS)Nz-O3rrrrrrosz!PGroupFlangCompiler.get_flags_optcCsgSr5rrrrr�get_flags_archrsz"PGroupFlangCompiler.get_flags_archcCst�dSr5)�NotImplementedErrorr"rrrr$usz.PGroupFlangCompiler.runtime_library_dir_option)r%r&r'r(r)r*Zar_exeZpossible_executablesr+Zlibrary_switchr,r.�	functools�	lru_cacher3rr6r rr7r$rrrrrCs0�


�__main__)�log�)�customized_fcompilerr-)Zcompilerr	)�sysZnumpy.distutils.fcompilerrrZos.pathrrrZ	compilersrr9rr%Z	distutilsr<Z
set_verbosityZnumpy.distutilsr>�argv�printZget_versionrrrr�<module>s66



Zerion Mini Shell 1.0