File tree Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Expand file tree Collapse file tree 2 files changed +11
-4
lines changed Original file line number Diff line number Diff line change 52
52
# `llvm-14-tools` is needed to install the `FileCheck` binary which is used for asm tests.
53
53
run : sudo apt-get install ninja-build ripgrep llvm-14-tools llvm libstdc++6
54
54
55
- - run : g++ -v
56
-
57
- - run : find / -name libstdc++.so | true
58
-
59
55
- name : Install rustfmt & clippy
60
56
run : rustup component add rustfmt clippy
61
57
67
63
sudo dpkg --force-overwrite -i ${{ matrix.libgccjit_version.gcc }}
68
64
echo 'gcc-path = "/usr/lib/"' > config.toml
69
65
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
+
70
72
- name : Set env
71
73
run : |
72
74
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
Original file line number Diff line number Diff line change 49
49
sudo dpkg --force-overwrite -i gcc-15.deb
50
50
echo 'gcc-path = "/usr/lib/"' > config.toml
51
51
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
+ - run : sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-14 30
56
+
52
57
- name : Set env
53
58
run : |
54
59
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments