3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-05-17 15:39:28 +00:00

Fix for clang-10 toolchain

This commit is contained in:
Miodrag Milanovic 2026-05-13 11:09:40 +02:00
parent 90e019e319
commit 25459bd8b9

View file

@ -74,6 +74,7 @@ jobs:
uses: aminya/setup-cpp@v1
with:
compiler: ${{ matrix.compiler }}
gcc: ${{ (matrix.os == 'ubuntu-latest' && matrix.compiler == 'clang-10') && '10' || '' }}
- name: Tool versions
shell: bash
@ -81,6 +82,11 @@ jobs:
$CC --version
$CXX --version
- name: Fix clang-10 toolchain
if: matrix.os == 'ubuntu-latest' && matrix.compiler == 'clang-10'
run: |
echo "CXXFLAGS=--gcc-toolchain=/usr/lib/gcc/x86_64-linux-gnu/10 -stdlib=libstdc++" >> $GITHUB_ENV
# minimum standard
- name: Build C++20
shell: bash