From f80b995d1f5766a455f5a06f72457261bd6bd24a Mon Sep 17 00:00:00 2001 From: Alex Bradbury Date: Thu, 16 Jan 2025 12:07:31 +0000 Subject: [PATCH] [RISCV] Pass `-DPython3_EXECUTABLE=/usr/bin/python3` for rva20-2stage builder This avoids issues where the python3 executable is at a different path in the host vs the guest environment (i.e. under qemu-system used for lit execution). --- buildbot/osuosl/master/config/builders.py | 1 + 1 file changed, 1 insertion(+) diff --git a/buildbot/osuosl/master/config/builders.py b/buildbot/osuosl/master/config/builders.py index 7ad6a9a7..e97f7672 100644 --- a/buildbot/osuosl/master/config/builders.py +++ b/buildbot/osuosl/master/config/builders.py @@ -3270,6 +3270,7 @@ extra_stage2_cmake_args=[ util.Interpolate("-DLLVM_NATIVE_TOOL_DIR=%(prop:builddir)s/stage1.install/bin"), "-DLLVM_BUILD_TESTS=True", + "-DPython3_EXECUTABLE=/usr/bin/python3", util.Interpolate("-DLLVM_EXTERNAL_LIT=%(prop:builddir)s/llvm-zorg/buildbot/riscv-rise/lit-on-qemu")], stage2_toolchain_options=[ "set(CMAKE_SYSTEM_NAME Linux)",