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:
parent
90e019e319
commit
25459bd8b9
1 changed files with 6 additions and 0 deletions
6
.github/workflows/test-compile.yml
vendored
6
.github/workflows/test-compile.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue