[llvm] 3cb104e - [gn] Unbreak build after b62488f8326c61f

Nico Weber via llvm-commits llvm-commits at lists.llvm.org
Tue Jun 10 08:03:57 PDT 2025


Author: Nico Weber
Date: 2025-06-10T11:03:38-04:00
New Revision: 3cb104e98b9afbac1ab29aa9ce07c67ae04e77c6

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

LOG: [gn] Unbreak build after b62488f8326c61f

This is wrong -- it needs to put in the right value for
Python3_ROOT_DIR. But for now, this unbreaks the build.

Added: 
    

Modified: 
    llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
    llvm/utils/gn/secondary/lldb/test/BUILD.gn

Removed: 
    


################################################################################
diff  --git a/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn b/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
index a7ea1cf309b97..2ed60b4cc33be 100644
--- a/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/compiler-rt/test/BUILD.gn
@@ -50,6 +50,7 @@ write_cmake_config("lit_common_configured") {
         rebase_path("$root_build_dir/bin/clang") + ext,
     "COMPILER_RT_TEST_COMPILER_ID=Clang",
     "Python3_EXECUTABLE=$python_path",
+    "Python3_ROOT_DIR=",  # FIXME
     "COMPILER_RT_BUILD_STANDALONE_LIBATOMIC_PYBOOL=False",
     "COMPILER_RT_DEBUG_PYBOOL=False",
     "COMPILER_RT_ENABLE_INTERNAL_SYMBOLIZER_PYBOOL=False",

diff  --git a/llvm/utils/gn/secondary/lldb/test/BUILD.gn b/llvm/utils/gn/secondary/lldb/test/BUILD.gn
index e961a47d2c752..15b57f7d85fc7 100644
--- a/llvm/utils/gn/secondary/lldb/test/BUILD.gn
+++ b/llvm/utils/gn/secondary/lldb/test/BUILD.gn
@@ -142,6 +142,7 @@ write_lit_cfg("lit_shell_site_cfg") {
     "LLVM_HOST_TRIPLE=$llvm_current_triple",
     "LLVM_USE_SANITIZER=",
     "Python3_EXECUTABLE=$python_path",
+    "Python3_ROOT_DIR=",  # FIXME
   ]
 
   if (llvm_enable_zlib) {
@@ -167,6 +168,7 @@ write_lit_cfg("lit_unit_site_cfg") {
     "LLVM_BUILD_MODE=.",
     "LLVM_USE_SANITIZER=",
     "Python3_EXECUTABLE=$python_path",
+    "Python3_ROOT_DIR=",  # FIXME
   ]
 }
 


        


More information about the llvm-commits mailing list