Skip to content

Commit c570edb

Browse files
committed
print dependencies of all libs
1 parent 2f2a38a commit c570edb

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

.github/workflows/windows_source_build.yaml

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,6 @@ jobs:
4848
# Install FFmpeg and its development headers
4949
conda install "ffmpeg=${{ matrix.ffmpeg-version }}" -c conda-forge --quiet
5050
51-
# Try to install FFmpeg development package if available
52-
conda install ffmpeg-dev -c conda-forge --quiet || echo "ffmpeg-dev not available, continuing..."
53-
5451
ffmpeg -version
5552
5653
# On Windows, ensure the conda Library/bin directory is in PATH
@@ -88,11 +85,6 @@ jobs:
8885
# Install pkg-config and pybind11 which are needed for Windows builds
8986
conda install -y pkg-config pybind11 -c conda-forge --quiet
9087
91-
# Install FFmpeg development dependencies that are needed for linking on Windows
92-
conda install -y ffmpeg-dev harfbuzz-dev freetype-dev fontconfig-dev -c conda-forge --quiet || true
93-
94-
# Alternative: install common FFmpeg dependencies individually
95-
conda install -y harfbuzz freetype fontconfig expat libxml2 zlib libbz2 openssl -c conda-forge --quiet || true
9688
9789
# Verify pkg-config can find FFmpeg
9890
echo "Testing pkg-config for FFmpeg libraries:"
@@ -103,9 +95,25 @@ jobs:
10395
# Show what libraries pkg-config thinks we need
10496
echo "pkg-config --libs libavcodec:"
10597
pkg-config --libs libavcodec || true
98+
10699
echo "pkg-config --libs libavformat:"
107100
pkg-config --libs libavformat || true
108101
102+
echo "pkg-config --libs libavutil:"
103+
pkg-config --libs libavutil || true
104+
105+
echo "pkg-config --libs libswscale:"
106+
pkg-config --libs libswscale|| true
107+
108+
pkg-config --libs libswresample|| true
109+
echo "pkg-config --libs libswresample:"
110+
111+
echo "pkg-config --libs libavfilter:"
112+
pkg-config --libs libavfilter || true
113+
114+
echo "pkg-config --libs libavdevice:"
115+
pkg-config --libs libavdevice || true
116+
109117
- name: Update pip and install PyTorch
110118
run: |
111119
python -m pip install --upgrade pip

0 commit comments

Comments
 (0)