
    G/Ph)                         d dl mZ d dlmZ dgZ G d de          Zedk    rEd dlmZ  ej	        d           d dl
mZ  e ed	
                                                     dS dS )    )simple_version_match)	FCompilerSunFCompilerc                       e Zd ZdZdZ e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 Zd Zd Zd Z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                     dg}|                                  pddk    r|                    d           n|                    d           |S )Nz-ftrap=%none 7z-f77r   )get_versionappend)selfrets     ]/var/www/html/test/jupyter/venv/lib/python3.11/site-packages/numpy/distutils/fcompiler/sun.pyget_flags_f77zSunFCompiler.get_flags_f77   sR    $",,JJvJJx   
    c                 
    ddgS )Nz-fastz-dalign r   s    r   get_optzSunFCompiler.get_opt#   s    ##r   c                     dgS )Nz-xtarget=genericr   r    s    r   get_archzSunFCompiler.get_arch%   s    "##r   c                 8    g }|                     g d           |S )N)fsusunmathmvec)extend)r   opts     r   get_librarieszSunFCompiler.get_libraries'   s%    

---...
r   c                     d|z  S )Nz-R%sr   )r   dirs     r   runtime_library_dir_optionz'SunFCompiler.runtime_library_dir_option,   s    |r   N)__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        M4K )(GI I IM "4*555"
 
K #  I  $ $ $$ $ $  
    r   __main__)log   )customized_fcompilerr   )compilerN)numpy.distutils.ccompilerr   numpy.distutils.fcompilerr   	compilersr   r.   	distutilsr9   set_verbositynumpy.distutilsr;   printr   r   r   r   <module>rD      s    : : : : : : / / / / / /	' ' ' ' '9 ' ' 'R zCa444444	E


.
.
.
:
:
<
<=====	 r   