Skip to content

Commit

Permalink
Work around svt-av1 vs. libaom symbol collision
Browse files Browse the repository at this point in the history
  • Loading branch information
BtbN committed Dec 31, 2024
1 parent 7a963e6 commit 2b7d496
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts.d/50-svtav1.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ ffbuild_dockerdl() {
ffbuild_dockerbuild() {
mkdir build && cd build

export CFLAGS="$CFLAGS -Dav1_cospi_arr_s32_data=svt_av1_cospi_arr_s32_data"

cmake -DCMAKE_TOOLCHAIN_FILE="$FFBUILD_CMAKE_TOOLCHAIN" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$FFBUILD_PREFIX" -DBUILD_SHARED_LIBS=OFF -DBUILD_TESTING=OFF -DBUILD_APPS=OFF -DENABLE_AVX512=ON ..
make -j$(nproc)
make install
Expand Down

0 comments on commit 2b7d496

Please sign in to comment.