o
    >~#g                     @   s\   d dl mZ d dlmZ dgZG dd deZedkr,d dlmZ e	edd
  d	S d	S )
    )cpu)	FCompilerMIPSFCompilerc                   @   sx   e Zd ZdZdZdZddgddgdd	gdgdd
gddgd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   mipszMIPSpro Fortran Compilerz0MIPSpro Compilers: Version (?P<version>[^\s*,]*)z<F90>z-versionf77z-f77f90z
-fixedformz-sharedarz-crN)version_cmdcompiler_f77compiler_fixcompiler_f90	linker_soarchiverranlibz-KPICc                 C   s   | j dg S )Nz-n32)	pic_flagsself r   /var/www/static.ux5.de/https/Moving-Object-Detection-with-OpenCV/env/lib/python3.10/site-packages/numpy/distutils/fcompiler/mips.py	get_flags   s   zMIPSFCompiler.get_flagsc                 C   s   dgS )Nz-O3r   r   r   r   r   get_flags_opt   s   zMIPSFCompiler.get_flags_optc                 C   s:   g }d  D ]}ttd|  r|d|   |S q|S )Nz319 20 21 22_4k 22_5k 24 25 26 27 28 30 32_5k 32_10kzis_IP%sz-TARG:platform=IP%s)splitgetattrr   append)r   optar   r   r   get_flags_arch   s   zMIPSFCompiler.get_flags_archc                 C   s^   d }t  r	d}nt  rd}nt  rd}nt  rd}nt  r$d}|d ur-d| gS g S )Ni'  i.  i@  i  i  zr%s)r   	is_r10000	is_r12000is_r8000is_r5000is_r4000r   rr   r   r   get_flags_arch_f77$   s   
z MIPSFCompiler.get_flags_arch_f77c                 C   s    |   }|rd|d  |d< |S )N-r   )r$   r"   r   r   r   get_flags_arch_f90.   s   z MIPSFCompiler.get_flags_arch_f90)__name__
__module____qualname__compiler_typedescriptionversion_patternexecutablesmodule_dir_switchmodule_include_switchr   r   r   r   r$   r&   r   r   r   r   r      s(    	
__main__)customized_fcompilerr   )compilerN)numpy.distutils.cpuinfor   numpy.distutils.fcompilerr   	compilersr   r'   numpy.distutilsr1   printget_versionr   r   r   r   <module>   s    .