[libcxx-commits] [libcxx] 3d9e6c4 - [libc++] Use env to set the tool's environment on Darwin

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Tue Mar 17 12:41:50 PDT 2020


Author: Louis Dionne
Date: 2020-03-17T15:40:51-04:00
New Revision: 3d9e6c42f8cc3c6897b558eacb9abd1055f5ccbe

URL: https://github.com/llvm/llvm-project/commit/3d9e6c42f8cc3c6897b558eacb9abd1055f5ccbe
DIFF: https://github.com/llvm/llvm-project/commit/3d9e6c42f8cc3c6897b558eacb9abd1055f5ccbe.diff

LOG: [libc++] Use env to set the tool's environment on Darwin

Added: 
    

Modified: 
    libcxx/utils/libcxx/test/config.py

Removed: 
    


################################################################################
diff  --git a/libcxx/utils/libcxx/test/config.py b/libcxx/utils/libcxx/test/config.py
index 215faf2368c9..e9a26949f00d 100644
--- a/libcxx/utils/libcxx/test/config.py
+++ b/libcxx/utils/libcxx/test/config.py
@@ -1043,7 +1043,7 @@ def configure_substitutions(self):
         if self.target_info.is_darwin():
             # Do not pass DYLD_LIBRARY_PATH to the compiler, linker, etc. as
             # these tools are not meant to exercise the just-built libraries.
-            tool_env += 'DYLD_LIBRARY_PATH="" '
+            tool_env += 'env DYLD_LIBRARY_PATH="" '
 
         sub = self.config.substitutions
         cxx_path = tool_env + pipes.quote(self.cxx.path)


        


More information about the libcxx-commits mailing list