SHA256
1
0
forked from pool/llvm17

Accepting request 1155404 from home:mgorse:branches:devel:tools:compiler

- Explicitly define PYTHON3_EXECUTABLE, since python 3.11 is being
  pulled in by cmake in SLE-15-SP6.

OBS-URL: https://build.opensuse.org/request/show/1155404
OBS-URL: https://build.opensuse.org/package/show/devel:tools:compiler/llvm17?expand=0&rev=23
This commit is contained in:
Aaron Puchert 2024-03-07 01:03:49 +00:00 committed by Git OBS Bridge
parent 5f7199f9df
commit e6076495e9
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> Mon Mar 4 21:29:51 UTC 2024 - Aaron Puchert <aaronpuchert@alice-dsl.net>

View File

@ -967,6 +967,7 @@ avail_mem=$(awk '/MemAvailable/ { print $2 }' /proc/meminfo)
%cmake \ %cmake \
-DCMAKE_BUILD_TYPE=Release \ -DCMAKE_BUILD_TYPE=Release \
-DBUILD_SHARED_LIBS:BOOL=OFF \ -DBUILD_SHARED_LIBS:BOOL=OFF \
-DPython3_EXECUTABLE=%{_bindir}/python3 \
-DLLVM_HOST_TRIPLE=%{host_triple} \ -DLLVM_HOST_TRIPLE=%{host_triple} \
-DLLVM_BUILD_LLVM_DYLIB:BOOL=OFF \ -DLLVM_BUILD_LLVM_DYLIB:BOOL=OFF \
-DLLVM_LINK_LLVM_DYLIB:BOOL=OFF \ -DLLVM_LINK_LLVM_DYLIB:BOOL=OFF \
@ -1049,6 +1050,7 @@ export LD_LIBRARY_PATH=%{sourcedir}/build/%{_lib}
%cmake \ %cmake \
-DCMAKE_C_COMPILER="%{sourcedir}/stage1/bin/clang" \ -DCMAKE_C_COMPILER="%{sourcedir}/stage1/bin/clang" \
-DCMAKE_CXX_COMPILER="%{sourcedir}/stage1/bin/clang++" \ -DCMAKE_CXX_COMPILER="%{sourcedir}/stage1/bin/clang++" \
-DPython3_EXECUTABLE=%{_bindir}/python3 \
-DBUILD_SHARED_LIBS:BOOL=OFF \ -DBUILD_SHARED_LIBS:BOOL=OFF \
-DLLVM_HOST_TRIPLE=%{host_triple} \ -DLLVM_HOST_TRIPLE=%{host_triple} \
-DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \ -DLLVM_BUILD_LLVM_DYLIB:BOOL=ON \