1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
U
O±d0 ã@s¤ddlZddlZddlmZddgZGdd„deƒZGdd„deƒZGdd„deƒZed    kr dd
l    m
Z
e
  d ¡dd l m Z e d dZee ¡ƒee ¡ƒdS)éN)Ú    FCompilerÚ NAGFCompilerÚNAGFORCompilerc@s0eZdZdZdd„Zdd„Zdd„Zdd    „Zd
S) ÚBaseNAGFCompilerz"NAG.* Release (?P<version>[^(\s]*)cCs$t |j|¡}|r| d¡SdSdS)NÚversion)ÚreÚsearchÚversion_patternÚgroup)ÚselfÚversion_stringÚm©rúTd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\numpy/distutils/fcompiler/nag.pyÚ version_match
s
zBaseNAGFCompiler.version_matchcCsdgS)Nz -Wl,-sharedr©r rrrÚget_flags_linker_sosz$BaseNAGFCompiler.get_flags_linker_socCsdgS)Nz-O4rrrrrÚ get_flags_optszBaseNAGFCompiler.get_flags_optcCsgS)NrrrrrÚget_flags_archszBaseNAGFCompiler.get_flags_archN)Ú__name__Ú
__module__Ú __qualname__r    rrrrrrrrrs
rc@sVeZdZdZdZddgddgddgdgdgddgd    gd
œZd d „Zd d„Zdd„ZdS)rZnagzNAGWare Fortran 95 Compilerz<F90>ú-VZf95ú-fixedÚarú-crÚranlib©Z version_cmdZ compiler_f77Z compiler_fixZ compiler_f90Ú    linker_soÚarchiverrcCstjdkrddgSt |¡S)NÚdarwinz -unsharedf95ú/-Wl,-bundle,-flat_namespace,-undefined,suppress©ÚsysÚplatformrrrrrrr's
z NAGFCompiler.get_flags_linker_socCs(| ¡}|r|dkrdgSt |¡SdS)Nz5.1z-target=native)Ú get_versionrr©r rrrrr+s zNAGFCompiler.get_flags_archcCsdddddgS)Nú-gz-glinez-g90ú-nanz-CrrrrrÚget_flags_debug1szNAGFCompiler.get_flags_debugN)    rrrÚ compiler_typeÚ descriptionÚ executablesrrr)rrrrrsù
c@sNeZdZdZdZddgddgddgdgdgddgdgdœZd    d
„Zd d „Zd S)rÚnagforzNAG Fortran CompilerrrrrrrcCstjdkrddgSt |¡S)Nr z -unsharedrtsr!r"rrrrrCs
 
ÿz"NAGFORCompiler.get_flags_linker_socCs:| ¡}|r(|dkr(dddddddd    gSdddddgSdS)
Nz6.1r'z-ur(z-C=allz -thread_safez -kind=uniquez-Warn=allocationz-Warn=subnormal)r%r&rrrr)Hs 
ÿzNAGFORCompiler.get_flags_debugN)rrrr*r+r,rr)rrrrr4sù
Ú__main__)Úlogé)Úcustomized_fcompilerr-)Úcompiler)r#rZnumpy.distutils.fcompilerrZ    compilersrrrrÚ    distutilsr/Ú set_verbosityZnumpy.distutilsr1r2Úprintr%r)rrrrÚ<module>s