Skip to content

Commit 9bfc728

Browse files
committed
[CI] Set BUILD_AGAINST_ALL_FFMPEG_FROM_S3 for torchcodec source build
torchcodec's setup.py requires this env var when building a wheel to handle FFmpeg bundling. Without it, the build fails with a ValueError about license confirmation. Made-with: Cursor
1 parent 61ff2f4 commit 9bfc728

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/unittest/linux/scripts/run_all.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ fi
240240

241241
# install torchcodec (from source for nightly to match PyTorch ABI)
242242
if [[ "$RELEASE" == 0 ]]; then
243-
uv_pip_install --no-build-isolation git+https://github.com/meta-pytorch/torchcodec.git
243+
BUILD_AGAINST_ALL_FFMPEG_FROM_S3=1 uv_pip_install --no-build-isolation git+https://github.com/meta-pytorch/torchcodec.git
244244
else
245245
uv_pip_install torchcodec
246246
fi

0 commit comments

Comments
 (0)