mirror of
https://github.com/YosysHQ/yosys.git
synced 2026-08-22 06:07:26 +02:00
Fix for clang-10 toolchain
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user