o
    U=ºi\  ã                   @   sr   d dl mZ d dlmZ dgZG dd„ deƒZedkr7d dlmZ e 	d¡ d dl
mZ eed	d
� ¡ ƒ dS dS )é    )Úsimple_version_match)Ú	FCompilerÚSunFCompilerc                   @   s~   e Zd ZdZdZedd�Zddgdgddgdgg d	¢d
dgdgdœZdZdZ	dgZ
dd„ Zdd„ Zdd„ Zdd„ Zdd„ ZdS )r   Úsunz Sun or Forte Fortran 95 Compilerz(f9[05]: (Sun|Forte|WorkShop).*Fortran 95)Ústartú<F90>z-VZf90ú-fixed)r   z	-Bdynamicz-GÚarz-crÚranlib)Zversion_cmdZcompiler_f77Zcompiler_fixZcompiler_f90Ú	linker_soÚarchiverr
   z-moddir=z-Mz-xcode=pic32c                 C   s2   dg}|   ¡ pddkr| d¡ |S | d¡ |S )Nz-ftrap=%noneÚ Ú7z-f77r   )Úget_versionÚappend)ÚselfÚret© r   úcC:\Users\psant\Downloads\PAF backend\school\venv\Lib\site-packages\numpy/distutils/fcompiler/sun.pyÚget_flags_f77   s   

ÿzSunFCompiler.get_flags_f77c                 C   s   ddgS )Nz-fastz-dalignr   ©r   r   r   r   Úget_opt#   ó   zSunFCompiler.get_optc                 C   s   dgS )Nz-xtarget=genericr   r   r   r   r   Úget_arch%   s   zSunFCompiler.get_archc                 C   s   g }|  g d¢¡ |S )N)ZfsuZsunmathZmvec)Úextend)r   Úoptr   r   r   Úget_libraries'   s   zSunFCompiler.get_librariesc                 C   s   d| S )Nz-R%sr   )r   Údirr   r   r   Úruntime_library_dir_option,   r   z'SunFCompiler.runtime_library_dir_optionN)Ú__name__Ú
__module__Ú__qualname__Úcompiler_typeÚdescriptionr   Zversion_matchZexecutablesZmodule_dir_switchZmodule_include_switchZ	pic_flagsr   r   r   r   r   r   r   r   r   r      s,    ÿù	Ú__main__)Úlogé   )Úcustomized_fcompilerr   )ÚcompilerN)Znumpy.distutils.ccompilerr   Znumpy.distutils.fcompilerr   Z	compilersr   r   Ú	distutilsr%   Úset_verbosityZnumpy.distutilsr'   Úprintr   r   r   r   r   Ú<module>   s    )
ü