summaryrefslogtreecommitdiff
path: root/repo/highway
diff options
context:
space:
mode:
Diffstat (limited to 'repo/highway')
-rw-r--r--repo/highway/highway.xibuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/repo/highway/highway.xibuild b/repo/highway/highway.xibuild
new file mode 100644
index 0000000..ac29d76
--- /dev/null
+++ b/repo/highway/highway.xibuild
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+NAME="highway"
+DESC="Performance-portable, length-agnostic SIMD with runtime dispatch"
+
+MAKEDEPS=""
+
+PKG_VER=0.16.0
+SOURCE="https://github.com/google/highway/archive/$PKG_VER/highway-$PKG_VER.tar.gz"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr
+
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$PKG_DEST" cmake --install build
+}
+