a
    p=ic5                     @   sd   d Z ddlmZ dgZG dd deZedkr`ddlmZ ddlm	Z	 e
d ee	d	  d
S )zt
fujitsu

Supports Fujitsu compiler function.
This compiler is developed by Fujitsu and is used in A64FX on Fugaku.
    )	FCompilerFujitsuFCompilerc                   @   sx   e Zd ZdZdZdgZdZddgddgddgdgddgd	d
gdgdZdgZdZ	dZ
dd Zdd Zdd Zdd ZdS )r   fujitsuzFujitsu Fortran CompilerZfrtz"frt \(FRT\) (?P<version>[a-z\d.]+)z<F77>z	--versionz-Fixedz-sharedarz-crranlib)Zversion_cmdZcompiler_f77Zcompiler_fixZcompiler_f90	linker_soarchiverr   z-KPICz-Mz-Ic                 C   s   dgS )Nz-O3 selfr	   r	   r/home/droni/.local/share/virtualenvs/DPS-5Je3_V2c/lib/python3.9/site-packages/numpy/distutils/fcompiler/fujitsu.pyget_flags_opt!   s    zFujitsuFCompiler.get_flags_optc                 C   s   dgS )Nz-gr	   r
   r	   r	   r   get_flags_debug#   s    z FujitsuFCompiler.get_flags_debugc                 C   s
   d| S )Nz-Wl,-rpath=r	   )r   dirr	   r	   r   runtime_library_dir_option%   s    z+FujitsuFCompiler.runtime_library_dir_optionc                 C   s   g dS )N)Zfj90fZfj90iZ	fjsrcinfor	   r
   r	   r	   r   get_libraries'   s    zFujitsuFCompiler.get_librariesN)__name__
__module____qualname__compiler_typedescriptionZpossible_executablesZversion_patternZexecutablesZ	pic_flagsZmodule_dir_switchZmodule_include_switchr   r   r   r   r	   r	   r	   r   r      s&   	__main__)log)customized_fcompiler   r   N)__doc__Znumpy.distutils.fcompilerr   Z	compilersr   r   	distutilsr   Znumpy.distutilsr   set_verbosityprintget_versionr	   r	   r	   r   <module>   s   
