B <ÓFdÇã@sPddlmZmZmZddlZddlmZddlm Z dd„Z Gdd „d eƒZdS) é)ÚdivisionÚabsolute_importÚprint_functionN)Ú MSVCCompileré)Ú platform_bitscCs"||kr |S|s|Sd ||g¡S)aÒConcatenate two environment paths avoiding repeats. Here `old` is the environment string before the base class initialize function is called and `new` is the string after the call. The new string will be a fixed string if it is not obtained from the current enviroment, or the same as the old string if obtained from the same enviroment. The aim here is not to append the new string if it is already contained in the old string so as to limit the growth of the environment string. Parameters ---------- old : string Previous enviroment string. new : string New environment string. Returns ------- ret : string Updated environment string. ú;)Újoin)ÚoldÚnew©r úO/opt/alt/python37/lib64/python3.7/site-packages/numpy/distutils/msvccompiler.pyÚ_merge s rc@seZdZddd„Zdd„ZdS)rrcCst ||||¡dS)N)Ú _MSVCCompilerÚ__init__)ÚselfÚverboseZdry_runÚforcer r r r*szMSVCCompiler.__init__cCszt dd¡}t dd¡}t |¡t|tjdƒtjd<t|tjdƒtjd<tdkrv|jdg7_|jdg7_dS)NÚlibÚZincludeé z /arch:SSE2) ÚosÚgetenvrÚ initializerÚenvironrZcompile_optionsZcompile_options_debug)rZ environ_libZenviron_includer r r r-s   zMSVCCompiler.initializeN)rrr)Ú__name__Ú __module__Ú __qualname__rrr r r r r)s r) Z __future__rrrrZdistutils.msvccompilerrrZ system_inforrr r r r Ús