Re: UPDATE: arm-compute-library 23.05.1

2023-07-16 Thread Kevin Lo
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 -  
> > 1.10
> > +++ devel/arm-compute-library/Makefile  8 Jul 2023 05:13:51 -
> > @@ -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 
> >  
> >  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 -  
> > 1.7
> > +++ devel/arm-compute-library/distinfo  8 Jul 2023 05:13:51 -
> > @@ -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 -  1.8
> > +++ devel/arm-compute-library/patches/patch-SConscript  8 Jul 2023 
> > 05:13:51 -
> > @@ -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 -  1.8
> > +++ devel/arm-compute-library/patches/patch-SConstruct  8 Jul 2023 
> > 05:13:51 -
> > @@ -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 

Re: UPDATE: arm-compute-library 23.05.1

2023-07-11 Thread Kevin Lo
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/Makefile14 May 2023 14:23:40 -  
> 1.10
> +++ devel/arm-compute-library/Makefile8 Jul 2023 05:13:51 -
> @@ -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 
>  
>  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/distinfo14 May 2023 14:23:40 -  
> 1.7
> +++ devel/arm-compute-library/distinfo8 Jul 2023 05:13:51 -
> @@ -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-SConscript14 May 2023 
> 14:23:40 -  1.8
> +++ devel/arm-compute-library/patches/patch-SConscript8 Jul 2023 
> 05:13:51 -
> @@ -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-SConstruct14 May 2023 
> 14:23:40 -  1.8
> +++ devel/arm-compute-library/patches/patch-SConstruct8 Jul 2023 
> 05:13:51 -
> @@ -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 

UPDATE: arm-compute-library 23.05.1

2023-07-07 Thread Kevin Lo
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 -  1.10
+++ devel/arm-compute-library/Makefile  8 Jul 2023 05:13:51 -
@@ -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 
 
 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 -  1.7
+++ devel/arm-compute-library/distinfo  8 Jul 2023 05:13:51 -
@@ -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 
-  1.8
+++ devel/arm-compute-library/patches/patch-SConscript  8 Jul 2023 05:13:51 
-
@@ -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 
-  1.8
+++ devel/arm-compute-library/patches/patch-SConstruct  8 Jul 2023 05:13:51 
-
@@ -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 -  1.7
+++ devel/arm-compute-library/pkg/PLIST 8 Jul 2023 05:13:51 -
@@ -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