Skip to content

Commit 15207d8

Browse files
committed
WIP: github: Switch to Ubuntu 24.04
Building LLVM for RISC-V on Ubuntu 22.04 fails, due to needing to link in -latomic in a few cases where it isn't done currently. (The build of LLVM does include LLVM_ATOMIC_LIB in a bunch of places, but not everywhere where it is needed, if building with dylib enabled.) This isn't an issue if building with Ubuntu 22.04's own CMake, which is patched to add extra -latomic on riscv, but the github action runners have their own, more modern (vanilla) CMake, which doesn't do that.
1 parent fda28ec commit 15207d8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ jobs:
172172
# Crosscompile the toolchain for running on Linux on a different architecture, bundle the runtime
173173
# libraries that were built in the 'linux-stage1' step above.
174174
linux-cross-riscv64:
175-
runs-on: ubuntu-22.04
175+
runs-on: ubuntu-24.04
176176
steps:
177177
- uses: actions/checkout@v4
178178
- name: Unpack stage1 Clang

0 commit comments

Comments
 (0)