diff options
Diffstat (limited to 'highway/Pkgfile')
-rw-r--r-- | highway/Pkgfile | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/highway/Pkgfile b/highway/Pkgfile new file mode 100644 index 0000000..683de6a --- /dev/null +++ b/highway/Pkgfile @@ -0,0 +1,21 @@ +# Description: A C++ library for SIMD (Single Instruction, Multiple Data) +# URL: https://github.com/google/highway/ +# Maintainer: Aaron Ball, nullspoon at oper dot io +# Depends on: gtest + +name=highway +version=1.0.4 +release=1 +source=("https://github.com/google/highway/archive/${version}/${name}-${version}.tar.gz") + +build() { + cmake -B build -S "${name}-${version}" \ + -G 'Unix Makefiles' \ + -DCMAKE_BUILD_TYPE:STRING='None' \ + -DCMAKE_INSTALL_PREFIX:PATH='/usr' \ + -DBUILD_SHARED_LIBS:BOOL='ON' \ + -DHWY_SYSTEM_GTEST:BOOL='ON' \ + -Wno-dev + cmake --build build + DESTDIR="${PKG}" cmake --install build +} |