zmc
2023-08-08 e792e9a60d958b93aef96050644f369feb25d61b
1
2
3
4
5
6
7
8
9
10
11
U
O±d\ã@snddlmZddlmZdgZGdd„deƒZedkrjddlmZe     d¡ddl
m Z e e d    d
  ¡ƒd S) é)Úsimple_version_match)Ú    FCompilerÚ SunFCompilerc@s€eZdZdZdZeddZddgdgddgdgdd    d
gd d gd gdœZdZdZ    dgZ
dd„Z dd„Z dd„Z dd„Zdd„ZdS)rÚsunz Sun or Forte Fortran 95 Compilerz(f9[05]: (Sun|Forte|WorkShop).*Fortran 95)Ústartz<F90>z-VZf90ú-fixedz    -Bdynamicz-GÚarz-crÚranlib)Z version_cmdZ compiler_f77Z compiler_fixZ compiler_f90Ú    linker_soÚarchiverr    z-moddir=z-Mz -xcode=pic32cCs0dg}| ¡pddkr"| d¡n
| d¡|S)Nz -ftrap=%noneÚÚ7z-f77r)Ú get_versionÚappend)ÚselfÚret©rúTd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\numpy/distutils/fcompiler/sun.pyÚ get_flags_f77s
 
zSunFCompiler.get_flags_f77cCsddgS)Nz-fastz-dalignr©rrrrÚget_opt#szSunFCompiler.get_optcCsdgS)Nz-xtarget=genericrrrrrÚget_arch%szSunFCompiler.get_archcCsg}| dddg¡|S)NZfsuZsunmathZmvec)Úextend)rÚoptrrrÚ get_libraries'szSunFCompiler.get_librariescCsd|S)Nz-R%sr)rÚdirrrrÚruntime_library_dir_option,sz'SunFCompiler.runtime_library_dir_optionN)Ú__name__Ú
__module__Ú __qualname__Ú compiler_typeÚ descriptionrZ version_matchZ executablesZmodule_dir_switchZmodule_include_switchZ    pic_flagsrrrrrrrrrrs*ÿù    Ú__main__)Úlogé)Úcustomized_fcompilerr)ÚcompilerN)Znumpy.distutils.ccompilerrZnumpy.distutils.fcompilerrZ    compilersrrÚ    distutilsr#Ú set_verbosityZnumpy.distutilsr%ÚprintrrrrrÚ<module>s  )