Skip to content

Commit 70fabb4

Browse files
authored
Update to libaom v3.13.2 (#3108)
Remove the workaround for issue #3103.
1 parent b3be0b9 commit 70fabb4

4 files changed

Lines changed: 3 additions & 37 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@ The changes are relative to the previous release, unless the baseline is specifi
1111
### Changed since 1.4.0
1212

1313
* Fix build with CMake 3.22
14+
* Update aom.cmd/LocalAom.cmake: v3.13.2
1415
* Update libxml2.cmd/LocalLibXml2.cmake: v2.15.2
1516
* Update libyuv.cmd/LocalLibyuv.cmake: 6067afde5 (1922)
16-
* Fix libaom v3.13.1 build with nasm
1717
* Support long path names in Windows
1818

1919
### Removed since 1.4.0

cmake/Modules/LocalAom.cmake

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
set(AVIF_AOM_GIT_TAG v3.13.1)
1+
set(AVIF_AOM_GIT_TAG v3.13.2)
22

33
set(AOM_EXT_SOURCE_DIR "${AVIF_SOURCE_DIR}/ext/aom")
44
set(LIB_FILENAME "${AOM_EXT_SOURCE_DIR}/build.libavif/${CMAKE_STATIC_LIBRARY_PREFIX}aom${CMAKE_STATIC_LIBRARY_SUFFIX}")
@@ -75,18 +75,6 @@ else()
7575
GIT_PROGRESS ON
7676
GIT_SHALLOW ON
7777
UPDATE_COMMAND ""
78-
# Avoid the following error:
79-
# CMake Error at build/_deps/libaom-src/build/cmake/aom_optimization.cmake:219 (message):
80-
# Unsupported nasm: multipass optimization not supported.
81-
# Call Stack (most recent call first):
82-
# build/_deps/libaom-src/build/cmake/aom_configure.cmake:172 (test_nasm)
83-
# build/_deps/libaom-src/CMakeLists.txt:73 (include)
84-
# TODO: Remove the patch when using a libaom version past
85-
# https://aomedia.googlesource.com/aom/+/6d2b7f71b98bfa28e372b1f2d85f137280bdb3de%5E%21/
86-
# TODO: Switch back to URL "https://aomedia.googlesource.com/aom/+archive/${AVIF_AOM_GIT_TAG}.tar.gz"
87-
# instead of GIT_* above when using a libaom version past
88-
# https://aomedia.googlesource.com/aom/+/6d2b7f71b98bfa28e372b1f2d85f137280bdb3de%5E%21/
89-
PATCH_COMMAND git apply ${AVIF_SOURCE_DIR}/cmake/Modules/LocalAom.diff
9078
)
9179

9280
if(NOT AVIF_CODEC_AOM_DECODE)

cmake/Modules/LocalAom.diff

Lines changed: 0 additions & 22 deletions
This file was deleted.

ext/aom.cmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
: # If you're running this on Windows, be sure you've already run this (from your VC2019 install dir):
99
: # "C:\Program Files (x86)\Microsoft Visual Studio\2019\Professional\VC\Auxiliary\Build\vcvars64.bat"
1010

11-
git clone -b v3.13.1 --depth 1 https://aomedia.googlesource.com/aom
11+
git clone -b v3.13.2 --depth 1 https://aomedia.googlesource.com/aom
1212

1313
cmake -G Ninja -S aom -B aom/build.libavif -DBUILD_SHARED_LIBS=OFF -DCONFIG_PIC=1 -DCMAKE_BUILD_TYPE=Release -DENABLE_DOCS=0 -DENABLE_EXAMPLES=0 -DENABLE_TESTDATA=0 -DENABLE_TESTS=0 -DENABLE_TOOLS=0
1414
cmake --build aom/build.libavif --config Release --parallel

0 commit comments

Comments
 (0)