HOME


sh-3ll 1.0
DIR:/usr/local/lib64/python3.6/site-packages/numpy/distutils/fcompiler/__pycache__/
Upload File :
Current File : //usr/local/lib64/python3.6/site-packages/numpy/distutils/fcompiler/__pycache__/nv.cpython-36.pyc
3

���h$�@sjddlZddlmZdgZGdd�de�ZedkrfddlmZejd�ddl	m
Z
ee
d	d
�j��dS)�N)�	FCompiler�NVHPCFCompilerc@szeZdZdZdZdZdZddgdgddgdgdgd	d
gdgd�Zd
gZdZ	dZ
dd�Zdd�Zdd�Z
dd�Zdd�ZdS)ra6 NVIDIA High Performance Computing (HPC) SDK Fortran Compiler
   
    https://developer.nvidia.com/hpc-sdk
   
    Since august 2020 the NVIDIA HPC SDK includes the compilers formerly known as The Portland Group compilers,
    https://www.pgroup.com/index.htm.
    See also `numpy.distutils.fcompiler.pg`.
    �nvzNVIDIA HPC SDKzM\s*(nvfortran|(pg(f77|f90|fortran)) \(aka nvfortran\)) (?P<version>[\d.-]+).*z<F90>z-VZ	nvfortranz-Mfixed�arz-cr�ranlib)Zversion_cmdZcompiler_f77Zcompiler_fixZcompiler_f90�	linker_so�archiverrz-fpicz-module z-IcCsddg}|j|S)Nz-Minform=informz-Mnosecond_underscore)�	pic_flags)�self�opt�r�=/tmp/pip-build-5_djhm0z/numpy/numpy/distutils/fcompiler/nv.py�	get_flags#szNVHPCFCompiler.get_flagscCsdgS)Nz-fastr)r
rrr
�
get_flags_opt'szNVHPCFCompiler.get_flags_optcCsdgS)Nz-gr)r
rrr
�get_flags_debug*szNVHPCFCompiler.get_flags_debugcCsddgS)Nz-sharedz-fpicr)r
rrr
�get_flags_linker_so-sz"NVHPCFCompiler.get_flags_linker_socCsd|S)Nz-R%sr)r
�dirrrr
�runtime_library_dir_option0sz)NVHPCFCompiler.runtime_library_dir_optionN)�__name__�
__module__�__qualname__�__doc__�
compiler_type�descriptionZversion_patternZexecutablesr	Zmodule_dir_switchZmodule_include_switchrrrrrrrrr
rs&
�__main__)�log�)�customized_fcompilerr)�compiler)
�sysZnumpy.distutils.fcompilerrZ	compilersrr�	distutilsr�
set_verbosityZnumpy.distutilsr�print�get_versionrrrr
�<module>s,