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 50
50
51
51
- name : Install packages
52
52
# `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
58
54
59
55
- name : Install rustfmt & clippy
60
56
run : rustup component add rustfmt clippy
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 39
39
40
40
- name : Install packages
41
41
# `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
43
43
44
44
- name : Download artifact
45
45
run : curl -LO https://github.com/rust-lang/gcc/releases/latest/download/gcc-15.deb
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
+ - name : Set default GCC to gcc-14
56
+ run : sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-14 30
57
+
52
58
- name : Set env
53
59
run : |
54
60
echo "workspace="$GITHUB_WORKSPACE >> $GITHUB_ENV
You can’t perform that action at this time.
0 commit comments