B { `G@sddlZddlZddlmZddlmZdgZejdksJejdddkrTe dGd ddeZ Gd ddeZ e d krdd l mZed ddlmZeedddS)N) FCompiler)DistutilsPlatformErrorCompaqFCompilerposixcygwinCompaqVisualFCompilerc@seZdZdZdZdZejdddkr,dZndZd d ged d ged gegd gd dgdgdZ dZ dZ ddZ ddZ ddZddZddZdS)rcompaqzCompaq Fortran Compilerz$Compaq Fortran (?P[^\s]*).*NlinuxZfortZf90zz-versionz-f77rtlz-fixedarz-crranlib) version_cmd compiler_f77 compiler_fix compiler_f90 linker_soarchiverr z-module z-IcCsddgS)Nz-assume no2underscorez-nomixed_str_len_arg)selfrrD/tmp/pip-unpacked-wheel-4iou4664/numpy/distutils/fcompiler/compaq.py get_flags(szCompaqFCompiler.get_flagscCsddgS)Nz-gz -check boundsr)rrrrget_flags_debug*szCompaqFCompiler.get_flags_debugcCsdddddgS)Nz-O4z-align dcommonsz-assume bigarraysz-assume nozsizez-math_library fastr)rrrr get_flags_opt,szCompaqFCompiler.get_flags_optcCsddgS)Nz -arch hostz -tune hostr)rrrrget_flags_arch/szCompaqFCompiler.get_flags_archcCs tjdddkrdgSddgS)Nr r z-sharedz-Wl,-expect_unresolved,*)sysplatform)rrrrget_flags_linker_so1sz#CompaqFCompiler.get_flags_linker_so)__name__ __module__ __qualname__ compiler_type descriptionversion_patternrrfc_exe executablesmodule_dir_switchmodule_include_switchrrrrrrrrrrs( c @seZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zejd kr2ddlmZyeZeejZ Wnek r|Ynek rZz deekredenWddZ[XYnzek rZzdeekredeeWddZ[XYn@ek r0Zz deekr edeeWddZ[XYnXddgeddgedgegdge dgddZddZ ddZ!d d!Z"d"d#Z#dS)$rZcompaqvz)DIGITAL or Compaq Visual Fortran CompilerzQ(DIGITAL|Compaq) Visual Fortran Optimizing Compiler Version (?P[^\s]*).*z /compile_onlyz/object:z/OUT:z.libz%s%sz/module:z/Izlib.exeZDFwin32r) MSVCCompilerZ_MSVCCompiler__rootz1Ignoring "%s" (I think it is msvccompiler.py bug)Nz vcvarsall.batzUnexpected IOError inz'path'zUnexpected ValueError inzz/whatz/f77rtlz/fixed)rrrrrrr cCsddddddgS)Nz/nologoz/MDz/WXz!/iface=(cref,nomixed_str_len_arg)z/names:lowercasez/assume:underscorer)rrrrrjszCompaqVisualFCompiler.get_flagscCsdddddgS)Nz/Oxz/fastz /optimize:5z /unroll:0z/math_library:fastr)rrrrrmsz#CompaqVisualFCompiler.get_flags_optcCsdgS)Nz/threadsr)rrrrrosz$CompaqVisualFCompiler.get_flags_archcCsdgS)Nz/debugr)rrrrrqsz%CompaqVisualFCompiler.get_flags_debug)$rrr r!r"r#Zcompile_switchZ object_switchZlibrary_switchZstatic_lib_extensionZstatic_lib_formatr&r'Zar_exer$rrZnumpy.distutils.msvccompilerr)mZ initializelibrAttributeErrorestrmsgprintIOError__file__ ValueErrorr%rrrrrrrrr6sV       __main__)log)customized_fcompilerr )compiler)osrZnumpy.distutils.fcompilerrdistutils.errorsrZ compilersnamerappendrrr distutilsr5 set_verbosityZnumpy.distutilsr7r0 get_versionrrrrs   &>