bgddlZddlmZddlmZmZgdZdZGddeZGdd eZ Gd d e Z Gd d e Z GddeZ Gdde Z Gdde ZedkrEddlmZejdddlmZeeddSdS)Nsimple_version_match) FCompilerdummy_fortran_file)IntelFCompilerIntelVisualFCompilerIntelItaniumFCompilerIntelItaniumVisualFCompilerIntelEM64VisualFCompilerIntelEM64TFCompilerc*td|dS)NzIntel.*?Fortran.*?(?:z ).*?Versionstartr)types r/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib64/python3.11/site-packages/numpy/distutils/fcompiler/intel.pyintel_version_matchr s  ttt&U V V VVceZdZdZdZdS)BaseIntelFCompilercPt}dddd|dzd|dzg|jd<dS) N-FIz-Vz-c.fz-o.o version_cmdr executablesselffs rupdate_executablesz%BaseIntelFCompiler.update_executabless;  +2E4+,t8T1t8+E'''rcd|vsJd|zS)N,z -Wl,-rpath=%srdirs rruntime_library_dir_optionz-BaseIntelFCompiler.runtime_library_dir_options#~~~~$$rN)__name__ __module__ __qualname__r!r'r$rrrrs5EEE %%%%%rrceZdZdZdZdZedZddgZdgddgdd gd d gd d gdgdZ dgZ dZ dZ dZ dZdZdZdZdS)rintel)ifortz&Intel Fortran Compiler for 32-bit apps 32-bit|IA-32r-ifcN)Nz-72-w90-w95r-sharedar-crranlib)r compiler_f77 compiler_f90 compiler_fix linker_soarchiverr6-fPICz-module z-IcdgS)Nz-FRr$rs rget_flags_freezIntelFCompiler.get_flags_free5s wrcdgS)Nr<r$r>s r get_flagszIntelFCompiler.get_flags8s yrcx|}|r|dkrdnd}dddddd |gS) N15openmpqopenmpz -fp-modelstrictz-O1z-assumeminus0z-{}) get_versionformat)rvmpopts r get_flags_optzIntelFCompiler.get_flags_opt;sM     9!d(( Xu8U\\%%8%8: :rcgSNr$r>s rget_flags_archzIntelFCompiler.get_flags_archA rc>tj|}|}|r|dkr|dtjdkrG |d}|dn#t$rd}YnwxYwddg|||<|S)Nz8.0z -nofor_maindarwinr3rz -dynamiclibz-Wl,-undefined,dynamic_lookup) rget_flags_linker_sorHappendsysplatformindexremove ValueError)roptrJidxs rrSz"IntelFCompiler.get_flags_linker_soDs+D11       &e JJ} % % % <8 # # ii ** 9%%%%    )+JKCCL s*B BB)r(r)r* compiler_typecompiler_aliases descriptionr version_matchpossible_executablesr pic_flagsmodule_dir_switchmodule_include_switchr?rArLrOrSr$rrrrsM!:K''77M#U+666!9-"  K I" :::      rrc`eZdZdZdZdZedZgdZdgdddgdgd d gd d gd gdZ dS)r inteler$z'Intel Fortran Compiler for Itanium appsz Itanium|IA-64r-efortefcNNrr0r1rr2r3r4r5r6rr7r9r8r:r;r6 r(r)r*r\r]r^rr_r`rr$rrr r TstM;K''88M444666!9-"  KKKrr c`eZdZdZdZdZedZgdZdddgddgdgdd gd d gd gd Z dS)r intelemr$z&Intel Fortran Compiler for 64-bit appsz)EM64T-based|Intel\(R\) 64|64|IA-64|64-bitrfNrr2r3r4r5r6rjrkr$rrr r hssM:K''(UVVM444!9-"  KKKrr ceZdZdZdZedZdZdZddgZ ddgdgdgdged d gdd Z d Z d Z d Z dZdZdZdZdZdZdZdZdS)rintelvz-Intel Visual Fortran Compiler for 32-bit appsr.cNt}ddd|dzd|dzg|jd<dS)Nrz/FIz/crz/orrrrs rr!z'IntelVisualFCompiler.update_executabless9  +2E4+,t8T1t8+E'''rzlib.exer-iflN/verbose/OUT:rjz/c z/Foz/module:z/Icgd}|S)N)z/nologoz/MDz/nbsz/names:lowercasez/assume:underscorez/fppr$)rrZs rrAzIntelVisualFCompiler.get_flagss--- rcgSrNr$r>s rr?z#IntelVisualFCompiler.get_flags_freerPrc ddgS)Nz/4Ybz/d2r$r>s rget_flags_debugz$IntelVisualFCompiler.get_flags_debugs rc ddgS)Nz/O1z/assume:minus0r$r>s rrLz"IntelVisualFCompiler.get_flags_opts'((rc ddgS)Nz /arch:IA32z/QaxSSE3r$r>s rrOz#IntelVisualFCompiler.get_flags_archs j))rctrN)NotImplementedErrorr%s rr'z/IntelVisualFCompiler.runtime_library_dir_options!!r)r(r)r*r\r^rr_r!ar_exer`rcompile_switch object_switchlibrary_switchrbrcrAr?rwrLrOr'r$rrrrsMAK''77MEEE F#U+ *g6  KNMN"  )))***"""""rrcheZdZdZdZedZdgZej Z dgdgddgdd ge d d gdd Z dS) r intelevz.Intel Visual Fortran Compiler for Itanium appsItaniumeflNri)Nrz-4L72z-wr2r3rrrsrj) r(r)r*r\r^rr_r`rr|rr$rrr r suMBK'' 22M!7 ! (F666555!9- *g6  KKKrr c4eZdZdZdZedZdZdS)r intelvemz-Intel Visual Fortran Compiler for 64-bit appszIntel\(R\).*?64,rcgSrNr$r>s rrOz'IntelEM64VisualFCompiler.get_flags_archrPrN)r(r)r*r\r^rr_rOr$rrr r sAMAK((/BCCCMrr __main__)log)customized_fcompilerr,)compiler)rUnumpy.distutils.ccompilerrnumpy.distutils.fcompilerrr compilersrrrr r rr r r( distutilsr set_verbositynumpy.distutilsrprintrHr$rrrs ::::::CCCCCCCC @ @ @ WWW % % % % % % % %33333'333l     N   (     .   ./"/"/"/"/"-/"/"/"d     "6   (3 zCa444444 E   0 0 0 < < > >????? r