@@ -103,8 +103,7 @@ jobs:
103103 fail-fast : false
104104 matrix :
105105 build : [ "manylinux_", "musllinux_" ]
106- # arch: [ "loongarch64", "ppc64le", "riscv64", "s390x" ]
107- arch : [ "ppc64le" ]
106+ arch : [ "loongarch64", "ppc64le", "riscv64", "s390x" ]
108107 steps :
109108 - uses : actions/checkout@v6
110109 - uses : actions/setup-python@v6
@@ -121,12 +120,16 @@ jobs:
121120 CC="/opt/clang/bin/clang"
122121 CXX="/opt/clang/bin/clang++"
123122 LDFLAGS="-fuse-ld=lld"
124- CIBW_ENVIRONMENT_PASS_LINUX : RUNNER_ARCH
123+ CIBW_ENVIRONMENT_PASS_LINUX : RUNNER_ARCH PIP_EXTRA_INDEX_URL
125124 CIBW_REPAIR_WHEEL_COMMAND_LINUX : LD_LIBRARY_PATH=/tmp/vendor/lib:$LD_LIBRARY_PATH auditwheel repair --exclude libmvec.so.1 --exclude libmvec-2.so --exclude libmvec.so --exclude libmvec -w {dest_dir} {wheel}
126125 CIBW_REPAIR_WHEEL_COMMAND_WINDOWS : delvewheel repair --add-path C:\cibw\vendor\bin -w {dest_dir} {wheel}
127126 CIBW_TEST_COMMAND : python -c "import dummy"
128127 run : |
129- pip install cibuildwheel delvewheel
128+ if [ "${{ matrix.arch }}" = "loongarch64" ]; then
129+ echo "PIP_EXTRA_INDEX_URL=https://gitlab.com/api/v4/projects/65746188/packages/pypi/simple" >> $GITHUB_ENV
130+ fi
131+ sed -i 's@use_cuda = plat in {"Linux", "Windows"} .*@use_cuda = False@g' scripts/build-ffmpeg.py
132+ pip install cibuildwheel delvewheel --extra-index-url https://gitlab.com/api/v4/projects/65746188/packages/pypi/simple
130133 cibuildwheel --output-dir output
131134 rm -f output/*.whl
132135 - name : Upload FFmpeg
0 commit comments