aboutsummaryrefslogtreecommitdiff
path: root/extra/libclc
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libclc')
-rwxr-xr-xextra/libclc/build11
-rw-r--r--extra/libclc/checksums2
-rw-r--r--extra/libclc/depends4
-rw-r--r--extra/libclc/meta3
-rw-r--r--extra/libclc/sources1
-rw-r--r--extra/libclc/version1
6 files changed, 22 insertions, 0 deletions
diff --git a/extra/libclc/build b/extra/libclc/build
new file mode 100755
index 00000000..90e518cd
--- /dev/null
+++ b/extra/libclc/build
@@ -0,0 +1,11 @@
+#!/bin/sh -e
+
+export DESTDIR="$1"
+
+cmake -B build \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DLLVM_DIR=/usr/lib/cmake/llvm
+
+cmake --build build
+cmake --install build
diff --git a/extra/libclc/checksums b/extra/libclc/checksums
new file mode 100644
index 00000000..e15a1016
--- /dev/null
+++ b/extra/libclc/checksums
@@ -0,0 +1,2 @@
+%BLAKE3
+6db60982fa552857efc99591146db491a445ad276f5cdab8fec786635063e29f libclc-19.1.1.src.tar.xz
diff --git a/extra/libclc/depends b/extra/libclc/depends
new file mode 100644
index 00000000..8f61b167
--- /dev/null
+++ b/extra/libclc/depends
@@ -0,0 +1,4 @@
+cmake make
+llvm make
+python make
+zlib
diff --git a/extra/libclc/meta b/extra/libclc/meta
new file mode 100644
index 00000000..f360a5e5
--- /dev/null
+++ b/extra/libclc/meta
@@ -0,0 +1,3 @@
+description: Open implementation of the OpenCL C programming language
+license: BSD-3-Clause, MIT
+maintainer: Cem Keylan <cem@carbslinux.org>
diff --git a/extra/libclc/sources b/extra/libclc/sources
new file mode 100644
index 00000000..b46af24b
--- /dev/null
+++ b/extra/libclc/sources
@@ -0,0 +1 @@
+https://github.com/llvm/llvm-project/releases/download/llvmorg-19.1.1/libclc-19.1.1.src.tar.xz
diff --git a/extra/libclc/version b/extra/libclc/version
new file mode 100644
index 00000000..6db232b7
--- /dev/null
+++ b/extra/libclc/version
@@ -0,0 +1 @@
+19.1.1 1