Skip to content

Commit

Permalink
update ghdl plugin for darwin-x64
Browse files Browse the repository at this point in the history
  • Loading branch information
mmicko committed Oct 10, 2023
1 parent e6ee72e commit b3d626e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion default/scripts/ghdl-yosys-plugin.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ cd ghdl-yosys-plugin
sed -i 's,/yosyshq/share,/yosys/yosyshq/share,g' ../yosys/yosyshq/bin/yosys-config
if [ ${ARCH} == 'darwin-x64' ]; then
sed -i '11,13d' Makefile
make GHDL=../ghdl/yosyshq/bin/ghdl YOSYS_CONFIG=../yosys/yosyshq/bin/yosys-config CFLAGS="-I ../yosys/yosyshq/share/yosys/include" LIBGHDL_LIB="${BUILD_DIR}/ghdl${INSTALL_PREFIX}/lib/libghdl-3_0_0_dev.dylib" LIBGHDL_INC="${BUILD_DIR}/ghdl${INSTALL_PREFIX}/include/"
make GHDL=../ghdl/yosyshq/bin/ghdl YOSYS_CONFIG=../yosys/yosyshq/bin/yosys-config CFLAGS="-I ../yosys/yosyshq/share/yosys/include" LIBGHDL_LIB="${BUILD_DIR}/ghdl${INSTALL_PREFIX}/lib/libghdl-4_0_0_dev.dylib" LIBGHDL_INC="${BUILD_DIR}/ghdl${INSTALL_PREFIX}/include/"
else
make GHDL=../ghdl/yosyshq/bin/ghdl YOSYS_CONFIG=../yosys/yosyshq/bin/yosys-config CFLAGS="-I ../yosys/yosyshq/share/yosys/include"
fi
Expand Down

0 comments on commit b3d626e

Please sign in to comment.