Merge pull request #33146 from DaanDeMeyer/clang

mkosi: Add support for building with LLVM
This commit is contained in:
Daan De Meyer
2024-06-03 15:43:31 +02:00
committed by GitHub
15 changed files with 175 additions and 32 deletions

View File

@@ -57,24 +57,31 @@ jobs:
- distro: arch
release: rolling
sanitizers: ""
llvm: 0
- distro: debian
release: testing
sanitizers: ""
llvm: 0
- distro: ubuntu
release: noble
sanitizers: ""
llvm: 0
- distro: fedora
release: "40"
sanitizers: ""
llvm: 0
- distro: fedora
release: rawhide
sanitizers: address,undefined
llvm: 1
- distro: opensuse
release: tumbleweed
sanitizers: ""
llvm: 0
- distro: centos
release: "9"
sanitizers: ""
llvm: 0
steps:
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29
@@ -123,6 +130,8 @@ jobs:
# Enabling optimizations significantly speeds up integration tests.
OPTIMIZATION=g
SANITIZERS=${{ matrix.sanitizers }}
MESON_OPTIONS=--werror
LLVM=${{ matrix.llvm }}
[Host]
ToolsTree=default