- Explicitly define PYTHON3_EXECUTABLE, since python 3.11 is being

pulled in by cmake in SLE-15-SP6.

OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm13?expand=0&rev=47
This commit is contained in:
Aaron Puchert 2024-03-07 01:49:26 +00:00 committed by Git OBS Bridge
parent 72d10641fd
commit e7ebc9c219
2 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Mar 6 03:20:24 UTC 2024 - Michael Gorse <mgorse@suse.com>
- 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 <aaronpuchert@alice-dsl.net>

View File

@ -751,6 +751,7 @@ avail_mem=$(awk '/MemAvailable/ { print $2 }' /proc/meminfo)
-DLLVM_PARALLEL_LINK_JOBS="$max_link_jobs" \
-DENABLE_LINKER_BUILD_ID=ON \
-DLLVM_BINUTILS_INCDIR=%{_includedir} \
-DPython3_EXECUTABLE=%{_bindir}/python3 \
-DLLVM_BUILD_TOOLS:BOOL=OFF \
-DLLVM_BUILD_UTILS:BOOL=OFF \
-DLLVM_BUILD_EXAMPLES:BOOL=OFF \
@ -846,6 +847,7 @@ export LD_LIBRARY_PATH=${PWD}/build/%{_lib}
-DLLVM_ENABLE_RTTI:BOOL=ON \
-DLLVM_ENABLE_PIC=ON \
-DLLVM_BINUTILS_INCDIR=%{_includedir} \
-DPython3_EXECUTABLE=%{_bindir}/python3 \
-DLLVM_TARGETS_TO_BUILD=${TARGETS_TO_BUILD} \
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=${EXPERIMENTAL_TARGETS_TO_BUILD} \
%if %{with libcxx}