File tree Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Expand file tree Collapse file tree 2 files changed +14
-6
lines changed Original file line number Diff line number Diff line change 5050
5151 - name : Install packages
5252 # `llvm-14-tools` is needed to install the `FileCheck` binary which is used for asm tests.
53- run : sudo apt-get install ninja-build ripgrep llvm-14-tools llvm libstdc++6
54-
55- - run : g++ -v
56-
57- - run : find / -name libstdc++.so | true
53+ run : sudo apt-get install ninja-build ripgrep llvm-14-tools llvm
5854
5955 - name : Install rustfmt & clippy
6056 run : rustup component add rustfmt clippy
6763 sudo dpkg --force-overwrite -i ${{ matrix.libgccjit_version.gcc }}
6864 echo 'gcc-path = "/usr/lib/"' > config.toml
6965
66+ # Some run-make tests fail if we use our forked GCC because it doesn't
67+ # bundle libstdc++, so we switch to gcc-14 to have a GCC that has
68+ # libstdc++.
69+ - name : Set default GCC to gcc-14
70+ run : sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-14 30
71+
7072 - name : Set env
7173 run : |
7274 echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
Original file line number Diff line number Diff line change 3939
4040 - name : Install packages
4141 # `llvm-14-tools` is needed to install the `FileCheck` binary which is used for run-make tests.
42- run : sudo apt-get install ninja-build ripgrep llvm-14-tools llvm libstdc++6
42+ run : sudo apt-get install ninja-build ripgrep llvm-14-tools llvm
4343
4444 - name : Download artifact
4545 run : curl -LO https://github.com/rust-lang/gcc/releases/latest/download/gcc-15.deb
4949 sudo dpkg --force-overwrite -i gcc-15.deb
5050 echo 'gcc-path = "/usr/lib/"' > config.toml
5151
52+ # Some run-make tests fail if we use our forked GCC because it doesn't
53+ # bundle libstdc++, so we switch to gcc-14 to have a GCC that has
54+ # libstdc++.
55+ - name : Set default GCC to gcc-14
56+ run : sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-14 30
57+
5258 - name : Set env
5359 run : |
5460 echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments