Skip to content

Commit 7cabe1d

Browse files
alfgclaude
andcommitted
fix: use build-ffmpeg-builder dir for aom and svtav1 cmake builds
aom's source repo stores its cmake helpers inside build/cmake/ (e.g. aom_configure.cmake, aom_install.cmake). Using build/ as the cmake binary dir and then rm -rf'ing it deleted those source files, causing "include could not find requested file" errors on subsequent runs. Use build-ffmpeg-builder instead, consistent with the srt and vmaf ports. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent b5f2e71 commit 7cabe1d

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

scripts/_ports/aom.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,9 @@ PAR="$3"
77

88
AOM_VERSION="${PORT_AOM_VERSION:-v3.9.0}"
99
SRC_DIR="$SRC/aom"
10-
BUILD_DIR="$SRC_DIR/build"
10+
# aom's repo contains source cmake helpers at build/cmake/ so we must use a
11+
# different name to avoid clobbering them when we rm -rf the build directory.
12+
BUILD_DIR="$SRC_DIR/build-ffmpeg-builder"
1113

1214
mkdir -p "$SRC"
1315

scripts/_ports/svtav1.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ PAR="$3"
77

88
SVTAV1_VERSION="${PORT_SVTAV1_VERSION:-v2.2.1}"
99
SRC_DIR="$SRC/SVT-AV1"
10-
BUILD_DIR="$SRC_DIR/build"
10+
BUILD_DIR="$SRC_DIR/build-ffmpeg-builder"
1111

1212
mkdir -p "$SRC"
1313

0 commit comments

Comments
 (0)