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:
parent
5f7199f9df
commit
e6076495e9
@ -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>
|
||||
|
||||
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user