Skip to content

Commit f592125

Browse files
FIX Hot fix for x86_64-pc-windows-gnu.
1 parent 13f8440 commit f592125

1 file changed

Lines changed: 10 additions & 1 deletion

File tree

.github/workflows/llvm-x86_64-pc-windows-gnu.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,16 @@ jobs:
2828
- name: Installing dependencies
2929
run: |
3030
apt-get update
31-
apt-get install -y build-essential cmake ninja-build python3 wget libz-dev binutils xz-utils gcc g++
31+
apt-get install -y software-properties-common
32+
33+
add-apt-repository -y ppa:ubuntu-toolchain-r/test
34+
apt-get update
35+
36+
apt-get purge -y gcc g++ || true
37+
apt-get install -y build-essential cmake ninja-build python3 wget libz-dev binutils xz-utils gcc-10 g++-10
38+
39+
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 100
40+
update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 100
3241
3342
apt-get purge --assume-yes g++-mingw-w64-x86-64 gfortran-mingw-w64-x86-64
3443
apt-get install --assume-yes g++-mingw-w64-x86-64 gfortran-mingw-w64-x86-64

0 commit comments

Comments
 (0)