Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 18 Aug 2023 11:57:00 +0100
From:      Nuno Teixeira <eduardo@freebsd.org>
To:        Jan Beich <jbeich@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org,  dev-commits-ports-main@freebsd.org
Subject:   Re: git: f0f115af84c3 - main - multimedia/aom: update to 3.7.0.r1
Message-ID:  <CAFDf7UJs8RkNUhPQHhs393Vtg_wsE4y-Rzctr_B2kGsUwY%2BQ0Q@mail.gmail.com>
In-Reply-To: <202308170058.37H0w4d8078202@gitrepo.freebsd.org>
References:  <202308170058.37H0w4d8078202@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000245ca4060330648b
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Hello Jan,

aom is failing on configure, 14-ALPHA1/aarch64:
#######################
-- The C compiler identification is Clang 16.0.6
-- The CXX compiler identification is Clang 16.0.6
<snip>
--- aom_configure: Detected CPU: arm64
-- The ASM compiler identification is unknown
-- Found assembler: as
CMake Error at build/cmake/aom_configure.cmake:212 (enable_language):
  The CMAKE_ASM_COMPILER:

    as

  is not a full path and was not found in the PATH.

  Tell CMake where to find the compiler by setting either the environment
  variable "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full
path
  to the compiler, or to the compiler name if it is in the PATH.
Call Stack (most recent call first):
  CMakeLists.txt:73 (include)


-- Warning: Did not find file Compiler/-ASM
-- Configuring incomplete, errors occurred!
*** Error code 1
#######################

Any clues?

Thanks,

Jan Beich <jbeich@freebsd.org> escreveu no dia quinta, 17/08/2023 =C3=A0(s)
01:58:

> The branch main has been updated by jbeich:
>
> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=3Df0f115af84c322c272f76bf279e17=
13494f2dc5b
>
> commit f0f115af84c322c272f76bf279e1713494f2dc5b
> Author:     Jan Beich <jbeich@FreeBSD.org>
> AuthorDate: 2023-08-14 21:22:47 +0000
> Commit:     Jan Beich <jbeich@FreeBSD.org>
> CommitDate: 2023-08-17 00:57:39 +0000
>
>     multimedia/aom: update to 3.7.0.r1
>
>     Changes:
> https://aomedia.googlesource.com/aom/+log/v3.6.1..v3.7.0-rc1
>     Reported by:    Repology, portscout
> ---
>  multimedia/aom/Makefile                            |  2 +-
>  multimedia/aom/distinfo                            |  6 +++---
>  multimedia/aom/files/patch-CMakeLists.txt          | 19 +++++++++++++---=
--
>  .../files/patch-build_cmake_aom__configure.cmake   | 23
> ++--------------------
>  multimedia/aom/files/patch-build_cmake_cpu.cmake   |  8 ++++----
>  multimedia/aom/pkg-plist                           |  4 ++--
>  6 files changed, 26 insertions(+), 36 deletions(-)
>
> diff --git a/multimedia/aom/Makefile b/multimedia/aom/Makefile
> index 45c2082af512..93209b9d28c7 100644
> --- a/multimedia/aom/Makefile
> +++ b/multimedia/aom/Makefile
> @@ -1,6 +1,6 @@
>  PORTNAME=3D      aom
>  DISTVERSIONPREFIX=3D     v
> -DISTVERSION=3D   3.6.1
> +DISTVERSION=3D   3.7.0-rc1
>  CATEGORIES=3D    multimedia
>
>  MAINTAINER=3D    jbeich@FreeBSD.org
> diff --git a/multimedia/aom/distinfo b/multimedia/aom/distinfo
> index 4511c2537d6b..949e2bf663d4 100644
> --- a/multimedia/aom/distinfo
> +++ b/multimedia/aom/distinfo
> @@ -1,3 +1,3 @@
> -TIMESTAMP =3D 1683569872
> -SHA256 (jbeich-aom-v3.6.1_GH0.tar.gz) =3D
> 679c41b41a50b9c5a8faa1ba919e0c239aae7fe857525e223ff20c56997f119f
> -SIZE (jbeich-aom-v3.6.1_GH0.tar.gz) =3D 5269397
> +TIMESTAMP =3D 1692048167
> +SHA256 (jbeich-aom-v3.7.0-rc1_GH0.tar.gz) =3D
> 99fad4d57a763f105b080c6ea483be2287a62929777319e293610618c3369063
> +SIZE (jbeich-aom-v3.7.0-rc1_GH0.tar.gz) =3D 5355997
> diff --git a/multimedia/aom/files/patch-CMakeLists.txt
> b/multimedia/aom/files/patch-CMakeLists.txt
> index 91b299b29a9d..bddd24159c96 100644
> --- a/multimedia/aom/files/patch-CMakeLists.txt
> +++ b/multimedia/aom/files/patch-CMakeLists.txt
> @@ -1,18 +1,27 @@
> +- Add missing dependency for aom_static used by ENABLE_EXAMPLES
>  - Drop unused static libhwy dependency when using shared libjxl
>
> ---- CMakeLists.txt.orig        2022-06-16 19:13:50 UTC
> +--- CMakeLists.txt.orig        2023-08-14 21:22:47 UTC
>  +++ CMakeLists.txt
> -@@ -565,13 +565,6 @@ if(CONFIG_AV1_ENCODER)
> +@@ -568,17 +568,14 @@ if(CONFIG_AV1_ENCODER)
> +       target_include_directories(aom_dsp_encoder PRIVATE
> ${LIBJXL_INCLUDE_DIRS})
> +     else()
> +       pkg_check_modules(LIBJXL REQUIRED libjxl)
> ++      if(BUILD_SHARED_LIBS)
> ++        target_link_libraries(aom_static
> ++                              PRIVATE ${LIBJXL_LDFLAGS}
> ${LIBJXL_LIBRARIES})
> ++      endif()
> +       target_link_libraries(aom PRIVATE ${LIBJXL_LDFLAGS}
> ${LIBJXL_LIBRARIES})
> +       target_include_directories(aom_dsp_encoder PRIVATE
> ${LIBJXL_INCLUDE_DIRS})
>         if(LIBJXL_CFLAGS)
>           append_compiler_flag("${LIBJXL_CFLAGS}")
> -       endif()
> +-      endif()
>  -      pkg_check_modules(LIBHWY REQUIRED libhwy)
>  -      target_link_libraries(aom PRIVATE ${LIBHWY_LDFLAGS}
> ${LIBHWY_LIBRARIES})
>  -      target_include_directories(aom_dsp_encoder
>  -                                 PRIVATE ${LIBLIBHWY_INCLUDE_DIRS})
>  -      if(LIBHWY_CFLAGS)
>  -        append_compiler_flag("${LIBHWY_CFLAGS}")
> --      endif()
> +       endif()
>       endif()
>
> -     set_target_properties(aom PROPERTIES LINKER_LANGUAGE CXX)
> diff --git a/multimedia/aom/files/patch-build_cmake_aom__configure.cmake
> b/multimedia/aom/files/patch-build_cmake_aom__configure.cmake
> index 5b2650ea5d63..20add2621400 100644
> --- a/multimedia/aom/files/patch-build_cmake_aom__configure.cmake
> +++ b/multimedia/aom/files/patch-build_cmake_aom__configure.cmake
> @@ -1,9 +1,8 @@
>  - FreeBSD and NetBSD powerpc* targets don't abbreviate to ppc*
> -- ARM uses compiler intrinsics, so don't require GNU as
>
> ---- build/cmake/aom_configure.cmake.orig       2021-02-23 19:51:03 UTC
> +--- build/cmake/aom_configure.cmake.orig       2023-08-14 21:22:47 UTC
>  +++ build/cmake/aom_configure.cmake
> -@@ -71,7 +71,7 @@ if(NOT AOM_TARGET_CPU)
> +@@ -75,7 +75,7 @@ if(NOT AOM_TARGET_CPU)
>       set(AOM_TARGET_CPU "${cpu_lowercase}")
>     elseif(cpu_lowercase MATCHES "aarch64")
>       set(AOM_TARGET_CPU "arm64")
> @@ -12,21 +11,3 @@
>       set(AOM_TARGET_CPU "ppc")
>     else()
>       message(WARNING "The architecture ${CMAKE_SYSTEM_PROCESSOR} is not =
"
> -@@ -159,17 +159,6 @@ elseif(AOM_TARGET_CPU MATCHES "arm")
> -     if(NOT AS_EXECUTABLE)
> -       set(AS_EXECUTABLE as)
> -     endif()
> --  endif()
> --  find_program(as_executable_found ${AS_EXECUTABLE})
> --  if(NOT as_executable_found)
> --    message(
> --      FATAL_ERROR
> --        "Unable to find assembler and optimizations are enabled."
> --        "Searched for ${AS_EXECUTABLE}. Install it, add it to your path=
,
> or "
> --        "set the assembler directly by adding -DAS_EXECUTABLE=3D<assemb=
ler
> path> "
> --        "to your CMake command line."
> --        "To build without optimizations, add -DAOM_TARGET_CPU=3Dgeneric=
 to
> your "
> --        "cmake command line.")
> -   endif()
> -   string(STRIP "${AOM_AS_FLAGS}" AOM_AS_FLAGS)
> - endif()
> diff --git a/multimedia/aom/files/patch-build_cmake_cpu.cmake
> b/multimedia/aom/files/patch-build_cmake_cpu.cmake
> index 26fe6890c69c..462c1f1e0aab 100644
> --- a/multimedia/aom/files/patch-build_cmake_cpu.cmake
> +++ b/multimedia/aom/files/patch-build_cmake_cpu.cmake
> @@ -1,6 +1,6 @@
>  - Don't enable NEON on armv6 similar to build/cmake/rtcd.pl
>
> ---- build/cmake/cpu.cmake.orig 2018-11-16 20:24:20 UTC
> +--- build/cmake/cpu.cmake.orig 2023-08-14 21:22:47 UTC
>  +++ build/cmake/cpu.cmake
>  @@ -9,7 +9,7 @@
>   # can obtain it at www.aomedia.org/license/patent.
> @@ -8,6 +8,6 @@
>
>  -if("${AOM_TARGET_CPU}" MATCHES "^arm")
>  +if("${AOM_TARGET_CPU}" MATCHES "^arm" AND NOT "${AOM_TARGET_CPU}"
> MATCHES "^armv6")
> -   set(ARCH_ARM 1)
> -   set(RTCD_ARCH_ARM "yes")
> -
> +   set(AOM_ARCH_ARM 1)
> +   if("${AOM_TARGET_CPU}" STREQUAL "arm64")
> +     set(AOM_ARCH_AARCH64 1)
> diff --git a/multimedia/aom/pkg-plist b/multimedia/aom/pkg-plist
> index c5e9b4947997..4ade64aa8fb4 100644
> --- a/multimedia/aom/pkg-plist
> +++ b/multimedia/aom/pkg-plist
> @@ -10,8 +10,8 @@ include/aom/aom_image.h
>  include/aom/aom_integer.h
>  include/aom/aomcx.h
>  include/aom/aomdx.h
> -lib/libaom.a
>  lib/libaom.so
>  lib/libaom.so.3
> -lib/libaom.so.3.6.1
> +lib/libaom.so.3.7.0
> +lib/libaom_static.a
>  libdata/pkgconfig/aom.pc
>


--=20
Nuno Teixeira
FreeBSD Committer (ports)

--000000000000245ca4060330648b
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>Hello Jan,</div><div><br></div><div>aom is failing on=
 configure, 14-ALPHA1/aarch64:</div><div>#######################<br></div><=
div>-- The C compiler identification is Clang 16.0.6<br>-- The CXX compiler=
 identification is Clang 16.0.6<br>&lt;snip&gt;<br>--- aom_configure: Detec=
ted CPU: arm64<br>-- The ASM compiler identification is unknown<br>-- Found=
 assembler: as<br>CMake Error at build/cmake/aom_configure.cmake:212 (enabl=
e_language):<br>=C2=A0 The CMAKE_ASM_COMPILER:<br><br>=C2=A0 =C2=A0 as<br><=
br>=C2=A0 is not a full path and was not found in the PATH.<br><br>=C2=A0 T=
ell CMake where to find the compiler by setting either the environment<br>=
=C2=A0 variable &quot;ASM&quot; or the CMake cache entry CMAKE_ASM_COMPILER=
 to the full path<br>=C2=A0 to the compiler, or to the compiler name if it =
is in the PATH.<br>Call Stack (most recent call first):<br>=C2=A0 CMakeList=
s.txt:73 (include)<br><br><br>-- Warning: Did not find file Compiler/-ASM<b=
r>-- Configuring incomplete, errors occurred!<br>*** Error code 1</div><div=
>#######################</div><div><br></div><div>Any clues?</div><div><br>=
</div><div>Thanks,<br></div></div><br><div class=3D"gmail_quote"><div dir=
=3D"ltr" class=3D"gmail_attr">Jan Beich &lt;<a href=3D"mailto:jbeich@freebs=
d.org">jbeich@freebsd.org</a>&gt; escreveu no dia quinta, 17/08/2023 =C3=A0=
(s) 01:58:<br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0=
px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">The b=
ranch main has been updated by jbeich:<br>
<br>
URL: <a href=3D"https://cgit.FreeBSD.org/ports/commit/?id=3Df0f115af84c322c=
272f76bf279e1713494f2dc5b" rel=3D"noreferrer" target=3D"_blank">https://cgi=
t.FreeBSD.org/ports/commit/?id=3Df0f115af84c322c272f76bf279e1713494f2dc5b</=
a><br>
<br>
commit f0f115af84c322c272f76bf279e1713494f2dc5b<br>
Author:=C2=A0 =C2=A0 =C2=A0Jan Beich &lt;jbeich@FreeBSD.org&gt;<br>
AuthorDate: 2023-08-14 21:22:47 +0000<br>
Commit:=C2=A0 =C2=A0 =C2=A0Jan Beich &lt;jbeich@FreeBSD.org&gt;<br>
CommitDate: 2023-08-17 00:57:39 +0000<br>
<br>
=C2=A0 =C2=A0 multimedia/aom: update to 3.7.0.r1<br>
<br>
=C2=A0 =C2=A0 Changes:=C2=A0 =C2=A0 =C2=A0 =C2=A0 <a href=3D"https://aomedi=
a.googlesource.com/aom/+log/v3.6.1..v3.7.0-rc1" rel=3D"noreferrer" target=
=3D"_blank">https://aomedia.googlesource.com/aom/+log/v3.6.1..v3.7.0-rc1</a=
><br>
=C2=A0 =C2=A0 Reported by:=C2=A0 =C2=A0 Repology, portscout<br>
---<br>
=C2=A0multimedia/aom/Makefile=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 2 +-<br>
=C2=A0multimedia/aom/distinfo=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 |=C2=A0 6 +++---<br>
=C2=A0multimedia/aom/files/patch-CMakeLists.txt=C2=A0 =C2=A0 =C2=A0 =C2=A0 =
=C2=A0 | 19 +++++++++++++-----<br>
=C2=A0.../files/patch-build_cmake_aom__configure.cmake=C2=A0 =C2=A0| 23 ++-=
-------------------<br>
=C2=A0multimedia/aom/files/patch-build_cmake_cpu.cmake=C2=A0 =C2=A0|=C2=A0 =
8 ++++----<br>
=C2=A0multimedia/aom/pkg-plist=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0|=C2=A0 4 ++--<br>
=C2=A06 files changed, 26 insertions(+), 36 deletions(-)<br>
<br>
diff --git a/multimedia/aom/Makefile b/multimedia/aom/Makefile<br>
index 45c2082af512..93209b9d28c7 100644<br>
--- a/multimedia/aom/Makefile<br>
+++ b/multimedia/aom/Makefile<br>
@@ -1,6 +1,6 @@<br>
=C2=A0PORTNAME=3D=C2=A0 =C2=A0 =C2=A0 aom<br>
=C2=A0DISTVERSIONPREFIX=3D=C2=A0 =C2=A0 =C2=A0v<br>
-DISTVERSION=3D=C2=A0 =C2=A03.6.1<br>
+DISTVERSION=3D=C2=A0 =C2=A03.7.0-rc1<br>
=C2=A0CATEGORIES=3D=C2=A0 =C2=A0 multimedia<br>
<br>
=C2=A0MAINTAINER=3D=C2=A0 =C2=A0 jbeich@FreeBSD.org<br>
diff --git a/multimedia/aom/distinfo b/multimedia/aom/distinfo<br>
index 4511c2537d6b..949e2bf663d4 100644<br>
--- a/multimedia/aom/distinfo<br>
+++ b/multimedia/aom/distinfo<br>
@@ -1,3 +1,3 @@<br>
-TIMESTAMP =3D 1683569872<br>
-SHA256 (jbeich-aom-v3.6.1_GH0.tar.gz) =3D 679c41b41a50b9c5a8faa1ba919e0c23=
9aae7fe857525e223ff20c56997f119f<br>
-SIZE (jbeich-aom-v3.6.1_GH0.tar.gz) =3D 5269397<br>
+TIMESTAMP =3D 1692048167<br>
+SHA256 (jbeich-aom-v3.7.0-rc1_GH0.tar.gz) =3D 99fad4d57a763f105b080c6ea483=
be2287a62929777319e293610618c3369063<br>
+SIZE (jbeich-aom-v3.7.0-rc1_GH0.tar.gz) =3D 5355997<br>
diff --git a/multimedia/aom/files/patch-CMakeLists.txt b/multimedia/aom/fil=
es/patch-CMakeLists.txt<br>
index 91b299b29a9d..bddd24159c96 100644<br>
--- a/multimedia/aom/files/patch-CMakeLists.txt<br>
+++ b/multimedia/aom/files/patch-CMakeLists.txt<br>
@@ -1,18 +1,27 @@<br>
+- Add missing dependency for aom_static used by ENABLE_EXAMPLES<br>
=C2=A0- Drop unused static libhwy dependency when using shared libjxl<br>
<br>
---- CMakeLists.txt.orig=C2=A0 =C2=A0 =C2=A0 =C2=A0 2022-06-16 19:13:50 UTC=
<br>
+--- CMakeLists.txt.orig=C2=A0 =C2=A0 =C2=A0 =C2=A0 2023-08-14 21:22:47 UTC=
<br>
=C2=A0+++ CMakeLists.txt<br>
-@@ -565,13 +565,6 @@ if(CONFIG_AV1_ENCODER)<br>
+@@ -568,17 +568,14 @@ if(CONFIG_AV1_ENCODER)<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0target_include_directories(aom_dsp_encoder PRIV=
ATE ${LIBJXL_INCLUDE_DIRS})<br>
+=C2=A0 =C2=A0 =C2=A0else()<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0pkg_check_modules(LIBJXL REQUIRED libjxl)<br>
++=C2=A0 =C2=A0 =C2=A0 if(BUILD_SHARED_LIBS)<br>
++=C2=A0 =C2=A0 =C2=A0 =C2=A0 target_link_libraries(aom_static<br>
++=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 PRIVATE ${LIBJXL_LDFLAGS} ${LIBJXL_LIBRARIE=
S})<br>
++=C2=A0 =C2=A0 =C2=A0 endif()<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0target_link_libraries(aom PRIVATE ${LIBJXL_LDFL=
AGS} ${LIBJXL_LIBRARIES})<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0target_include_directories(aom_dsp_encoder PRIV=
ATE ${LIBJXL_INCLUDE_DIRS})<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 if(LIBJXL_CFLAGS)<br>
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 append_compiler_flag(&quot;${LIBJXL_CFLA=
GS}&quot;)<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0endif()<br>
+-=C2=A0 =C2=A0 =C2=A0 endif()<br>
=C2=A0-=C2=A0 =C2=A0 =C2=A0 pkg_check_modules(LIBHWY REQUIRED libhwy)<br>
=C2=A0-=C2=A0 =C2=A0 =C2=A0 target_link_libraries(aom PRIVATE ${LIBHWY_LDFL=
AGS} ${LIBHWY_LIBRARIES})<br>
=C2=A0-=C2=A0 =C2=A0 =C2=A0 target_include_directories(aom_dsp_encoder<br>
=C2=A0-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=
=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0PRIVATE ${LIBLIBHWY_INC=
LUDE_DIRS})<br>
=C2=A0-=C2=A0 =C2=A0 =C2=A0 if(LIBHWY_CFLAGS)<br>
=C2=A0-=C2=A0 =C2=A0 =C2=A0 =C2=A0 append_compiler_flag(&quot;${LIBHWY_CFLA=
GS}&quot;)<br>
--=C2=A0 =C2=A0 =C2=A0 endif()<br>
+=C2=A0 =C2=A0 =C2=A0 =C2=A0endif()<br>
=C2=A0 =C2=A0 =C2=A0 endif()<br>
<br>
-=C2=A0 =C2=A0 =C2=A0set_target_properties(aom PROPERTIES LINKER_LANGUAGE C=
XX)<br>
diff --git a/multimedia/aom/files/patch-build_cmake_aom__configure.cmake b/=
multimedia/aom/files/patch-build_cmake_aom__configure.cmake<br>
index 5b2650ea5d63..20add2621400 100644<br>
--- a/multimedia/aom/files/patch-build_cmake_aom__configure.cmake<br>
+++ b/multimedia/aom/files/patch-build_cmake_aom__configure.cmake<br>
@@ -1,9 +1,8 @@<br>
=C2=A0- FreeBSD and NetBSD powerpc* targets don&#39;t abbreviate to ppc*<br=
>
-- ARM uses compiler intrinsics, so don&#39;t require GNU as<br>
<br>
---- build/cmake/aom_configure.cmake.orig=C2=A0 =C2=A0 =C2=A0 =C2=A02021-02=
-23 19:51:03 UTC<br>
+--- build/cmake/aom_configure.cmake.orig=C2=A0 =C2=A0 =C2=A0 =C2=A02023-08=
-14 21:22:47 UTC<br>
=C2=A0+++ build/cmake/aom_configure.cmake<br>
-@@ -71,7 +71,7 @@ if(NOT AOM_TARGET_CPU)<br>
+@@ -75,7 +75,7 @@ if(NOT AOM_TARGET_CPU)<br>
=C2=A0 =C2=A0 =C2=A0 set(AOM_TARGET_CPU &quot;${cpu_lowercase}&quot;)<br>
=C2=A0 =C2=A0 elseif(cpu_lowercase MATCHES &quot;aarch64&quot;)<br>
=C2=A0 =C2=A0 =C2=A0 set(AOM_TARGET_CPU &quot;arm64&quot;)<br>
@@ -12,21 +11,3 @@<br>
=C2=A0 =C2=A0 =C2=A0 set(AOM_TARGET_CPU &quot;ppc&quot;)<br>
=C2=A0 =C2=A0 else()<br>
=C2=A0 =C2=A0 =C2=A0 message(WARNING &quot;The architecture ${CMAKE_SYSTEM_=
PROCESSOR} is not &quot;<br>
-@@ -159,17 +159,6 @@ elseif(AOM_TARGET_CPU MATCHES &quot;arm&quot;)<br>
-=C2=A0 =C2=A0 =C2=A0if(NOT AS_EXECUTABLE)<br>
-=C2=A0 =C2=A0 =C2=A0 =C2=A0set(AS_EXECUTABLE as)<br>
-=C2=A0 =C2=A0 =C2=A0endif()<br>
--=C2=A0 endif()<br>
--=C2=A0 find_program(as_executable_found ${AS_EXECUTABLE})<br>
--=C2=A0 if(NOT as_executable_found)<br>
--=C2=A0 =C2=A0 message(<br>
--=C2=A0 =C2=A0 =C2=A0 FATAL_ERROR<br>
--=C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;Unable to find assembler and optimizati=
ons are enabled.&quot;<br>
--=C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;Searched for ${AS_EXECUTABLE}. Install =
it, add it to your path, or &quot;<br>
--=C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;set the assembler directly by adding -D=
AS_EXECUTABLE=3D&lt;assembler path&gt; &quot;<br>
--=C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;to your CMake command line.&quot;<br>
--=C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;To build without optimizations, add -DA=
OM_TARGET_CPU=3Dgeneric to your &quot;<br>
--=C2=A0 =C2=A0 =C2=A0 =C2=A0 &quot;cmake command line.&quot;)<br>
-=C2=A0 =C2=A0endif()<br>
-=C2=A0 =C2=A0string(STRIP &quot;${AOM_AS_FLAGS}&quot; AOM_AS_FLAGS)<br>
- endif()<br>
diff --git a/multimedia/aom/files/patch-build_cmake_cpu.cmake b/multimedia/=
aom/files/patch-build_cmake_cpu.cmake<br>
index 26fe6890c69c..462c1f1e0aab 100644<br>
--- a/multimedia/aom/files/patch-build_cmake_cpu.cmake<br>
+++ b/multimedia/aom/files/patch-build_cmake_cpu.cmake<br>
@@ -1,6 +1,6 @@<br>
=C2=A0- Don&#39;t enable NEON on armv6 similar to build/cmake/<a href=3D"ht=
tp://rtcd.pl" rel=3D"noreferrer" target=3D"_blank">rtcd.pl</a><br>
<br>
---- build/cmake/cpu.cmake.orig 2018-11-16 20:24:20 UTC<br>
+--- build/cmake/cpu.cmake.orig 2023-08-14 21:22:47 UTC<br>
=C2=A0+++ build/cmake/cpu.cmake<br>
=C2=A0@@ -9,7 +9,7 @@<br>
=C2=A0 # can obtain it at <a href=3D"http://www.aomedia.org/license/patent"=
 rel=3D"noreferrer" target=3D"_blank">www.aomedia.org/license/patent</a>.<b=
r>
@@ -8,6 +8,6 @@<br>
<br>
=C2=A0-if(&quot;${AOM_TARGET_CPU}&quot; MATCHES &quot;^arm&quot;)<br>
=C2=A0+if(&quot;${AOM_TARGET_CPU}&quot; MATCHES &quot;^arm&quot; AND NOT &q=
uot;${AOM_TARGET_CPU}&quot; MATCHES &quot;^armv6&quot;)<br>
-=C2=A0 =C2=A0set(ARCH_ARM 1)<br>
-=C2=A0 =C2=A0set(RTCD_ARCH_ARM &quot;yes&quot;)<br>
- <br>
+=C2=A0 =C2=A0set(AOM_ARCH_ARM 1)<br>
+=C2=A0 =C2=A0if(&quot;${AOM_TARGET_CPU}&quot; STREQUAL &quot;arm64&quot;)<=
br>
+=C2=A0 =C2=A0 =C2=A0set(AOM_ARCH_AARCH64 1)<br>
diff --git a/multimedia/aom/pkg-plist b/multimedia/aom/pkg-plist<br>
index c5e9b4947997..4ade64aa8fb4 100644<br>
--- a/multimedia/aom/pkg-plist<br>
+++ b/multimedia/aom/pkg-plist<br>
@@ -10,8 +10,8 @@ include/aom/aom_image.h<br>
=C2=A0include/aom/aom_integer.h<br>
=C2=A0include/aom/aomcx.h<br>
=C2=A0include/aom/aomdx.h<br>
-lib/libaom.a<br>
=C2=A0lib/libaom.so<br>
=C2=A0lib/libaom.so.3<br>
-lib/libaom.so.3.6.1<br>
+lib/libaom.so.3.7.0<br>
+lib/libaom_static.a<br>
=C2=A0libdata/pkgconfig/aom.pc<br>
</blockquote></div><br clear=3D"all"><br><span class=3D"gmail_signature_pre=
fix">-- </span><br><div dir=3D"ltr" class=3D"gmail_signature"><div dir=3D"l=
tr"><span style=3D"color:rgb(102,102,102)">Nuno Teixeira<br>FreeBSD Committ=
er (ports)</span></div></div>

--000000000000245ca4060330648b--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFDf7UJs8RkNUhPQHhs393Vtg_wsE4y-Rzctr_B2kGsUwY%2BQ0Q>