관리-도구
편집 파일: mips.cpython-37.pyc
B ��Fd! � @ sx d dl mZmZmZ d dlmZ d dlmZ dgZG dd� de�Z e dkrtd dlmZ edd �Ze� � ee�� � d S )� )�division�absolute_import�print_function)�cpu)� FCompiler� MIPSFCompilerc @ sx e Zd ZdZdZdZddgddgdd gdgdd gddgd d�Zd Zd ZdgZ dd� Z dd� Zdd� Zdd� Z dd� Zd S )r �mipszMIPSpro Fortran Compilerz0MIPSpro Compilers: Version (?P<version>[^\s*,]*)z<F90>z-version�f77z-f77�f90z -fixedformz-shared�arz-crN)�version_cmd�compiler_f77�compiler_fix�compiler_f90� linker_so�archiver�ranlibz-KPICc C s | j dg S )Nz-n32)� pic_flags)�self� r �Q/opt/alt/python37/lib64/python3.7/site-packages/numpy/distutils/fcompiler/mips.py� get_flags s zMIPSFCompiler.get_flagsc C s dgS )Nz-O3r )r r r r � get_flags_opt s zMIPSFCompiler.get_flags_optc C s: g }x0d� � D ]$}ttd| �� r|�d| � P qW |S )Nz319 20 21 22_4k 22_5k 24 25 26 27 28 30 32_5k 32_10kzis_IP%sz-TARG:platform=IP%s)�split�getattrr �append)r �opt�ar r r �get_flags_arch s zMIPSFCompiler.get_flags_archc C s^ d }t �� rd}n6t �� r d}n(t �� r.d}nt �� r<d}nt �� rHd}|d k rZd| gS g S )Ni'