I would like to commit it in a couple of days if there is no objection, thanks.
On Wed, Jul 12, 2023 at 09:49:51AM +0800, Kevin Lo wrote: > > Friendly ping. > > On Sat, Jul 08, 2023 at 01:20:58PM +0800, Kevin Lo wrote: > > > > Hi, > > > > This is an update of devel/arm-compute-library to its latest version > > 23.05.1. > > For a list of changes, please read > > https://arm-software.github.io/ComputeLibrary/v23.05/versions_changelogs.xhtml#S2_2_changelog > > > > The update of the port itself is pretty straight forward. > > Works for me on arm64. > > > > ok? > > > > Index: devel/arm-compute-library/Makefile > > =================================================================== > > RCS file: /cvs/ports/devel/arm-compute-library/Makefile,v > > retrieving revision 1.10 > > diff -u -p -u -p -r1.10 Makefile > > --- devel/arm-compute-library/Makefile 14 May 2023 14:23:40 -0000 > > 1.10 > > +++ devel/arm-compute-library/Makefile 8 Jul 2023 05:13:51 -0000 > > @@ -2,7 +2,7 @@ ONLY_FOR_ARCHS = aarch64 > > > > COMMENT = Arm compute library > > > > -V = 23.02.1 > > +V = 23.05.1 > > PKGNAME = arm-compute-library-${V} > > > > GH_ACCOUNT = ARM-software > > @@ -16,8 +16,8 @@ HOMEPAGE = https://github.com/ARM-softwa > > MAINTAINER = Kevin Lo <ke...@openbsd.org> > > > > CORE_SO_V = 2.0 > > -GRAPH_SO_V = 2.1 > > -COMPUTE_SO_V = 3.3 > > +GRAPH_SO_V = 2.2 > > +COMPUTE_SO_V = 3.4 > > > > SHARED_LIBS += arm_compute ${COMPUTE_SO_V} > > SHARED_LIBS += arm_compute_core ${CORE_SO_V} > > Index: devel/arm-compute-library/distinfo > > =================================================================== > > RCS file: /cvs/ports/devel/arm-compute-library/distinfo,v > > retrieving revision 1.7 > > diff -u -p -u -p -r1.7 distinfo > > --- devel/arm-compute-library/distinfo 14 May 2023 14:23:40 -0000 > > 1.7 > > +++ devel/arm-compute-library/distinfo 8 Jul 2023 05:13:51 -0000 > > @@ -1,2 +1,2 @@ > > -SHA256 (ComputeLibrary-23.02.1.tar.gz) = > > w6RD4mU5+GaWkkLmkM8GUe9ikUl0HuGHMvlUxzTaZ2M= > > -SIZE (ComputeLibrary-23.02.1.tar.gz) = 13595273 > > +SHA256 (ComputeLibrary-23.05.1.tar.gz) = > > xMoymnjaOAFjsthukbpyg0m28O6X1m4mCmlO838LDZM= > > +SIZE (ComputeLibrary-23.05.1.tar.gz) = 13615969 > > Index: devel/arm-compute-library/patches/patch-SConscript > > =================================================================== > > RCS file: /cvs/ports/devel/arm-compute-library/patches/patch-SConscript,v > > retrieving revision 1.8 > > diff -u -p -u -p -r1.8 patch-SConscript > > --- devel/arm-compute-library/patches/patch-SConscript 14 May 2023 > > 14:23:40 -0000 1.8 > > +++ devel/arm-compute-library/patches/patch-SConscript 8 Jul 2023 > > 05:13:51 -0000 > > @@ -1,7 +1,7 @@ > > Index: SConscript > > --- SConscript.orig > > +++ SConscript > > -@@ -643,7 +643,7 @@ else: > > +@@ -650,7 +650,7 @@ else: > > elif 'sve' in env['arch']: > > lib_files += lib_files_sve > > > > @@ -10,7 +10,7 @@ Index: SConscript > > > > Export('arm_compute_a') > > > > -@@ -662,7 +662,7 @@ if env['os'] == 'macos': > > +@@ -669,7 +669,7 @@ if env['os'] == 'macos': > > # macos static library archiver fails if given an empty list of files > > arm_compute_core_a = build_library('arm_compute_core-static', > > arm_compute_env, lib_files, static=True) > > else: > > @@ -19,7 +19,7 @@ Index: SConscript > > > > Export('arm_compute_core_a') > > > > -@@ -675,7 +675,7 @@ arm_compute_graph_env = arm_compute_env.Clone() > > +@@ -682,7 +682,7 @@ arm_compute_graph_env = arm_compute_env.Clone() > > # Build graph libraries > > arm_compute_graph_env.Append(CXXFLAGS = ['-Wno-redundant-move', > > '-Wno-pessimizing-move']) > > > > Index: devel/arm-compute-library/patches/patch-SConstruct > > =================================================================== > > RCS file: /cvs/ports/devel/arm-compute-library/patches/patch-SConstruct,v > > retrieving revision 1.8 > > diff -u -p -u -p -r1.8 patch-SConstruct > > --- devel/arm-compute-library/patches/patch-SConstruct 14 May 2023 > > 14:23:40 -0000 1.8 > > +++ devel/arm-compute-library/patches/patch-SConstruct 8 Jul 2023 > > 05:13:51 -0000 > > @@ -1,7 +1,7 @@ > > Index: SConstruct > > --- SConstruct.orig > > +++ SConstruct > > -@@ -245,17 +245,8 @@ c_compiler = os.environ.get('CC', default_c_compiler) > > +@@ -253,17 +253,8 @@ c_compiler = os.environ.get('CC', default_c_compiler) > > if env['os'] == 'android' and ( 'clang++' not in cpp_compiler or 'clang' > > not in c_compiler ): > > print( "WARNING: Only clang is officially supported to build the > > Compute Library for Android") > > > > @@ -20,7 +20,7 @@ Index: SConstruct > > if env['cppthreads']: > > env.Append(CPPDEFINES = [('ARM_COMPUTE_CPP_SCHEDULER', 1)]) > > > > -@@ -412,25 +403,6 @@ if not GetOption("help"): > > +@@ -424,25 +415,6 @@ if not GetOption("help"): > > except OSError: > > print("ERROR: Compiler '%s' not found" % env['CXX']) > > Exit(1) > > Index: devel/arm-compute-library/pkg/PLIST > > =================================================================== > > RCS file: /cvs/ports/devel/arm-compute-library/pkg/PLIST,v > > retrieving revision 1.7 > > diff -u -p -u -p -r1.7 PLIST > > --- devel/arm-compute-library/pkg/PLIST 14 May 2023 14:23:40 -0000 > > 1.7 > > +++ devel/arm-compute-library/pkg/PLIST 8 Jul 2023 05:13:51 -0000 > > @@ -141,8 +141,10 @@ include/arm_compute/dynamic_fusion/sketc > > include/arm_compute/dynamic_fusion/sketch/gpu/operators/GpuPool2d.h > > include/arm_compute/dynamic_fusion/sketch/gpu/operators/GpuReshape.h > > include/arm_compute/dynamic_fusion/sketch/gpu/operators/GpuResize.h > > +include/arm_compute/dynamic_fusion/sketch/gpu/operators/GpuSigmoid.h > > include/arm_compute/dynamic_fusion/sketch/gpu/operators/GpuSoftmax.h > > include/arm_compute/dynamic_fusion/sketch/gpu/operators/GpuSub.h > > +include/arm_compute/dynamic_fusion/sketch/gpu/operators/GpuTanh.h > > include/arm_compute/graph/ > > include/arm_compute/graph.h > > include/arm_compute/graph/DataLayerVisitor.h > > @@ -343,6 +345,7 @@ include/arm_compute/runtime/CL/functions > > include/arm_compute/runtime/CL/functions/CLLogicalAnd.h > > include/arm_compute/runtime/CL/functions/CLLogicalNot.h > > include/arm_compute/runtime/CL/functions/CLLogicalOr.h > > +include/arm_compute/runtime/CL/functions/CLMatMul.h > > include/arm_compute/runtime/CL/functions/CLMaxUnpoolingLayer.h > > include/arm_compute/runtime/CL/functions/CLMeanStdDevNormalizationLayer.h > > include/arm_compute/runtime/CL/functions/CLNormalizationLayer.h > > @@ -472,6 +475,7 @@ include/arm_compute/runtime/NEON/functio > > include/arm_compute/runtime/NEON/functions/NELSTMLayer.h > > include/arm_compute/runtime/NEON/functions/NELSTMLayerQuantized.h > > include/arm_compute/runtime/NEON/functions/NELogical.h > > +include/arm_compute/runtime/NEON/functions/NEMatMul.h > > include/arm_compute/runtime/NEON/functions/NEMaxUnpoolingLayer.h > > include/arm_compute/runtime/NEON/functions/NEMeanStdDevNormalizationLayer.h > > include/arm_compute/runtime/NEON/functions/NENormalizationLayer.h > > @@ -490,6 +494,7 @@ include/arm_compute/runtime/NEON/functio > > include/arm_compute/runtime/NEON/functions/NERange.h > > include/arm_compute/runtime/NEON/functions/NEReduceMean.h > > include/arm_compute/runtime/NEON/functions/NEReductionOperation.h > > +include/arm_compute/runtime/NEON/functions/NEReorderLayer.h > > include/arm_compute/runtime/NEON/functions/NEReorgLayer.h > > include/arm_compute/runtime/NEON/functions/NEReshapeLayer.h > > include/arm_compute/runtime/NEON/functions/NEReverse.h > > @@ -532,6 +537,7 @@ include/libnpy/npy.hpp > > include/stb/ > > include/stb/stb_image.h > > include/support/ > > +include/support/AclRequires.h > > include/support/BUILD.bazel > > include/support/Bfloat16.h > > include/support/CRTP.h > > @@ -542,7 +548,6 @@ include/support/ICloneable.h > > include/support/Iterable.h > > include/support/Mutex.h > > include/support/Random.h > > -include/support/Requires.h > > include/support/Rounding.h > > include/support/SaturateCast.h > > include/support/Semaphore.h > > >