[arch-commits] Commit in (highway highway/repos highway/trunk highway/trunk/PKGBUILD)

Daniel Bermond dbermond at gemini.archlinux.org
Wed Oct 6 21:34:54 UTC 2021


    Date: Wednesday, October 6, 2021 @ 21:34:53
  Author: dbermond
Revision: 1027889

Initial commit of highway

Moved from AUR as a makedep for libjxl.

Added:
  highway/
  highway/repos/
  highway/trunk/
  highway/trunk/PKGBUILD

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Added: highway/trunk/PKGBUILD
===================================================================
--- highway/trunk/PKGBUILD	                        (rev 0)
+++ highway/trunk/PKGBUILD	2021-10-06 21:34:53 UTC (rev 1027889)
@@ -0,0 +1,30 @@
+# Maintainer: Daniel Bermond <dbermond at archlinux.org>
+
+pkgname=highway
+pkgver=0.14.2
+pkgrel=1
+pkgdesc='A C++ library for SIMD (Single Instruction, Multiple Data)'
+arch=('x86_64')
+url='https://github.com/google/highway/'
+license=('Apache')
+makedepends=('cmake' 'gtest' 'gmock')
+source=("https://github.com/google/highway/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('58f7f3a12394341796fbb3045d18020474cb214ef85b9a50bbaaa809e34e9232')
+
+build() {
+    export CXXFLAGS+=' -DHWY_COMPILE_ALL_ATTAINABLE'
+    cmake -B build -S "${pkgname}-${pkgver}" \
+        -DCMAKE_BUILD_TYPE:STRING='None' \
+        -DCMAKE_INSTALL_PREFIX:PATH='/usr' \
+        -DHWY_SYSTEM_GTEST:BOOL='ON' \
+        -Wno-dev
+    make -C build
+}
+
+check() {
+    make -C build test
+}
+
+package() {
+    make -C build DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list