Skip to content

Commit

Permalink
Test fix to have working abc
Browse files Browse the repository at this point in the history
  • Loading branch information
mmicko committed Jun 26, 2022
1 parent 89414ac commit 58d7697
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions default/scripts/yosys.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ if [ ${ARCH_BASE} == 'darwin' ]; then
make config-clang
sed -i -re "s,CXX = clang,CXX = ${CC},g" Makefile
sed -i -re "s,LD = clang\+\+,LD = ${CXX},g" Makefile
if [ ${ARCH} == 'darwin-arm64' ]; then
sed -i -re "s,09a7e6d,750b562,g" Makefile
sed -i -re "s,ARCHFLAGS=\"-DABC_USE_STDINT_H\",ABC_USE_LIBSTDCXX=1 ABC_USE_NAMESPACE=abc ARCHFLAGS=\"-DABC_USE_STDINT_H -Wno-c\+\+11-narrowing -Wno-unknown-warning-option\",g" Makefile
fi
elif [ ${ARCH} == 'linux-x64' ]; then
make config-clang
elif [ ${ARCH} == 'windows-x64' ]; then
Expand Down

0 comments on commit 58d7697

Please sign in to comment.