summaryrefslogtreecommitdiff
path: root/repo/highway/highway.xibuild
blob: f683faee49c3a15cf314f356a606b270450622f9 (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=1.0.1
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
}