U C^ @sddlmZmZmZddlZddlZddlmZddlm Z ddl m Z dgZ ej dksjejddd krte d Gd ddeZGd d d eZed krddlmZedddlmZeedddS))divisionabsolute_importprint_functionN) FCompiler) get_exception)DistutilsPlatformErrorCompaqFCompilerposixcygwinCompaqVisualFCompilerc@seZdZdZdZdZejdddkr,dZndZd d ged d ged gegd gd dgdgdZ dZ dZ ddZ ddZ ddZddZddZdS)rcompaqzCompaq Fortran Compilerz$Compaq Fortran (?P[^\s]*).*NlinuxZfortZf90z-versionz-f77rtlz-fixedarz-crranlibZ version_cmdZ compiler_f77Z compiler_fixZ compiler_f90 linker_soarchiverrz-module z-IcCsddgS)Nz-assume no2underscorez-nomixed_str_len_argselfrrC/tmp/pip-install-6_kvzl1k/numpy/numpy/distutils/fcompiler/compaq.py get_flags+szCompaqFCompiler.get_flagscCsddgS)Nz-gz -check boundsrrrrrget_flags_debug-szCompaqFCompiler.get_flags_debugcCsdddddgS)Nz-O4z-align dcommonsz-assume bigarraysz-assume nozsizez-math_library fastrrrrr get_flags_opt/szCompaqFCompiler.get_flags_optcCsddgS)Nz -arch hostz -tune hostrrrrrget_flags_arch2szCompaqFCompiler.get_flags_archcCs tjdddkrdgSddgS)Nrrz-sharedz-Wl,-expect_unresolved,*)sysplatformrrrrget_flags_linker_so4sz#CompaqFCompiler.get_flags_linker_so)__name__ __module__ __qualname__ compiler_type descriptionversion_patternrrfc_exe executablesmodule_dir_switchmodule_include_switchrrrrr rrrrrs* c@sheZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z d Zejd krddlmZzeZeejZ Wnek r|Ynek reZdeekredenYnjek reZdeekredeeYn8ek reZdeekredeeYnXddgeddgedgegdge dgddZ ddZ!ddZ"d d!Z#d"d#Z$dS)$r Zcompaqvz)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)z vcvarsall.batzUnexpected IOError inz'path'zUnexpected ValueError inrz/whatz/f77rtlz/fixedNrcCsddddddgS)Nz/nologoz/MDz/WXz!/iface=(cref,nomixed_str_len_arg)z/names:lowercasez/assume:underscorerrrrrrpszCompaqVisualFCompiler.get_flagscCsdddddgS)Nz/Oxz/fastz /optimize:5z /unroll:0z/math_library:fastrrrrrrssz#CompaqVisualFCompiler.get_flags_optcCsdgS)Nz/threadsrrrrrrusz$CompaqVisualFCompiler.get_flags_archcCsdgS)Nz/debugrrrrrrwsz%CompaqVisualFCompiler.get_flags_debug)%r!r"r#r$r%r&Zcompile_switchZ object_switchZlibrary_switchZstatic_lib_extensionZstatic_lib_formatr)r*Zar_exer'rrZnumpy.distutils.msvccompilerr,mZ initializelibrAttributeErrorrmsgstrprintIOErrore__file__ ValueErrorr(rrrrrrrrr 9s^         __main__)log)customized_fcompilerr )compiler) __future__rrrosrZnumpy.distutils.fcompilerrZnumpy.distutils.compatrdistutils.errorsrZ compilersnamerappendrr r! distutilsr8 set_verbosityZnumpy.distutilsr:r2 get_versionrrrrs    &A