summaryrefslogtreecommitdiff
path: root/repo/highway/highway.xibuild
blob: ac29d7625a6c0790cd4adc5a3203213a3d0e06bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
}