Thursday, December 21, 2023

devel/highway: update to 1.0.5

Newer graphics/libvips requires highway>=1.0.5.
I haven't tested other consumers yet. amd64 regress:

99% tests passed, 5 tests failed out of 1158

Total Test time (real) = 59.50 sec

The following tests FAILED:
1004 - HwyMathTestGroup/HwyMathTest.TestAllAcos/AVX2 # GetParam() = 512 (Subprocess aborted)
1005 - HwyMathTestGroup/HwyMathTest.TestAllAcos/SSE4 # GetParam() = 2048 (Subprocess aborted)
1006 - HwyMathTestGroup/HwyMathTest.TestAllAcos/SSSE3 # GetParam() = 4096 (Subprocess aborted)
1007 - HwyMathTestGroup/HwyMathTest.TestAllAcos/SSE2 # GetParam() = 16384 (Subprocess aborted)
1008 - HwyMathTestGroup/HwyMathTest.TestAllAcos/EMU128 # GetParam() = 2305843009213693952 (Subprocess aborted)


Feedback?

PS: This speeds up 'make build' from 132 to 39 targets:
ALL_TARGET = ${SHARED_LIBS:Mhwy*}
pre-test:
${MODCMAKE_BUILD_TARGET}

Index: Makefile
===================================================================
RCS file: /cvs/ports/devel/highway/Makefile,v
diff -u -p -r1.3 Makefile
--- Makefile 9 Apr 2023 07:53:53 -0000 1.3
+++ Makefile 21 Dec 2023 23:52:42 -0000
@@ -2,14 +2,13 @@ COMMENT = length-agnostic SIMD with runt

GH_ACCOUNT = google
GH_PROJECT = highway
-GH_TAGNAME = 1.0.3
-REVISION = 0
+GH_TAGNAME = 1.0.5

CATEGORIES = devel

-SHARED_LIBS += hwy 0.0 # 0.0
-SHARED_LIBS += hwy_contrib 0.0 # 0.0
-SHARED_LIBS += hwy_test 0.0 # 0.0
+SHARED_LIBS += hwy 0.1 # 0.0
+SHARED_LIBS += hwy_contrib 0.1 # 0.0
+SHARED_LIBS += hwy_test 0.1 # 0.0

# Apache-2.0
PERMIT_PACKAGE = Yes
Index: distinfo
===================================================================
RCS file: /cvs/ports/devel/highway/distinfo,v
diff -u -p -r1.1.1.1 distinfo
--- distinfo 4 Mar 2023 07:52:35 -0000 1.1.1.1
+++ distinfo 21 Dec 2023 23:16:59 -0000
@@ -1,2 +1,2 @@
-SHA256 (highway-1.0.3.tar.gz) = Vm/HcxWHhHPZpr2BX33njHNzSs3LdFw93oV5VgrFRA4=
-SIZE (highway-1.0.3.tar.gz) = 1770704
+SHA256 (highway-1.0.5.tar.gz) = mbfa2YuPoIhnO3IBUUWPrmmK5d+RVAFuOd5K/cI7uSc=
+SIZE (highway-1.0.5.tar.gz) = 2012129
Index: patches/patch-CMakeLists_txt
===================================================================
RCS file: /cvs/ports/devel/highway/patches/patch-CMakeLists_txt,v
diff -u -p -r1.1 patch-CMakeLists_txt
--- patches/patch-CMakeLists_txt 9 Apr 2023 07:53:53 -0000 1.1
+++ patches/patch-CMakeLists_txt 21 Dec 2023 23:23:42 -0000
@@ -4,13 +4,11 @@ supported by clang 13 nor by our kernel.
Index: CMakeLists.txt
--- CMakeLists.txt.orig
+++ CMakeLists.txt
-@@ -241,8 +241,8 @@ else()
- # Not yet supported by GCC. When runtime dispatch is supported and
- # implemented, we will remove v from the required flags. Until then, using
- # clang for RISC-V will require the CPU to support the V extension (1.0).
-- list(APPEND HWY_FLAGS -march=rv64gcv1p0)
+@@ -262,7 +262,7 @@ else()
+ # either compiler) to support V.
+ list(APPEND HWY_FLAGS -march=rv64gcv1p0)
+ if(${CMAKE_CXX_COMPILER_ID} MATCHES "Clang")
- list(APPEND HWY_FLAGS -menable-experimental-extensions)
-+ #list(APPEND HWY_FLAGS -march=rv64gcv1p0)
+ #list(APPEND HWY_FLAGS -menable-experimental-extensions)
endif()
endif()
Index: pkg/PLIST
===================================================================
RCS file: /cvs/ports/devel/highway/pkg/PLIST,v
diff -u -p -r1.1.1.1 PLIST
--- pkg/PLIST 4 Mar 2023 07:52:35 -0000 1.1.1.1
+++ pkg/PLIST 21 Dec 2023 23:43:56 -0000
@@ -14,12 +14,15 @@ include/hwy/contrib/image/image.h
include/hwy/contrib/math/
include/hwy/contrib/math/math-inl.h
include/hwy/contrib/sort/
+include/hwy/contrib/sort/order.h
include/hwy/contrib/sort/shared-inl.h
include/hwy/contrib/sort/sorting_networks-inl.h
include/hwy/contrib/sort/traits-inl.h
include/hwy/contrib/sort/traits128-inl.h
include/hwy/contrib/sort/vqsort-inl.h
include/hwy/contrib/sort/vqsort.h
+include/hwy/contrib/unroller/
+include/hwy/contrib/unroller/unroller-inl.h
include/hwy/detect_compiler_arch.h
include/hwy/detect_targets.h
include/hwy/foreach_target.h
@@ -31,10 +34,12 @@ include/hwy/ops/arm_neon-inl.h
include/hwy/ops/arm_sve-inl.h
include/hwy/ops/emu128-inl.h
include/hwy/ops/generic_ops-inl.h
+include/hwy/ops/ppc_vsx-inl.h
include/hwy/ops/rvv-inl.h
include/hwy/ops/scalar-inl.h
include/hwy/ops/set_macros-inl.h
include/hwy/ops/shared-inl.h
+include/hwy/ops/tuple-inl.h
include/hwy/ops/wasm_128-inl.h
include/hwy/ops/x86_128-inl.h
include/hwy/ops/x86_256-inl.h
@@ -42,11 +47,19 @@ include/hwy/ops/x86_512-inl.h
include/hwy/per_target.h
include/hwy/print-inl.h
include/hwy/print.h
+include/hwy/robust_statistics.h
include/hwy/targets.h
include/hwy/tests/
include/hwy/tests/hwy_gtest.h
include/hwy/tests/test_util-inl.h
include/hwy/tests/test_util.h
+include/hwy/timer-inl.h
+include/hwy/timer.h
+lib/cmake/
+lib/cmake/hwy/
+lib/cmake/hwy/hwy-config${MODCMAKE_BUILD_SUFFIX}
+lib/cmake/hwy/hwy-config-version.cmake
+lib/cmake/hwy/hwy-config.cmake
@lib lib/libhwy.so.${LIBhwy_VERSION}
@lib lib/libhwy_contrib.so.${LIBhwy_contrib_VERSION}
@lib lib/libhwy_test.so.${LIBhwy_test_VERSION}

No comments:

Post a Comment