o
    Ô­j5  ã                   @   sh   d Z ddlmZ dgZG dd„ deƒZedkr2ddlmZ ddlm	Z	 e 
d¡ ee	d	ƒ ¡ ƒ d
S 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 CompilerÚfrtz"frt \(FRT\) (?P<version>[a-z\d.]+)z<F77>z	--versionz-Fixedz-sharedÚarz-crÚranlib)Úversion_cmdÚcompiler_f77Úcompiler_fixÚcompiler_f90Ú	linker_soÚarchiverr   z-KPICz-Mz-Ic                 C   ó   dgS )Nz-O3© ©Úselfr   r   ú^/var/www/html/CropPilot/venv/lib/python3.10/site-packages/numpy/distutils/fcompiler/fujitsu.pyÚget_flags_opt!   ó   zFujitsuFCompiler.get_flags_optc                 C   r   )Nz-gr   r   r   r   r   Úget_flags_debug#   r   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)Úfj90fÚfj90iÚ	fjsrcinfor   r   r   r   r   Úget_libraries'   s   zFujitsuFCompiler.get_librariesN)Ú__name__Ú
__module__Ú__qualname__Úcompiler_typeÚdescriptionÚpossible_executablesÚversion_patternÚexecutablesÚ	pic_flagsÚmodule_dir_switchÚmodule_include_switchr   r   r   r   r   r   r   r   r      s(    ù	Ú__main__)Úlog)Úcustomized_fcompileré   r   N)Ú__doc__Únumpy.distutils.fcompilerr   Ú	compilersr   r   Ú	distutilsr(   Únumpy.distutilsr)   Úset_verbosityÚprintÚget_versionr   r   r   r   Ú<module>   s    
ü