๓ 2ฤศ[c@`sึddlmZmZmZddlZddlmZddlmZm Z ddl m Z dgZ defd„ƒYZ edkrาdd lmZejd ƒdd lmZeed d ƒjƒƒndS(i(tdivisiontabsolute_importtprint_functionN(tcpu(t FCompilertdummy_fortran_file(t cyg2win32tAbsoftFCompilercB`s๑eZdZdZddZidd6dgd6dgd6dgd 6d gd 6d d gd6dgd6Zejdkr€dZ ndZ dZ d„Z d„Z d„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„ZRS(tabsoftsAbsoft Corp Fortran Compilers€(f90:.*?(Absoft Pro FORTRAN Version|FORTRAN 77 Compiler|Absoft Fortran Compiler Version|Copyright Absoft Corporation.*?Version))s' (?P[^\s*,]*)(.*?Absoft Corp|)t version_cmdtf77t compiler_f77tf90t compiler_fixt compiler_f90st linker_sotars-crtarchivertranlibtnts/out:s-pcC`s:ttƒƒ}ddd|dd|dg|jds-Vs-cs.fs-os.oR (RRt executables(tselftf((s?/tmp/pip-build-fiC0ax/numpy/numpy/distutils/fcompiler/absoft.pytupdate_executables1s cC`sItjdkrdg}n*|jƒdkr9dg}n ddg}|S(NRs/dlls9.0s-shareds-Ktshared(tostnamet get_version(Rtopt((s?/tmp/pip-build-fiC0ax/numpy/numpy/distutils/fcompiler/absoft.pytget_flags_linker_so6s    cC`s%tjdkrdd|gSd|S(NRs-links /PATH:"%s"s-L(RR(Rtdir((s?/tmp/pip-build-fiC0ax/numpy/numpy/distutils/fcompiler/absoft.pytlibrary_dir_optionCscC`stjdkrd|Sd|S(NRs%s.libs-l(RR(Rtlib((s?/tmp/pip-build-fiC0ax/numpy/numpy/distutils/fcompiler/absoft.pytlibrary_optionHscC`stj|ƒ}tjjdƒ}|rŒ|jƒdkrBd}nd}tjƒr]d}nd}|jtj j |d||fƒƒn|S(NtABSOFTs10.0tshtt64s%slib%s( Rtget_library_dirsRtenvirontgetRRtis_64bittappendtpathtjoin(RRtdtprefixtsuffix((s?/tmp/pip-build-fiC0ax/numpy/numpy/distutils/fcompiler/absoft.pyR&Ms   )cC`sีtj|ƒ}|jƒdkr=|jddddgƒnu|jƒdkrk|jddddgƒnG|jƒdkr™|jd d d dgƒn|jd d d dgƒtjd krั|jdƒn|S(Ns11.0taf90mathtafiotaf77mathtamiscs10.0tU77s8.0tf90mathtfiotf77mathtfmathRtCOMDLG32(Rt get_librariesRtextendRRR*(RR((s?/tmp/pip-build-fiC0ax/numpy/numpy/distutils/fcompiler/absoft.pyR:]scC`sftj|ƒ}tjdkrb|jdgƒ|jƒrb|jƒdkr_|jdƒq_qbn|S(NRs-ss8.2s-fpic(Rt get_flagsRRR;RR*(RR((s?/tmp/pip-build-fiC0ax/numpy/numpy/distutils/fcompiler/absoft.pyR<ks cC`sฎtj|ƒ}|jdddgƒ|jƒ}tjdkrk|rช|dkrช|jddgƒqชn?|jdƒ|rช|dkrš|jd ƒqช|jdƒn|S( Ns-N22s-N90s-N110Rs8.0s-fs-N15s4.6s-B108(Rt get_flags_f77R;RRRR*(RRtv((s?/tmp/pip-build-fiC0ax/numpy/numpy/distutils/fcompiler/absoft.pyR=ts   cC`sitj|ƒ}|jdddddddgƒ|jƒre|jƒdkre|jd gƒqen|S( Ns-YCFRL=1s-YCOM_NAMES=LCSs -YCOM_PFXs -YEXT_PFXs -YCOM_SFX=_s -YEXT_SFX=_s-YEXT_NAMES=LCSs4.6s -YDEALLOC=ALL(Rt get_flags_f90R;R(RR((s?/tmp/pip-build-fiC0ax/numpy/numpy/distutils/fcompiler/absoft.pyR?†s cC`sHtj|ƒ}|jdddddddgƒ|jdd gƒ|S( Ns-YCFRL=1s-YCOM_NAMES=LCSs -YCOM_PFXs -YEXT_PFXs -YCOM_SFX=_s -YEXT_SFX=_s-YEXT_NAMES=LCSs-ftfixed(Rt get_flags_fixR;(RR((s?/tmp/pip-build-fiC0ax/numpy/numpy/distutils/fcompiler/absoft.pyRAs cC`s dg}|S(Ns-O((RR((s?/tmp/pip-build-fiC0ax/numpy/numpy/distutils/fcompiler/absoft.pyt get_flags_opt–s N(t__name__t __module__t compiler_typet descriptiontversion_patterntNoneRRRtlibrary_switchtmodule_dir_switchtmodule_include_switchRRRR!R&R:R<R=R?RARB(((s?/tmp/pip-build-fiC0ax/numpy/numpy/distutils/fcompiler/absoft.pyRs6               t__main__(tlogi(tcustomized_fcompilertcompilerR(t __future__RRRRtnumpy.distutils.cpuinfoRtnumpy.distutils.fcompilerRRtnumpy.distutils.misc_utilRt compilersRRCt distutilsRMt set_verbositytnumpy.distutilsRNtprintR(((s?/tmp/pip-build-fiC0ax/numpy/numpy/distutils/fcompiler/absoft.pyts  ˆ