B @`@sjddlZddlmZdgZGdddeZedkrfddlmZedddl m Z e e d d  dS) N) GnuFCompiler VastFCompilerc@sheZdZdZdZdZdZdZddgdgd d gd gd gd d gdgdZdZ dZ ddZ ddZ ddZ dS)rvastz+Pacific-Sierra Research Fortran 90 CompilerzM\s*Pacific-Sierra Research vf90 (Personal|Professional)\s+(?P[^\s]*)z= && function _mvfile { mv -v `basename $1` $1 ; } && _mvfile vf90z-vZg77f90z-Wv,-yazarz-crranlib)Z version_cmdZ compiler_f77Z compiler_fix compiler_f90 linker_soarchiverr NcCsdS)Nr)selfrrB/tmp/pip-unpacked-wheel-ecq9wray/numpy/distutils/fcompiler/vast.pyfind_executablesszVastFCompiler.find_executablescCs0|jd}tj|\}}tj|d|}|S)Nrv)r ospathsplitjoin)r rdbrrrrget_version_cmd!s zVastFCompiler.get_version_cmdcCs6|}t}|d||_t|}||_|S)N) get_versionrZ customizeversionget_flags_arch)r Z vast_versionZgnuoptrrrr's   zVastFCompiler.get_flags_arch)__name__ __module__ __qualname__ compiler_typeZcompiler_aliases descriptionZversion_patternZ object_switchZ executablesZmodule_dir_switchZmodule_include_switchrrrrrrrrs" __main__)log)customized_fcompilerr)compiler) rZnumpy.distutils.fcompiler.gnurZ compilersrr distutilsr" set_verbosityZnumpy.distutilsr$printrrrrrs )