mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
libclc: rely on cmake-bootstrap to break a build cycle
This commit is contained in:
parent
b270c7b115
commit
c5300215cf
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ build_style=cmake
|
||||||
# disable clspv (failing tests, we don't ship it)
|
# disable clspv (failing tests, we don't ship it)
|
||||||
configure_args="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
|
configure_args="-DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release
|
||||||
-DLIBCLC_TARGETS_TO_BUILD=amdgcn--;amdgcn--amdhsa;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl;spirv-mesa3d-;spirv64-mesa3d-"
|
-DLIBCLC_TARGETS_TO_BUILD=amdgcn--;amdgcn--amdhsa;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl;spirv-mesa3d-;spirv64-mesa3d-"
|
||||||
hostmakedepends="cmake clang llvm python3 libedit-devel libffi-devel
|
hostmakedepends="clang llvm python3 libedit-devel libffi-devel
|
||||||
ncurses-devel zlib-devel SPIRV-LLVM-Translator"
|
ncurses-devel zlib-devel SPIRV-LLVM-Translator"
|
||||||
short_desc="Open implementation of the OpenCL C programming language"
|
short_desc="Open implementation of the OpenCL C programming language"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
||||||
|
@ -22,7 +22,7 @@ do_configure() {
|
||||||
unset CC CXX LD CFLAGS CXXFLAGS LDFLAGS
|
unset CC CXX LD CFLAGS CXXFLAGS LDFLAGS
|
||||||
mkdir -p build
|
mkdir -p build
|
||||||
cd build
|
cd build
|
||||||
cmake -GNinja ${configure_args} ..
|
PATH="${PATH}:/usr/libexec/xbps-src/bin" cmake -GNinja ${configure_args} ..
|
||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue