관리-도구
편집 파일: nag.cpython-37.pyc
B ��Fd{ � @ s� d dl mZmZmZ d dlZd dlmZ dgZG dd� de�Ze dkr�d dl mZ e�d� d d lm Z e d d�Ze�� ee�� � dS )� )�division�absolute_import�print_functionN)� FCompiler�NAGFCompilerc @ sb e Zd ZdZdZdZddgddgddgdgdgdd gd gd�Zdd � Zdd� Zdd� Z dd� Z dS )r �nagzNAGWare Fortran 95 Compilerz7NAGWare Fortran 95 compiler Release (?P<version>[^\s]*)z<F90>z-V�f95z-fixed�arz-cr�ranlib)�version_cmd�compiler_f77�compiler_fix�compiler_f90� linker_so�archiverr c C s t jdkrddgS dgS )N�darwinz-unsharedf95z/-Wl,-bundle,-flat_namespace,-undefined,suppressz-Wl,-shared)�sys�platform)�self� r �P/opt/alt/python37/lib64/python3.7/site-packages/numpy/distutils/fcompiler/nag.py�get_flags_linker_so s z NAGFCompiler.get_flags_linker_soc C s dgS )Nz-O4r )r r r r � get_flags_opt s zNAGFCompiler.get_flags_optc C s$ | � � }|r|dk rdgS dgS d S )Nz5.1z-target=native� )�get_version)r �versionr r r �get_flags_arch s zNAGFCompiler.get_flags_archc C s dddddgS )Nz-gz-glinez-g90z-nanz-Cr )r r r r �get_flags_debug$ s zNAGFCompiler.get_flags_debugN)�__name__� __module__�__qualname__� compiler_type�description�version_pattern�executablesr r r r r r r r r s �__main__)�log� )� new_fcompilerr )�compiler)� __future__r r r r �numpy.distutils.fcompilerr � compilersr r � distutilsr&