Hacked By AnonymousFox

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

�

�܋f2���dZddlZddlZddlZddlZddlmZmZmZddl	m
Z
ddlmZddl
mZddlmZd�Zee
d	e��	dd
�Zee
de��dS)
z>
unixccompiler - can handle very long argument lists for ar.

�N)�CompileError�DistutilsExecError�LibError)�
UnixCCompiler)�replace_method)�_commandline_dep_string)�logc��|j}|ddkr?d|vr|�d��d|vr|�d��|dgz
}||_dtjvr�ddlm}t
jt
jtjd����}	t
jt
j|d��d����}
t
j|j��}|	|vr/|�	|
|	��}t
j|��|_t
j|j
��}|	|vr!|j
t
j|	��z|_
tj�|jd���d|��}
t|d	d
��r	dd|d
zg}ng}	|�|j|z|d|gz|z|z|
���n1#t$r$}t!|��}t#|��d�d}~wwxYw|r}t$jdkrt)jddd|d
zg��t-|d
zd��5}|�t1|||����ddd��dS#1swxYwYdSdS)z9Compile a single source files with a Unix-style compiler.r�aCCz-Aez-Aaz-AA�OPT)�get_config_varsz: �
_auto_dependsFz-MMDz-MFz.dz-o��displayN�zos�chtagz-tc�IBM1047�a)�compiler_so�remove�os�environ�	sysconfigr
�shlex�join�split�replace�	linker_so�path�basename�getattr�spawnr�strr�sys�platform�
subprocess�check_output�open�writer)�self�obj�src�ext�cc_args�extra_postargs�pp_opts�ccompr
�opt�gcv_opt�ccomp_s�llink_sr�deps�e�msg�fs                  �p/builddir/build/BUILD/cloudlinux-venv-1.0.6/venv/lib64/python3.11/site-packages/numpy/distutils/unixccompiler.py�UnixCCompiler__compiler;s	��
��E��Q�x�5����E�>�>��L�L������E�>�>��L�L�����
�%���� �����
���-�-�-�-�-�-��j���R�Z��%6�7�7�8�8���*�U�[����)?�)?��)B�C�C�D�D���*�T�-�.�.���g����o�o�g�s�3�3�G�$�{�7�3�3�D���*�T�^�,�,���g���!�^�e�k�#�.>�.>�>�D�N��'�*�*�4�+;�A�+>�?�?�?�?���E�G��t�_�e�,�,����s�T�z�*�����*��
�
�4�#�g�-��d�C�0@�@�4�G�!�"�-4�	�	6�	6�	6�	6���*�*�*��!�f�f���3���T�)�����*����
�O��<�5� � ��#�W�e�Y��d�
�$K�L�L�L�
�#��*�c�
"�
"�	O�a�
�G�G�+�G�^�W�M�M�N�N�N�	O�	O�	O�	O�	O�	O�	O�	O�	O�	O�	O�	O����	O�	O�	O�	O�	O�	O�
O�Os*�(+G�
H�G=�=H�%I7�7I;�>I;�_compilec��|�||��\}}|�||���}|�||���rd	tj|��n#t
$rYnwxYw|�tj�|����||j	z}|rv|dd�}|dd�}dtj�
|jd��t|��|fz}|�
|j|gz|z|���|�v|jr�tj�
|jd���d|��}	|�
|j|gz|���nG#t$r$}	t!|	��}
t#|
��d�d}	~	wwxYwnt%jd|��dS)	a�
    Build a static library in a separate sub-process.

    Parameters
    ----------
    objects : list or tuple of str
        List of paths to object files used to build the static library.
    output_libname : str
        The library name as an absolute or relative (if `output_dir` is used)
        path.
    output_dir : str, optional
        The path to the output directory. Default is None, in which case
        the ``output_dir`` attribute of the UnixCCompiler instance.
    debug : bool, optional
        This parameter is not used.
    target_lang : str, optional
        This parameter is not used.

    Returns
    -------
    None

    )�
output_dirN�2z %s: adding %d object files to %srrz:@ zskipping %s (up-to-date))�_fix_object_args�library_filename�
_need_linkr�unlink�OSError�mkpathr�dirname�objectsr �archiver�lenr"�ranlibrr#rr	�debug)r*rG�output_libnamer>rK�target_lang�output_filename�tmp_objectsrr7r8s           r:�UnixCCompiler_create_static_librPIs��2�/�/���D�D��G�Z��)�)�.�Z�)�P�P�����w��0�0�"?�	�
�I�o�&�&�&�&���	�	�	��D�	�������B�G�O�O�O�4�4�5�5�5����,���	*�!�#�2�#�&�G�%�b�c�c�*�K�8��7�+�+�D�M�!�,<�=�=��w�<�<��<:�:�G�
�J�J�t�}��'8�8�7�B�!(�
�
*�
*�
*�
�	*��;�	.�#%�7�#3�#3�D�K��N�#C�#C�#C�#C�#2�?�4�G�
.��
�
�4�;�/�):�:�%,��.�.�.�.��%�
.�
.�
.��!�f�f���s�m�m��-�����
.����
	.�	�	�,�o�>�>�>�
�Fs*�	A�
A+�*A+� E:�:
F(�F#�#F(�create_static_lib)NrN)�__doc__rr$r&r�distutils.errorsrrr�distutils.unixccompilerr�numpy.distutils.ccompilerr�numpy.distutils.misc_utilr�numpy.distutilsr	r;rP��r:�<module>rZs����
�	�	�	�
�
�
�
���������G�G�G�G�G�G�G�G�G�G�1�1�1�1�1�1�4�4�4�4�4�4�=�=�=�=�=�=�������3O�3O�3O�j��}�j�*@�A�A�A�KO�A�A�A�A�F��}�1�.�0�0�0�0�0rY

Hacked By AnonymousFox1.0, Coded By AnonymousFox