libclc: use libclc alternatives group

This commit is contained in:
Daniel Martinez 2024-11-12 22:09:01 -05:00 committed by classabbyamp
parent 53f0767c43
commit 42e98cf8b3
1 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'libclc'
pkgname=libclc
version=18.1.8
revision=2
revision=3
build_style=cmake
# disable clspv (failing tests, we don't ship it)
configure_args="-DCMAKE_INSTALL_PREFIX=/usr/lib/llvm/18/ -DCMAKE_BUILD_TYPE=Release
@ -17,9 +17,9 @@ checksum=905bd59e9f810d6bd0ae6874725a8f8a3c91cb416199c03f2b98b57437cfb32e
replaces="libclc-git>=0"
alternatives="
clc:/usr/share/clc:/usr/lib/llvm/18/share/clc
clc:/usr/include/clc:/usr/lib/llvm/18/include/clc
clc:/usr/share/pkgconfig/libclc.pc:/usr/lib/llvm/18/share/pkgconfig/libclc.pc
libclc:/usr/share/clc:/usr/lib/llvm/18/share/clc
libclc:/usr/include/clc:/usr/lib/llvm/18/include/clc
libclc:/usr/share/pkgconfig/libclc.pc:/usr/lib/llvm/18/share/pkgconfig/libclc.pc
"
do_configure() {