File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -160,7 +160,10 @@ jobs:
160160 CIBW_ENVIRONMENT_PASS_LINUX : CIBW_ARCHS
161161 CIBW_ENVIRONMENT_WINDOWS : CTRANSLATE2_ROOT='${{ github.workspace }}\install'
162162 CIBW_ENVIRONMENT_MACOS : " CTRANSLATE2_ROOT='/usr/local' MACOSX_DEPLOYMENT_TARGET=10.13"
163- CIBW_BEFORE_ALL_LINUX : dnf install -y gcc-toolset-12-gcc gcc-toolset-12-gcc-c++ && source /opt/rh/gcc-toolset-12/enable && python/tools/prepare_build_environment_linux.sh
163+ CIBW_BEFORE_ALL_LINUX : dnf remove gcc-toolset-13* && \
164+ dnf install -y gcc-toolset-12-gcc gcc-toolset-12-gcc-c++ && \
165+ source /opt/rh/gcc-toolset-12/enable && \
166+ python/tools/prepare_build_environment_linux.sh
164167 CIBW_BEFORE_ALL_MACOS : python/tools/prepare_build_environment_macos.sh
165168 CIBW_BEFORE_ALL_WINDOWS : bash python/tools/prepare_build_environment_windows.sh
166169 CIBW_BEFORE_BUILD : pip install -r python/install_requirements.txt
You can’t perform that action at this time.
0 commit comments