Accepting request 1011275 from X11:XOrg
OBS-URL: https://build.opensuse.org/request/show/1011275 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libclc?expand=0&rev=21
This commit is contained in:
commit
03e0b94844
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Oct 16 17:31:22 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||||
|
|
||||||
|
- Fix build on Leap by adding "-Xclang -no-opaque-pointers" only
|
||||||
|
for Clang 15 and newer.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Sep 29 21:33:37 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
Thu Sep 29 21:33:37 UTC 2022 - Aaron Puchert <aaronpuchert@alice-dsl.net>
|
||||||
|
|
||||||
|
@ -69,8 +69,10 @@ Library requirements of the OpenCL C programming language.
|
|||||||
%cmake \
|
%cmake \
|
||||||
-DCMAKE_C_COMPILER=clang \
|
-DCMAKE_C_COMPILER=clang \
|
||||||
-DCMAKE_CXX_COMPILER=clang++ \
|
-DCMAKE_CXX_COMPILER=clang++ \
|
||||||
|
%if %{_llvm_sonum} >= 15
|
||||||
-DCMAKE_CLC_FLAGS="-Xclang -no-opaque-pointers" \
|
-DCMAKE_CLC_FLAGS="-Xclang -no-opaque-pointers" \
|
||||||
-DCMAKE_LLAsm_FLAGS="-Xclang -no-opaque-pointers" \
|
-DCMAKE_LLAsm_FLAGS="-Xclang -no-opaque-pointers" \
|
||||||
|
%endif
|
||||||
-DENABLE_RUNTIME_SUBNORMAL:BOOL=ON \
|
-DENABLE_RUNTIME_SUBNORMAL:BOOL=ON \
|
||||||
-DLIBCLC_TARGETS_TO_BUILD="amdgcn--;amdgcn--amdhsa;amdgcn-mesa-mesa3d;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl"
|
-DLIBCLC_TARGETS_TO_BUILD="amdgcn--;amdgcn--amdhsa;amdgcn-mesa-mesa3d;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl"
|
||||||
%cmake_build
|
%cmake_build
|
||||||
|
Loading…
Reference in New Issue
Block a user