summaryrefslogtreecommitdiff
path: root/libs/ocl-icd/MAKEPKG
diff options
context:
space:
mode:
Diffstat (limited to 'libs/ocl-icd/MAKEPKG')
-rw-r--r--libs/ocl-icd/MAKEPKG36
1 files changed, 36 insertions, 0 deletions
diff --git a/libs/ocl-icd/MAKEPKG b/libs/ocl-icd/MAKEPKG
new file mode 100644
index 0000000..bb932fc
--- /dev/null
+++ b/libs/ocl-icd/MAKEPKG
@@ -0,0 +1,36 @@
+#!/bin/mkpkg
+# description: OpenCL ICD Loader (Installable Client Driver)
+# url: https://github.com/OCL-dev/ocl-icd
+
+name=ocl-icd
+version=2.3.5
+release=1
+depends=()
+makedeps=(autoconf automake libtool ruby)
+source=(https://github.com/OCL-dev/ocl-icd/archive/refs/tags/v$version.tar.gz)
+renames=(ocl-icd-$version.tar.gz)
+sha256sums=(
+ "cdd7984425fa92d37273eee4180b5f57b047eda6dd8fd623e58498f844b09b75"
+)
+
+build() {
+ cd ocl-icd-$version
+
+ ./bootstrap
+
+ ./configure \
+ --prefix=/usr \
+ --libdir=/usr/lib \
+ --disable-static \
+ --enable-official-khronos-headers
+
+ make
+ make DESTDIR=$PKG install
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh