[libcxx-commits] [libcxx] f13dff6 - [libc++] Try to fix the quoting of -isystem on Windows bots

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Wed Feb 9 07:08:17 PST 2022


Author: Louis Dionne
Date: 2022-02-09T10:08:12-05:00
New Revision: f13dff68d10e9c9b0f712b7bb721eab46a271e30

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

LOG: [libc++] Try to fix the quoting of -isystem on Windows bots

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 a20ee6f2a5b66..ef4e07c6fcfeb 100644
--- a/libcxx/utils/libcxx/test/config.py
+++ b/libcxx/utils/libcxx/test/config.py
@@ -308,8 +308,8 @@ def configure_compile_flags_header_includes(self):
         if triple is not None:
             cxx_target_headers = os.path.join(path, triple, cxx, version)
             if os.path.isdir(cxx_target_headers):
-                self.cxx.compile_flags += ['-isystem ' + cxx_target_headers]
-        self.cxx.compile_flags += ['-isystem ' + cxx_headers]
+                self.cxx.compile_flags += ['-isystem', cxx_target_headers]
+        self.cxx.compile_flags += ['-isystem', cxx_headers]
         if self.libcxx_obj_root is not None:
             cxxabi_headers = os.path.join(self.libcxx_obj_root, 'include',
                                           'c++build')


        


More information about the libcxx-commits mailing list