mirror of https://github.com/YosysHQ/yosys.git
Fix for clang-10 toolchain
This commit is contained in:
parent
90e019e319
commit
25459bd8b9
|
|
@ -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…
Reference in New Issue