Skip to content

Commit

Permalink
fix building verilator
Browse files Browse the repository at this point in the history
  • Loading branch information
mmicko committed Mar 12, 2024
1 parent 30c1055 commit 07326f2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions default/scripts/verilator.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ if [ ${ARCH_BASE} == 'darwin' ]; then
sed -i 's,-Wno-tautological-bitwise-compare,,g' ${OUTPUT_DIR}${INSTALL_PREFIX}/share/verilator/include/verilated.mk
fi

${STRIP} ${OUTPUT_DIR}${INSTALL_PREFIX}/bin/verilator_bin*
${STRIP} ${OUTPUT_DIR}${INSTALL_PREFIX}/bin/verilator_coverage_bin*
cp ${OUTPUT_DIR}${INSTALL_PREFIX}/bin/*_bin* ${OUTPUT_DIR}${INSTALL_PREFIX}/share/verilator/bin/.
rm -rf ${OUTPUT_DIR}${INSTALL_PREFIX}/bin/*
${STRIP} ${OUTPUT_DIR}${INSTALL_PREFIX}/share/verilator/bin/verilator_bin*
${STRIP} ${OUTPUT_DIR}${INSTALL_PREFIX}/share/verilator/bin/verilator_coverage_bin*
cp ${OUTPUT_DIR}${INSTALL_PREFIX}/share/verilator/bin/* -rf ${OUTPUT_DIR}${INSTALL_PREFIX}/bin/.

0 comments on commit 07326f2

Please sign in to comment.