bg2dZddlZddlZddlZddlZddlmZmZmZddl m Z ddl m Z ddl mZddlmZdZe e d e d d Ze e d edS) z> unixccompiler - can handle very long argument lists for ar. N) CompileErrorDistutilsExecErrorLibError) UnixCCompiler)replace_method)_commandline_dep_string)logc |j}|ddkr?d|vr|dd|vr|d|dgz }||_dtjvrddlm}t jt jtjd} t jt j|dd} t j|j} | | vr/| | | } t j| |_t j|j } | | vr!|j t j| z|_ tj |jdd|} t|d d r d d |d zg}ng} ||j|z|d|gz|z|z| n1#t$r$}t!|}t#|dd}~wwxYw|r}t$jdkrt)jddd|d zgt-|d zd5}|t1|||ddddS#1swxYwYdSdS)z9Compile a single source files with a Unix-style compiler.raCCz-Aez-Aaz-AAOPT)get_config_varsz: _auto_dependsFz-MMDz-MFz.dz-odisplayNzoschtagz-tcIBM1047a) compiler_soremoveosenviron sysconfigr shlexjoinsplitreplace linker_sopathbasenamegetattrspawnrstrrsysplatform subprocess check_outputopenwriter)selfobjsrcextcc_argsextra_postargspp_optsccompr optgcv_optccomp_sllink_srdepsemsgfs p/builddir/build/BUILD/cloudlinux-venv-1.0.7/venv/lib64/python3.11/site-packages/numpy/distutils/unixccompiler.pyUnixCCompiler__compiler;s   E Qx5 E>> LL    E>> LL    %   ------jRZ%67788*U[)?)?)BCCDD*T-.. g  oogs33G${733D *T^,, g  !^ek#.>.>>DN'**4+;A+>????EGt_e,,sTz** 4#g-dC0@@4G!"-4  6 6 6 6 ***!ff3T)*  O <5  #WeYd $K L L L #*c " " Oa GG+G^WMM N N N O O O O O O O O O O O O O O O O O O OOs*(+G HG==H%I77I;>I;_compilec|||\}}|||}|||rd tj|n#t $rYnwxYw|tj|||j z}|rv|dd}|dd}dtj |j dt||fz}| |j |gz|z||v|jrtj |jdd|} | |j|gz|nG#t$r$} t!| } t#| dd} ~ 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_dirN2z %s: adding %d object files to %srrz:@ zskipping %s (up-to-date))_fix_object_argslibrary_filename _need_linkrunlinkOSErrormkpathrdirnameobjectsr archiverlenr"ranlibrr#rr debug) r*rGoutput_libnamer>rK target_langoutput_filename tmp_objectsrr7r8s r:UnixCCompiler_create_static_librPIs2//DDGZ)).Z)PP w00"?  Io & & & &    D  BGOOO44555 ,  *!#2#&G%bcc*K87++DM!,<==w<<<::G JJt}'887B!(  * * *  * ; .#%7#3#3DKN#C#C#C#C#2?4G . 4;/)::%,....% . . .!ffsmm- .  . ,o>>> Fs* A A+*A+ E:: F(F##F(create_static_lib)NrN)__doc__rr$r&rdistutils.errorsrrrdistutils.unixccompilerrnumpy.distutils.ccompilerrnumpy.distutils.misc_utilrnumpy.distutilsr r;rPr:rZs  GGGGGGGGGG111111444444======3O3O3Oj}j*@AAAKOA A A A F}1.00000rY