File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 44
44
45
45
- name : Install packages
46
46
# `llvm-14-tools` is needed to install the `FileCheck` binary which is used for asm tests.
47
- run : sudo apt-get install ninja-build ripgrep llvm-14-tools libgccjit-12-dev
47
+ run : |
48
+ sudo apt-get install ninja-build ripgrep llvm-14-tools libgccjit-12-dev
49
+ gcc -v
50
+ sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-12 10
51
+ sudo update-alternatives --install /usr/bin/cc cc /usr/bin/gcc-12 10
52
+ gcc -v
53
+ cc -v
48
54
49
55
- name : Setup path to libgccjit
50
56
run : echo /usr/lib/gcc/x86_64-linux-gnu/12 > gcc_path
@@ -121,4 +127,4 @@ jobs:
121
127
# TODO(antoyo): add --build-sysroot when the build with libgccjit 12 is fixed.
122
128
# FIXME(antoyo): we need to set GCC_EXEC_PREFIX so that the linker can find the linker plugin.
123
129
# Not sure why it's not found otherwise.
124
- GCC_EXEC_PREFIX=/usr/lib/gcc/ ./test.sh --release --clean ${{ matrix.commands }} --no-default-features
130
+ ./test.sh --release --clean ${{ matrix.commands }} --no-default-features
You can’t perform that action at this time.
0 commit comments