# 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.2.0 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 }