mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-08-06 05:47:13 +02:00
main/libclc: specify targets to build and do not ship broken clspv
clspv is generally not used and tests are failing because of it. Follow other distributions and don't ship it. This allows us to enable the tests for libclc in the following commit. Signed-off-by: David Heidelberg <david@ixit.cz>
This commit is contained in:
parent
b258f39fac
commit
fbbf7310a8
@ -2,7 +2,7 @@
|
|||||||
pkgname=libclc
|
pkgname=libclc
|
||||||
# follow llvm versioning
|
# follow llvm versioning
|
||||||
pkgver=18.1.8
|
pkgver=18.1.8
|
||||||
pkgrel=0
|
pkgrel=1
|
||||||
_llvmver=${pkgver%%.*}
|
_llvmver=${pkgver%%.*}
|
||||||
pkgdesc="Open source implementation of the library requirements of the OpenCL C programming language"
|
pkgdesc="Open source implementation of the library requirements of the OpenCL C programming language"
|
||||||
url="https://libclc.llvm.org/"
|
url="https://libclc.llvm.org/"
|
||||||
@ -32,6 +32,7 @@ build() {
|
|||||||
cmake -B build -G Ninja \
|
cmake -B build -G Ninja \
|
||||||
-DCMAKE_BUILD_TYPE=Release \
|
-DCMAKE_BUILD_TYPE=Release \
|
||||||
-DCMAKE_INSTALL_PREFIX=/usr \
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
||||||
|
-DLIBCLC_TARGETS_TO_BUILD="amdgcn--;amdgcn--amdhsa;amdgcn-mesa-mesa3d;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl;spirv-mesa3d-;spirv64-mesa3d-" \
|
||||||
-DLLVM_CONFIG="llvm-config-$_llvmver" \
|
-DLLVM_CONFIG="llvm-config-$_llvmver" \
|
||||||
-DLLVM_SPIRV=/usr/bin/llvm-spirv \
|
-DLLVM_SPIRV=/usr/bin/llvm-spirv \
|
||||||
-DCMAKE_MODULE_PATH="$srcdir/cmake-$pkgver.src/Modules"
|
-DCMAKE_MODULE_PATH="$srcdir/cmake-$pkgver.src/Modules"
|
||||||
|
Loading…
Reference in New Issue
Block a user