Skip to content
Permalink
Browse files

verilator: use tools from MacPorts for building

  • Loading branch information
MarcusCalhoun-Lopez committed May 15, 2020
1 parent fe25cf0 commit 2fdaa2575ecc278fcca3f5192af835a1d0068f72
Showing with 25 additions and 0 deletions.
  1. +25 −0 science/verilator/Portfile
@@ -26,5 +26,30 @@ compiler.cxx_standard 2014

installs_libs no

depends_build-append port:perl5.28
configure.perl ${prefix}/bin/perl5.28

depends_build-append port:flex
configure.env-append LEX=${prefix}/bin/flex

depends_build-append port:grep
configure.env-append GREP=${prefix}/bin/grep

depends_build-append port:flex
configure.env-append FLEX=${prefix}/bin/flex

#avoid
# In file included from ../V3ParseGrammar.cpp:22:
# verilog.c:686:40: warning: '/*' within block comment [-Wcomment]
# yVL_CLOCK = 610, /* "/*verilator sc_clock*/" */
# ^
# verilog.c:686:62: warning: missing terminating '"' character [-Winvalid-pp-token]
# yVL_CLOCK = 610, /* "/*verilator sc_clock*/" */
# ^
# verilog.c:686:62: error: expected identifier
#depends_build-append port:bison
#configure.env-append YACC=${prefix}/bin/bison
configure.env-append YACC=/usr/bin/bison

livecheck.url https://www.veripool.org
livecheck.regex "Verilator (\\d+(?:\\.\\d+)*) Released"

0 comments on commit 2fdaa25

Please sign in to comment.
You can’t perform that action at this time.