Saturday, December 23, 2023

Re: devel/highway: update to 1.0.5

On Sat, Dec 23, 2023 at 09:11:14AM +0100, Landry Breuil wrote:
> Le Fri, Dec 22, 2023 at 12:12:43AM +0000, Klemens Nanni a écrit :
> > Newer graphics/libvips requires highway>=1.0.5.
> > I haven't tested other consumers yet. amd64 regress:
>
> can we update to 1.0.7 ? graphics/libjxl 0.9.0 requires it since
> https://github.com/libjxl/libjxl/pull/2765.
>
> -- Could NOT find HWY: Found unsuitable version "1.0.3", but required is at least "1.0.7" (found /usr/local/lib/libhwy.so.0.0)
>

Sure!


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 23 Dec 2023 19:52:16 -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.7

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 23 Dec 2023 19:45:26 -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.7.tar.gz) = VDRIgQgYbBcKXi/KXjybbvWaHKpNUgsAipuL5rir5sU=
+SIZE (highway-1.0.7.tar.gz) = 2055819
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