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

Daniel Bermond dbermond at gemini.archlinux.org
Wed Oct 6 21:47:29 UTC 2021


    Date: Wednesday, October 6, 2021 @ 21:47:29
  Author: dbermond
Revision: 1027891

archrelease: copy trunk to community-x86_64

Added:
  highway/repos/community-x86_64/
  highway/repos/community-x86_64/PKGBUILD
    (from rev 1027890, highway/trunk/PKGBUILD)

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

Copied: highway/repos/community-x86_64/PKGBUILD (from rev 1027890, highway/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-10-06 21:47:29 UTC (rev 1027891)
@@ -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