- 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/llvm16?expand=0&rev=30
This commit is contained in:
Aaron Puchert 2024-03-07 01:24:45 +00:00 committed by Git OBS Bridge
parent 0ca844b2ac
commit 4f952a9730
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

@ -962,6 +962,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 \
@ -1054,6 +1055,7 @@ export LD_LIBRARY_PATH=%{sourcedir}/build/%{_lib}
-DLLVM_ENABLE_RTTI:BOOL=ON \
-DLLVM_ENABLE_PIC=ON \
-DLLVM_BINUTILS_INCDIR=%{_includedir} \
-DPython3_EXECUTABLE=%{_bindir}/python3 \
-DLLVM_ENABLE_ZSTD:BOOL=OFF \
-DLLVM_TARGETS_TO_BUILD=%{llvm_targets} \
-DLLVM_EXPERIMENTAL_TARGETS_TO_BUILD=%{llvm_experimental_targets} \