관리-도구
편집 파일: pg.cpython-37.pyc
B ��Fd� � @ s� d dl mZmZmZ d dlmZ d dlmZ dgZG dd� de�Z e dkr�d dlmZ e� d� d d lmZ ed d�Ze�� ee�� � dS ) � )�division�absolute_import�print_function)� FCompiler)�platform�PGroupFCompilerc @ s� e Zd ZdZdZdZedkrRddgddgdd dgddgd gddgd gd�ZdgZn2ddgdgdd gdgdddgddgd gd�ZdgZdZ dZ dd� Zdd� Zdd� Z edkr�dd� Zdd� ZdS )r �pgzPortland Group Fortran Compilerz1\s*pg(f77|f90|hpf|fortran) (?P<version>[\d.-]+).*�darwinz<F77>z-V� pgfortranz-dynamiclibz-MfixedZlibtool�arz-cr�ranlib)�version_cmd�compiler_f77�compiler_fix�compiler_f90� linker_so�archiverr � z-sharedz-fpicz-module z-Ic C s ddg}| j | S )Nz-Minform=informz-Mnosecond_underscore)� pic_flags)�self�opt� r �O/opt/alt/python37/lib64/python3.7/site-packages/numpy/distutils/fcompiler/pg.py� get_flags* s zPGroupFCompiler.get_flagsc C s dgS )Nz-fastr )r r r r � get_flags_opt- s zPGroupFCompiler.get_flags_optc C s dgS )Nz-gr )r r r r �get_flags_debug/ s zPGroupFCompiler.get_flags_debugc C s dddgS )Nz-dynamicz -undefined�dynamic_lookupr )r r r r �get_flags_linker_so3 s z#PGroupFCompiler.get_flags_linker_soc C s d| S )Nz-R"%s"r )r �dirr r r �runtime_library_dir_option6 s z*PGroupFCompiler.runtime_library_dir_optionN)�__name__� __module__�__qualname__� compiler_type�description�version_patternr �executablesr �module_dir_switch�module_include_switchr r r r r r r r r r s8 �__main__)�log� )� new_fcompilerr )�compilerN)� __future__r r r �numpy.distutils.fcompilerr �sysr � compilersr r � distutilsr* � set_verbosityr, r- � customize�print�get_versionr r r r �<module> s 0