[libcxx-commits] [libcxx] 16f5ce5 - [libc++] Remove -ftemplate-depth when running tests

Louis Dionne via libcxx-commits libcxx-commits at lists.llvm.org
Fri May 15 11:21:40 PDT 2020


Author: Louis Dionne
Date: 2020-05-15T14:21:29-04:00
New Revision: 16f5ce5a74cac5e76001f66afd8f0f3bc118af3c

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

LOG: [libc++] Remove -ftemplate-depth when running tests

It doesn't appear to be needed anymore with the Clang on our build 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 a20206caff62..995d0e108f29 100644
--- a/libcxx/utils/libcxx/test/config.py
+++ b/libcxx/utils/libcxx/test/config.py
@@ -438,10 +438,6 @@ def configure_default_compile_flags(self):
             self.cxx.compile_flags += ['-I' + os.path.join(pstl_src_root, 'test')]
             self.config.available_features.add('parallel-algorithms')
 
-        # FIXME(EricWF): variant_size.pass.cpp requires a slightly larger
-        # template depth with older Clang versions.
-        self.cxx.addCompileFlagIfSupported('-ftemplate-depth=270')
-
     def configure_compile_flags_header_includes(self):
         support_path = os.path.join(self.libcxx_src_root, 'test', 'support')
         self.configure_config_site_header()


        


More information about the libcxx-commits mailing list