3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-05 23:16:13 +00:00

Bump minimal clang to 16

This commit is contained in:
Miodrag Milanovic 2026-06-18 13:05:49 +02:00
parent 459a933005
commit 84248a008b

View file

@ -45,7 +45,7 @@ jobs:
- ubuntu-latest - ubuntu-latest
compiler: compiler:
# oldest supported # oldest supported
- 'clang-14' - 'clang-16'
- 'gcc-11' - 'gcc-11'
# newest, make sure to update maximum standard step to match # newest, make sure to update maximum standard step to match
- 'clang-22' - 'clang-22'
@ -80,7 +80,6 @@ jobs:
uses: aminya/setup-cpp@v1 uses: aminya/setup-cpp@v1
with: with:
compiler: ${{ matrix.compiler }} compiler: ${{ matrix.compiler }}
gcc: ${{ (matrix.os == 'ubuntu-latest' && matrix.compiler == 'clang-14') && '12' || '' }}
- name: Tool versions - name: Tool versions
shell: bash shell: bash
@ -88,11 +87,6 @@ jobs:
$CC --version $CC --version
$CXX --version $CXX --version
- name: Fix clang-14 toolchain
if: matrix.os == 'ubuntu-latest' && matrix.compiler == 'clang-14'
run: |
echo 'CXXFLAGS=--gcc-toolchain=/usr -isystem /usr/include/c++/12 -isystem /usr/include/x86_64-linux-gnu/c++/12' >> $GITHUB_ENV
# minimum standard # minimum standard
- name: Build C++20 - name: Build C++20
shell: bash shell: bash