Hacked By AnonymousFox
�
�܋f* � � � d dl Z d dlmZmZ d dl mZ d dlmZmZmZ dgZ d dl
Z
G d� de� � Zedk rEd dl
mZ ej d � � d d
lmZ e ed�� � � � � � � dS dS )
� N)� FCompiler�dummy_fortran_file)�platform)�join�dirname�normpath�ArmFlangCompilerc � � e Zd ZdZdZdZdZdgZddgddgg d �ddgg d
�ddgd
d�ZddgZ dZ
dZd� Z e
j d�� � d� � � Zd� Zd� Zd� Zd� Zd� Zd� Zd
S )r �armzArm Compilerz&\s*Arm.*version (?P<version>[\d.-]+).*zlib.exe�armflang� z --version�-fPIC)r r z-ffixed-form)r r z-shared�arz-crN)�version_cmd�compiler_f77�compiler_fix�compiler_f90� linker_so�archiver�ranlibz-DPICz-module c �\ � t j | � � }|� g d�� � |S )N)�flang�flangrti�ompstub)r �
get_libraries�extend)�self�opts �p/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/distutils/fcompiler/arm.pyr zArmFlangCompiler.get_libraries! s0 � ��%�d�+�+���
�
�3�3�3�4�4�4��
� � )�maxsizec �� � t j | � � }t | j d d � � }|� t t
|dd� � � � � � |S )z%List of compiler library directories.r r z..�lib)r �get_library_dirsr �executables�appendr r )r r � flang_dirs r r% z!ArmFlangCompiler.get_library_dirs&