[compiler-rt] 5176df5 - [CompilerRT] Attempt to fix a lit-config issue

Jeremy Morse via llvm-commits llvm-commits at lists.llvm.org
Tue Jan 23 08:59:20 PST 2024


Author: Jeremy Morse
Date: 2024-01-23T16:58:31Z
New Revision: 5176df55d3afcbecd6e6c42176fa7175897f0016

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

LOG: [CompilerRT] Attempt to fix a lit-config issue

This is a follow-up to 3112578597c03 -- it looks like passing the added
cmake flag to pythonize_bool also appends "_PYBOOL" to the flag name, which
this lit config file is missing. This trips up builds such as:

  https://lab.llvm.org/buildbot/#/builders/275/builds/3661
  https://lab.llvm.org/buildbot/#/builders/184/builds/9811

Where COMPILER_RT_HAS_AARCH64_SME ends up expanding to nothing.

Added: 
    

Modified: 
    compiler-rt/test/lit.common.configured.in

Removed: 
    


################################################################################
diff  --git a/compiler-rt/test/lit.common.configured.in b/compiler-rt/test/lit.common.configured.in
index b93e20e80a6ed5..db5d7c598b7310 100644
--- a/compiler-rt/test/lit.common.configured.in
+++ b/compiler-rt/test/lit.common.configured.in
@@ -50,7 +50,7 @@ set_default("gwp_asan", @COMPILER_RT_HAS_GWP_ASAN_PYBOOL@)
 set_default("expensive_checks", @LLVM_ENABLE_EXPENSIVE_CHECKS_PYBOOL@)
 set_default("test_standalone_build_libs", @COMPILER_RT_TEST_STANDALONE_BUILD_LIBS_PYBOOL@)
 set_default("has_compiler_rt_libatomic", @COMPILER_RT_BUILD_STANDALONE_LIBATOMIC_PYBOOL@)
-set_default("aarch64_sme", @COMPILER_RT_HAS_AARCH64_SME@)
+set_default("aarch64_sme", @COMPILER_RT_HAS_AARCH64_SME_PYBOOL@)
 # True iff the test suite supports ignoring the test compiler's runtime library path
 # and using `config.compiler_rt_libdir` instead. This only matters when the runtime
 # library paths 
diff er.


        


More information about the llvm-commits mailing list