File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -107,8 +107,9 @@ def custom_build_cmake_clib(
107107 # in order to propagate both potential user-passed arguments and flags, such as:
108108 # CXX="ccache icpx"
109109 # CXX="icpx -O0"
110+ env_build = dict (os .environ )
110111 if cxx :
111- os . environ ["CXX" ] = cxx
112+ env_build ["CXX" ] = cxx
112113 cmake_args = [
113114 "cmake" ,
114115 cmake_generator ,
@@ -151,6 +152,6 @@ def custom_build_cmake_clib(
151152 abs_build_temp_path ,
152153 ]
153154
154- subprocess .check_call (cmake_args )
155- subprocess .check_call (make_args )
156- subprocess .check_call (make_install_args )
155+ subprocess .check_call (cmake_args , env = env_build )
156+ subprocess .check_call (make_args , env = env_build )
157+ subprocess .check_call (make_install_args , env = env_build )
You can’t perform that action at this time.
0 commit comments