Skip to content

Commit 9cc2a3b

Browse files
committed
[sanitizers] Use 'which python' for Python3_EXECUTABLE in cmake buildbot
1 parent 6a3c570 commit 9cc2a3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zorg/buildbot/builders/sanitizers/buildbot_cmake.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ build_step "build standalone compiler-rt"
105105
mkdir -p compiler_rt_build
106106
# Standalone build as in https://compiler-rt.llvm.org/
107107
cmake -B compiler_rt_build -GNinja \
108-
-DPython3_EXECUTABLE=$ROOT/llvm-venv/bin/python \
108+
-DPython3_EXECUTABLE=$(which python) \
109109
-DCMAKE_C_COMPILER=${FRESH_CLANG_PATH}/clang \
110110
-DCMAKE_CXX_COMPILER=${FRESH_CLANG_PATH}/clang++ \
111111
-DCOMPILER_RT_INCLUDE_TESTS=ON \

0 commit comments

Comments
 (0)