o
    >~#g)                     @   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   /var/www/static.ux5.de/https/Moving-Object-Detection-with-OpenCV/env/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    )
