o
    Ô­j)  ã                   @   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-VÚf90ú-fixed)r   z	-Bdynamicz-GÚarz-crÚranlib)Úversion_cmdÚcompiler_f77Úcompiler_fixÚ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   úZ/var/www/html/CropPilot/venv/lib/python3.10/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)ÚfsuÚsunmathÚ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   Úversion_matchÚexecutablesÚmodule_dir_switchÚmodule_include_switchÚ	pic_flagsr   r   r   r$   r&   r   r   r   r   r      s,    ÿù	Ú__main__)Úlogé   )Úcustomized_fcompilerr   )ÚcompilerN)Únumpy.distutils.ccompilerr   Únumpy.distutils.fcompilerr   Ú	compilersr   r'   Ú	distutilsr2   Úset_verbosityÚnumpy.distutilsr4   Úprintr   r   r   r   r   Ú<module>   s    )
ü