?????????? ????????? - ??????????????? - /usr/lib64/python3.9/site-packages/numpy/distutils/tests/__pycache__/test_system_info.cpython-39.pyc
???????
a z[yc+ � @ s" d dl Z d dlZd dlZd dlmZmZ d dlmZmZ d dl m Z d dlmZm Z mZ d dlmZmZ d dlmZmZmZ d dlmZ d d lmZmZ d d lmZ ddd �ZdatadZdd� Ze� ZG dd� de�Z G dd� de �Z!G dd� de �Z"G dd� de �Z#G dd� d�Z$dd� Z%dS )� N)�mkstemp�mkdtemp)�Popen�PIPE)�DistutilsError)�assert_�assert_equal� assert_raises)� ccompiler�customized_ccompiler)�system_info�ConfigParser�mkl_info)�AliasedOptionError)�default_lib_dirs�default_include_dirs)�_shell_utils� c C s t ttd��| �� t�}|� S )zg notfound_action: 0 - do nothing 1 - display warning message 2 - raise error )�temp1�temp2�duplicate_options)� Temp1Info� Temp2Info�DuplicateOptionInfo�get�lower�_system_info)�nameZnotfound_actionZcl� r �L/usr/lib64/python3.9/site-packages/numpy/distutils/tests/test_system_info.py� get_class s ��r a� [ALL] library_dirs = {dir1:s}{pathsep:s}{dir2:s} libraries = {lib1:s},{lib2:s} extra_compile_args = -I/fake/directory -I"/path with/spaces" -Os runtime_library_dirs = {dir1:s} [temp1] library_dirs = {dir1:s} libraries = {lib1:s} runtime_library_dirs = {dir1:s} [temp2] library_dirs = {dir2:s} libraries = {lib2:s} extra_link_args = -Wl,-rpath={lib2_escaped:s} rpath = {dir2:s} [duplicate_options] mylib_libs = {lib1:s} libraries = {lib2:s} z� /* This file is generated from numpy/distutils/testing/test_system_info.py */ #include<stdio.h> void foo(void) { printf("Hello foo"); } void bar(void) { printf("Hello bar"); } c C s� t � } z | j}W nH tyX z| js.| �� W n ttfyJ Y Y dS 0 | jg}Y n0 z.t|t t d�}|j �� |j�� |� � W n ty� Y dS 0 dS )z? Return True if there appears to be an executable compiler F)�stdout�stderrT)r �compiler�AttributeErrorZinitializedZ initializer � ValueErrorZccr r r! �closer"