We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3358fa8 commit bb655edCopy full SHA for bb655ed
packaging/post_build_script.sh
@@ -6,7 +6,12 @@ wheel_path=$(pwd)/$(find dist -type f -name "*.whl")
6
echo "Wheel content:"
7
unzip -l $wheel_path
8
9
-for ffmpeg_major_version in 4 5 6 7; do
+ffmpeg_versions=(4 5 6 7)
10
+if [ "$ENABLE_CUDA" -eq 1 ]; then
11
+ ffmpeg_versions=(5 6 7)
12
+fi
13
+
14
+for ffmpeg_major_version in ${ffmepg_versions[@]}; do
15
assert_in_wheel $wheel_path torchcodec/libtorchcodec${ffmpeg_major_version}.so
16
done
17
assert_not_in_wheel $wheel_path libtorchcodec.so
0 commit comments