aboutsummaryrefslogtreecommitdiff
path: root/extra/libclc/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2024-10-04 19:06:43 +0200
committerCem Keylan <cem@ckyln.com>2024-10-04 19:06:43 +0200
commitff81b2ca5155acd0ed05ce9cef78eb5ed45faeb0 (patch)
tree4c945aa09650d713dabb5f6e1963585453164cb2 /extra/libclc/build
parent28296836f7a3fb91f55051d61b0d6458b0b9db67 (diff)
downloadrepository-ff81b2ca5155acd0ed05ce9cef78eb5ed45faeb0.tar.gz
libclc: add new package at 19.1.1
Diffstat (limited to 'extra/libclc/build')
-rwxr-xr-xextra/libclc/build11
1 files changed, 11 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