a
    iÝEb5  ã                   @   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	   úa/home/ja/django-apps/lartica_env/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   
