pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/graphics/libhighway Update libhighway to version 1.0.1
details: https://anonhg.NetBSD.org/pkgsrc/rev/0b044ca40d77
branches: trunk
changeset: 386386:0b044ca40d77
user: nros <nros%pkgsrc.org@localhost>
date: Fri Oct 07 11:15:54 2022 +0000
description:
Update libhighway to version 1.0.1
Pkgsrc changes:
Build shared libs.
Use gcc 8 and over to fix build.
Include devel/googletest in
buildlink3.mk since one of the
installed header files include
gtest/gtest.h .
Changes from changelog:
* Add Eq128, i64 Mul, unsigned->float ConvertTo
* Faster sort for few unique keys, more robust pivot selection
* Fix: floating-point generator for sort tests, Min/MaxOfLanes for i16
* Fix: avoid always_inline in debug, link atomic
* GCC warnings: string.h, maybe-uninitialized, ignored-attributes
* GCC warnings: preprocessor int overflow, spurious use-after-free/overflow
* Doc: <=HWY_AVX3, Full32/64/128, how to use generic-inl
* ABI change: 64-bit target values, more room for expansion
* Add CompressBlocksNot, CompressNot, Lt128Upper, Min/Max128Upper, TruncateTo
* Add HWY_SVE2_128 target
* Sort speedups especially for 128-bit
* Documentation clarifications
* Faster NEON CountTrue/FindFirstTrue/AllFalse/AllTrue
* Improved SVE codegen
* Fix u16x8 ConcatEven/Odd, SSSE3 i64 Lt
* MSVC 2017 workarounds
* Support for runtime dispatch on Arm/GCC/Linux
diffstat:
graphics/libhighway/Makefile | 9 +++++++--
graphics/libhighway/PLIST | 19 ++++++++++++++-----
graphics/libhighway/buildlink3.mk | 4 +++-
graphics/libhighway/distinfo | 8 ++++----
4 files changed, 28 insertions(+), 12 deletions(-)
diffs (109 lines):
diff -r 66273a4d3d2a -r 0b044ca40d77 graphics/libhighway/Makefile
--- a/graphics/libhighway/Makefile Fri Oct 07 11:10:54 2022 +0000
+++ b/graphics/libhighway/Makefile Fri Oct 07 11:15:54 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.1 2022/07/17 19:32:46 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2022/10/07 11:15:54 nros Exp $
-DISTNAME= highway-0.17.0
+DISTNAME= highway-1.0.1
PKGNAME= lib${DISTNAME}
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_GITHUB:=google/}
@@ -14,13 +14,18 @@
USE_CMAKE= yes
USE_TOOLS+= pkg-config
USE_LANGUAGES= c c++
+GCC_REQD+= 8 # -latomic and gcc 7 gives internal compiler error
CMAKE_ARGS+= -DHWY_SYSTEM_GTEST:BOOL=TRUE
+CMAKE_ARGS+= -DBUILD_SHARED_LIBS:BOOL=TRUE
PKGCONFIG_OVERRIDE+= libhwy-contrib.pc.in
PKGCONFIG_OVERRIDE+= libhwy-test.pc.in
PKGCONFIG_OVERRIDE+= libhwy.pc.in
+# libhighway run executables during build and
+# they need to find its own shared libs
+MAKE_ENV+= LD_LIBRARY_PATH=${WRKSRC}
TEST_TARGET= test
BUILDLINK_API_DEPENDS.googletest+= googletest>=1.10.0nb1
diff -r 66273a4d3d2a -r 0b044ca40d77 graphics/libhighway/PLIST
--- a/graphics/libhighway/PLIST Fri Oct 07 11:10:54 2022 +0000
+++ b/graphics/libhighway/PLIST Fri Oct 07 11:15:54 2022 +0000
@@ -1,11 +1,13 @@
-@comment $NetBSD: PLIST,v 1.1 2022/07/17 19:32:46 wiz Exp $
+@comment $NetBSD: PLIST,v 1.2 2022/10/07 11:15:54 nros Exp $
include/hwy/aligned_allocator.h
include/hwy/base.h
include/hwy/cache_control.h
+include/hwy/contrib/algo/copy-inl.h
+include/hwy/contrib/algo/find-inl.h
+include/hwy/contrib/algo/transform-inl.h
include/hwy/contrib/dot/dot-inl.h
include/hwy/contrib/image/image.h
include/hwy/contrib/math/math-inl.h
-include/hwy/contrib/sort/disabled_targets.h
include/hwy/contrib/sort/shared-inl.h
include/hwy/contrib/sort/sorting_networks-inl.h
include/hwy/contrib/sort/traits-inl.h
@@ -29,15 +31,22 @@
include/hwy/ops/x86_128-inl.h
include/hwy/ops/x86_256-inl.h
include/hwy/ops/x86_512-inl.h
+include/hwy/per_target.h
include/hwy/print-inl.h
include/hwy/print.h
include/hwy/targets.h
include/hwy/tests/hwy_gtest.h
include/hwy/tests/test_util-inl.h
include/hwy/tests/test_util.h
-lib/libhwy.a
-lib/libhwy_contrib.a
-lib/libhwy_test.a
+lib/libhwy.so
+lib/libhwy.so.1
+lib/libhwy.so.${PKGVERSION}
+lib/libhwy_contrib.so
+lib/libhwy_contrib.so.1
+lib/libhwy_contrib.so.${PKGVERSION}
+lib/libhwy_test.so
+lib/libhwy_test.so.1
+lib/libhwy_test.so.${PKGVERSION}
lib/pkgconfig/libhwy-contrib.pc
lib/pkgconfig/libhwy-test.pc
lib/pkgconfig/libhwy.pc
diff -r 66273a4d3d2a -r 0b044ca40d77 graphics/libhighway/buildlink3.mk
--- a/graphics/libhighway/buildlink3.mk Fri Oct 07 11:10:54 2022 +0000
+++ b/graphics/libhighway/buildlink3.mk Fri Oct 07 11:15:54 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2022/07/17 19:32:46 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2022/10/07 11:15:54 nros Exp $
BUILDLINK_TREE+= libhighway
@@ -6,8 +6,10 @@
LIBHIGHWAY_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.libhighway+= libhighway>=0.12.2
+BUILDLINK_ABI_DEPENDS.libhighway+= libhighway>=1.0.1
BUILDLINK_PKGSRCDIR.libhighway?= ../../graphics/libhighway
+.include "../../devel/googletest/buildlink3.mk"
.endif # LIBHIGHWAY_BUILDLINK3_MK
BUILDLINK_TREE+= -libhighway
diff -r 66273a4d3d2a -r 0b044ca40d77 graphics/libhighway/distinfo
--- a/graphics/libhighway/distinfo Fri Oct 07 11:10:54 2022 +0000
+++ b/graphics/libhighway/distinfo Fri Oct 07 11:15:54 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.1 2022/07/17 19:32:46 wiz Exp $
+$NetBSD: distinfo,v 1.2 2022/10/07 11:15:54 nros Exp $
-BLAKE2s (highway-0.17.0.tar.gz) = 0797498051a9bdccac2f7451d0c5fd4ead0406cfd7f92c8cad5e5182b57862ec
-SHA512 (highway-0.17.0.tar.gz) = 7e55724c844a09a07cb981a7d8e913dcc5491e07d14ff3e7783a69060b0c470e7d5adc4f5dbeea526b3e109eea8cc9e80605d6b8d2da1b794382e56fd534ba06
-Size (highway-0.17.0.tar.gz) = 1694290 bytes
+BLAKE2s (highway-1.0.1.tar.gz) = 3511b4e34b0bb4d85e980d4561e0de5419994dde07741783b966c6a342d25f92
+SHA512 (highway-1.0.1.tar.gz) = 35b6287579b6248966b0d36fda1522fd6338523934b079e94e857f9de08354f20b99739c99d53249a3a6c583519da0e0ac5e06dfbe6e3a89262f627c75b59dd8
+Size (highway-1.0.1.tar.gz) = 1730746 bytes
Home |
Main Index |
Thread Index |
Old Index