1
2
3
4
5
6
7
8
9
10
11
U
O±dèã@sXddlmZddlmZdgZGdd„deƒZedkrTddlmZe    edd 
¡ƒd    S)
é)Úcpu)Ú    FCompilerÚ MIPSFCompilerc@sxeZdZdZdZdZddgddgdd    gdgdd
gd d gd dœZd Zd ZdgZ    dd„Z
dd„Z dd„Z dd„Z dd„Zd S)rÚmipszMIPSpro Fortran Compilerz0MIPSpro Compilers: Version (?P<version>[^\s*,]*)z<F90>z-versionZf77z-f77Zf90z
-fixedformz-sharedÚarz-crN)Z version_cmdZ compiler_f77Z compiler_fixZ compiler_f90Ú    linker_soÚarchiverZranlibz-KPICcCs |jdgS)Nz-n32)Ú    pic_flags©Úself©r úUd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\numpy/distutils/fcompiler/mips.pyÚ    get_flagsszMIPSFCompiler.get_flagscCsdgS)Nz-O3r r
r r r Ú get_flags_optszMIPSFCompiler.get_flags_optcCs8g}d ¡D]&}ttd|ƒƒr | d|¡q4q |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_archs  zMIPSFCompiler.get_flags_archcCs^d}t ¡rd}n6t ¡r d}n(t ¡r.d}nt ¡r<d}n t ¡rHd}|dk    rZd|gSgS)Ni'ià.i@iˆi zr%s)rZ    is_r10000Z    is_r12000Zis_r8000Zis_r5000Zis_r4000©r Úrr r r Úget_flags_arch_f77$s
z MIPSFCompiler.get_flags_arch_f77cCs | ¡}|rd|d|d<|S)Nú-r)rrr r r Úget_flags_arch_f90.sz MIPSFCompiler.get_flags_arch_f90)Ú__name__Ú
__module__Ú __qualname__Ú compiler_typeÚ descriptionZversion_patternZ executablesZmodule_dir_switchZmodule_include_switchr    rrrrrr r r r rs&ù    
Ú__main__)Úcustomized_fcompilerr)ÚcompilerN) Znumpy.distutils.cpuinforZnumpy.distutils.fcompilerrZ    compilersrrZnumpy.distutilsr!ÚprintÚ get_versionr r r r Ú<module>s  .