summaryrefslogtreecommitdiff
path: root/highway/Pkgfile
blob: bf23089ac88f45174c95bb213dbce528c4bb5e41 (plain)
    1 # Description: A C++ library for SIMD (Single Instruction, Multiple Data)
    2 # URL:         https://github.com/google/highway/ 
    3 # Maintainer:  Aaron Ball, nullspoon at oper dot io
    4 # Depends on:  gtest
    5 
    6 name=highway
    7 version=1.0.7
    8 release=1
    9 source=("https://github.com/google/highway/archive/${version}/${name}-${version}.tar.gz")
   10 
   11 build() {
   12   cmake -B build -S "${name}-${version}" \
   13     -G 'Unix Makefiles' \
   14     -DCMAKE_BUILD_TYPE:STRING='None' \
   15     -DCMAKE_INSTALL_PREFIX:PATH='/usr' \
   16     -DBUILD_SHARED_LIBS:BOOL='ON' \
   17     -DHWY_SYSTEM_GTEST:BOOL='ON' \
   18     -Wno-dev
   19   cmake --build build
   20   DESTDIR="${PKG}" cmake --install build
   21 }

Generated by cgit