1 # Maintainer: Daniel Bermond <dbermond@archlinux.org>
6 pkgdesc='A C++ library for SIMD (Single Instruction, Multiple Data)'
8 url='https://github.com/google/highway/'
11 makedepends=('cmake' 'gtest')
12 source=("https://github.com/google/highway/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
13 sha256sums=('faccd343935c9e98afd1016e9d20e0b8b89d908508d1af958496f8c2d3004ac2')
16 cmake -B build -S "${pkgname}-${pkgver}" \
18 -DCMAKE_BUILD_TYPE:STRING='None' \
19 -DCMAKE_INSTALL_PREFIX:PATH='/usr' \
20 -DBUILD_SHARED_LIBS:BOOL='ON' \
21 -DHWY_SYSTEM_GTEST:BOOL='ON' \
27 ctest --test-dir build --output-on-failure
31 DESTDIR="$pkgdir" cmake --install build