diff --git a/llvm17.changes b/llvm17.changes index 040c8e1..041adce 100644 --- a/llvm17.changes +++ b/llvm17.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Wed Mar 6 03:20:24 UTC 2024 - Michael Gorse + +- Explicitly define PYTHON3_EXECUTABLE, since python 3.11 is being + pulled in by cmake in SLE-15-SP6. + ------------------------------------------------------------------- Mon Mar 4 21:29:51 UTC 2024 - Aaron Puchert diff --git a/llvm17.spec b/llvm17.spec index a68f610..1b44df3 100644 --- a/llvm17.spec +++ b/llvm17.spec @@ -967,6 +967,7 @@ avail_mem=$(awk '/MemAvailable/ { print $2 }' /proc/meminfo) %cmake \ -DCMAKE_BUILD_TYPE=Release \ -DBUILD_SHARED_LIBS:BOOL=OFF \ + -DPython3_EXECUTABLE=%{_bindir}/python3 \ -DLLVM_HOST_TRIPLE=%{host_triple} \ -DLLVM_BUILD_LLVM_DYLIB:BOOL=OFF \ -DLLVM_LINK_LLVM_DYLIB:BOOL=OFF \ @@ -1049,6 +1050,7 @@ export LD_LIBRARY_PATH=%{sourcedir}/build/%{_lib} %cmake \ -DCMAKE_C_COMPILER="%{sourcedir}/stage1/bin/clang" \ -DCMAKE_CXX_COMPILER="%{sourcedir}/stage1/bin/clang++" \ + -DPython3_EXECUTABLE=%{_bindir}/python3 \ -DBUILD_SHARED_LIBS:BOOL=OFF \ -DLLVM_HOST_TRIPLE=%{host_triple} \ -DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \