Hacked By AnonymousFox

Current Path : /opt/cloudlinux/venv/lib64/python3.11/site-packages/numpy/distutils/fcompiler/__pycache__/
Upload File :
Current File : //opt/cloudlinux/venv/lib64/python3.11/site-packages/numpy/distutils/fcompiler/__pycache__/absoft.cpython-311.pyc

�

�܋f�����ddlZddlmZddlmZmZddlmZdgZGd�de��Z	e
dkrEddlmZej
d	��dd
lmZeed��������dSdS)
�N)�cpu)�	FCompiler�dummy_fortran_file)�	cyg2win32�AbsoftFCompilerc��eZdZdZdZdZddgdgdgdgdd	gd
gd�Zejdkrd
Z	dZ
dZd�Zd�Z
d�Zd�Zd�Zd�Zd�Zd�Zd�Zd�Zd�ZdS)r�absoftzAbsoft Corp Fortran Compilerz�(f90:.*?(Absoft Pro FORTRAN Version|FORTRAN 77 Compiler|Absoft Fortran Compiler Version|Copyright Absoft Corporation.*?Version)) (?P<version>[^\s*,]*)(.*?Absoft Corp|)N�f77�f90�<F90>�arz-cr�ranlib)�version_cmd�compiler_f77�compiler_fix�compiler_f90�	linker_so�archiverr�ntz/out:z-pc�h�tt����}ddd|dzd|dzg|jd<dS)Nrz-Vz-cz.fz-oz.or)rr�executables)�self�fs  �s/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/distutils/fcompiler/absoft.py�update_executablesz"AbsoftFCompiler.update_executables/sB���(�*�*�+�+��+2�D�$�+,�T�6�4��4��+A����'�'�'�c�n�tjdkrdg}n |���dkrdg}nddg}|S)Nrz/dllz9.0z-sharedz-K�shared)�os�name�get_version�r�opts  r�get_flags_linker_soz#AbsoftFCompiler.get_flags_linker_so4sG��
�7�D�=�=��(�C�C�
�
�
�
�
�5�
(�
(��+�C�C���"�C��
rc�:�tjdkrdd|zgSd|zS)Nrz-linkz/PATH:%sz-L�rr )r�dirs  r�library_dir_optionz"AbsoftFCompiler.library_dir_optionAs'��
�7�D�=�=��Z�3�/�0�0��c�z�rc�6�tjdkrd|zSd|zS)Nrz%s.libz-lr&)r�libs  r�library_optionzAbsoftFCompiler.library_optionFs"��
�7�D�=�=��s�#�#��c�z�rc�J�tj|��}tj�d��}|rm|���dkrd}nd}t
j��rd}nd}|�tj	�
||�d|������|S)N�ABSOFT�10.0�sh��64r*)r�get_library_dirsr�environ�getr!r�is_64bit�append�path�join)rr#�d�prefix�suffixs     rr2z AbsoftFCompiler.get_library_dirsKs����(��.�.���J�N�N�8�$�$���
	F����!�!�V�+�+�������|�~�~�
�������J�J�r�w�|�|�A�F�F�F�F�F�'C�D�D�E�E�E��
rc���tj|��}|���dkr|�gd���nw|���dkr|�gd���nG|���dkr|�gd���n|�gd���tjdkr|�d	��|S)
Nz11.0)�af90math�afio�af77math�amiscr.)r=r>r?�U77�8.0)�f90math�fio�f77mathrA)rDrC�fmathrAr�COMDLG32)r�
get_librariesr!�extendrr r6r"s  rrHzAbsoftFCompiler.get_libraries[s����%�d�+�+��������'�'��J�J�@�@�@�A�A�A�A�
�
�
�
�
�6�
)�
)��J�J�>�>�>�?�?�?�?�
�
�
�
�
�5�
(�
(��J�J�;�;�;�<�<�<�<��J�J�9�9�9�:�:�:�
�7�T�>�>��J�J�z�"�"�"��
rc��tj|��}tjdkrW|�dg��|���r-|���dkr|�d��|S)Nrz-sz8.2z-fpic)r�	get_flagsrr rIr!r6r"s  rrKzAbsoftFCompiler.get_flagsiss���!�$�'�'��
�7�d�?�?��J�J��v�������!�!�
(��#�#�%�%�u�,�,��J�J�w�'�'�'��
rc�t�tj|��}|�gd���|���}tjdkr |r|dkr|�ddg��nH|�d��|r1|dkr|�d��n|�d��|S)N)z-N22z-N90z-N110rrB�-fz-N15�4.6z-B108)r�
get_flags_f77rIr!rr r6)rr#�vs   rrOzAbsoftFCompiler.get_flags_f77rs����%�d�+�+���
�
�,�,�,�-�-�-�������
�7�d�?�?��
+�Q��X�X��
�
�D�&�>�*�*�*���J�J�t�����
'��e�8�8��J�J�w�'�'�'�'��J�J�v�&�&�&��
rc���tj|��}|�gd���|���r.|���dkr|�dg��|S)N�z-YCFRL=1z-YCOM_NAMES=LCSz	-YCOM_PFXz	-YEXT_PFXz-YCOM_SFX=_z-YEXT_SFX=_z-YEXT_NAMES=LCSrNz
-YDEALLOC=ALL)r�
get_flags_f90rIr!r"s  rrSzAbsoftFCompiler.get_flags_f90�s����%�d�+�+���
�
�E�E�E�	F�	F�	F������	.����!�!�%�'�'��
�
�O�,�-�-�-��
rc��tj|��}|�gd���|�ddg��|S)NrRrM�fixed)r�
get_flags_fixrIr"s  rrVzAbsoftFCompiler.get_flags_fix�sX���%�d�+�+���
�
�E�E�E�	F�	F�	F��
�
�D�'�?�#�#�#��
rc��dg}|S)Nz-O�r"s  r�
get_flags_optzAbsoftFCompiler.get_flags_opt�s���f���
r)�__name__�
__module__�__qualname__�
compiler_type�description�version_patternrrr �library_switch�module_dir_switch�module_include_switchrr$r(r+r2rHrKrOrSrVrYrXrrrrs�������M�0�K�B�O��������!�����"��
�
�K�
�w��}�}� ���� ��A�A�A�
������
���
��� ���������$����������r�__main__)�log�)�customized_fcompilerr	)�compiler)r�numpy.distutils.cpuinfor�numpy.distutils.fcompilerrr�numpy.distutils.misc_utilr�	compilersrrZ�	distutilsrd�
set_verbosity�numpy.distutilsrf�printr!rXrr�<module>rps��
�	�	�	�'�'�'�'�'�'�C�C�C�C�C�C�C�C�/�/�/�/�/�/�
��	�F�F�F�F�F�i�F�F�F�P�z����������C��a����4�4�4�4�4�4�	�E�
�
��
1�
1�
1�
=�
=�
?�
?�@�@�@�@�@�	�r

Hacked By AnonymousFox1.0, Coded By AnonymousFox