Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
libclc-git AUR
diff --git a/PKGBUILD b/PKGBUILD
index db5d114..67d607c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Contributor: Laurent Carlier <lordheavym@gmail.com>
# Maintainer: Solomon Choina <shlomochoina@gmail.com>
pkgname=libclc-git
-pkgver=0.2.0_r359832.77f8f813a9a
+pkgver=0.2.0_r369795.a00acbab45b0
pkgrel=1
epoch=1
groups=('mesagit')
@@ -12,10 +12,10 @@ license=('MIT')
provides=('libclc')
replaces=('libclc')
conflicts=('libclc')
-makedepends=('clang-git' 'git' 'python' 'ninja' 'cmake')
+makedepends=('clang' 'llvm' 'spirv-llvm-translator' 'git' 'python' 'ninja' 'cmake')
options=('staticlibs')
source=('llvm-project-git::git+https://github.com/llvm/llvm-project.git')
-md5sums=(SKIP)
+md5sums=('SKIP')
pkgver() {
cd llvm-project-git
@@ -34,7 +34,7 @@ build() {
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_DATADIR=/usr/lib \
- -DLIBCLC_TARGETS_TO_BUILD="amdgcn--;r600--;nvptx--;nvptx64--;nvptx--nvidiacl;nvptx64--nvidiacl"
+ -DLIBCLC_TARGETS_TO_BUILD="all"
ninja all
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment