pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/cad/verilog Update cad/verilog (icarus verilog) from 0...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/607880c7ade1
branches:  trunk
changeset: 353533:607880c7ade1
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Sat Oct 08 22:30:43 2016 +0000

description:
Update cad/verilog (icarus verilog) from 0.9.7 to 10.1.1

pkgsrc changes:
 - note GitHub tags (but not use them for now)
 - remove conflict with nonexistent verilog-current
 - install additional documentation in share/doc/ivl (not share/ivl)
 - drop DESTDIR gymnastics - build works without it
 - (re)enable gperf dependency
 - regenerate buildlink3.mk
 - drop patches/patch-lexor_keyword.cc - no longer needed
 - patches/patch-vpi_Makefile partially fixed upstream - rest not needed

upstream changelog
==================

Probably the only notes available:

Here are the release notes for Icarus Verilog release branch 10. The 10
release is a huge improvement over the 0.9 release series, in every
aspect. Much more of the Verilog and SystemVerilog language is supported,
many bugs have been fixed, and performance has improved. The changes
(improvements!) are so numerous that there is no point attempting to
enumerate them.

 -- http://iverilog.wikia.com/wiki/Release_Notes_Icarus_Verilog_10

diffstat:

 cad/verilog/Makefile                       |  64 +++++------------------------
 cad/verilog/PLIST                          |  25 ++++++++++-
 cad/verilog/buildlink3.mk                  |  10 +--
 cad/verilog/distinfo                       |  12 ++---
 cad/verilog/patches/patch-lexor_keyword.cc |  28 -------------
 cad/verilog/patches/patch-vpi_Makefile     |  38 -----------------
 6 files changed, 42 insertions(+), 135 deletions(-)

diffs (274 lines):

diff -r 97d3885ebda1 -r 607880c7ade1 cad/verilog/Makefile
--- a/cad/verilog/Makefile      Sat Oct 08 21:27:00 2016 +0000
+++ b/cad/verilog/Makefile      Sat Oct 08 22:30:43 2016 +0000
@@ -1,76 +1,34 @@
-# $NetBSD: Makefile,v 1.42 2016/07/24 23:43:12 rillig Exp $
+# $NetBSD: Makefile,v 1.43 2016/10/08 22:30:43 kamil Exp $
 #
 
-DISTNAME=      verilog-0.9.7
+DISTNAME=      verilog-10.1.1
 CATEGORIES=    cad
-MASTER_SITES=  ftp://icarus.com/pub/eda/verilog/v0.9/
+MASTER_SITES=  ftp://icarus.com/pub/eda/verilog/v10/
+# FTP has newer release than GitHub tag
+#MASTER_SITES= ${MASTER_SITE_GITHUB:=steveicarus/}
+#GITHUB_TAG=   v${PKGVERSION_NOREV:S/./_/}
 
 MAINTAINER=    dmcmahill%NetBSD.org@localhost
 HOMEPAGE=      http://iverilog.icarus.com/
 COMMENT=       Verilog simulation and synthesis tool (stable release version)
 LICENSE=       gnu-gpl-v2
 
-CONFLICTS+=    verilog-current-[0-9]*
-
 USE_LANGUAGES= c c++
 
 GNU_CONFIGURE=         yes
 USE_TOOLS+=            gmake bison lex
 TEST_TARGET=           check
 
-INSTALLATION_DIRS+=    share/ivl
+INSTALLATION_DIRS+=    share/doc/ivl
 
-SUBST_CLASSES+=                destdir
-SUBST_FILES.destdir=   tgt-vhdl/Makefile.in \
-                       tgt-fpga/Makefile.in \
-                       tgt-null/Makefile.in \
-                       tgt-pal/Makefile.in \
-                       tgt-stub/Makefile.in \
-                       tgt-verilog/Makefile.in \
-                       tgt-vvp/Makefile.in
-SUBST_MESSAGE.destdir= Fix DESTDIR in various Makefile.in
-SUBST_STAGE.destdir=   pre-configure
-SUBST_SED.destdir=     -e 's, $$(libdir)/ivl, $$(DESTDIR)$$(libdir)/ivl,g'
-# Leading TAB
-SUBST_SED.destdir+=    -e 's,  $$(libdir)/ivl, $$(DESTDIR)$$(libdir)/ivl,g'
-# target:
-SUBST_SED.destdir+=    -e 's,^$$(libdir)/ivl,$$(DESTDIR)$$(libdir)/ivl,'
-
-SUBST_CLASSES+=                vpi-dest
-SUBST_STAGE.vpi-dest=  pre-configure
-SUBST_FILES.vpi-dest=  vpi/Makefile.in
-SUBST_MESSAGE.vpi-dest=        Fix DESTDIR in vpi/Makefile.in (watch target:)
-SUBST_SED.vpi-dest=    -e 's, $$(vpidir)/, $$(DESTDIR)$$(vpidir)/,g'
-# Leading TAB
-SUBST_SED.vpi-dest+=   -e 's,  $$(vpidir)/,    $$(DESTDIR)$$(vpidir)/,g'
-SUBST_SED.vpi-dest+=   -e 's,^$$(vpidir)/,$$(DESTDIR)$$(vpidir)/,g'
-
-pre-build:
-       cd ${WRKSRC} && ${BUILD_MAKE_CMD} dep
-
-# Some missing files not installed are handled by SUBST (above)
-# and rest of them are by following target.
+# Additional files
 post-install:
-       (cd ${WRKSRC}; ${INSTALL_DATA} \
+       cd ${WRKSRC}; ${INSTALL_DATA} \
                QUICK_START.txt \
                README.txt      \
-       ${DESTDIR}${PREFIX}/share/ivl )
-# include/iverilog
-       (cd ${WRKSRC}; ${INSTALL_DATA} \
-               acc_user.h ivl_target.h veriuser.h vpi_user.h \
-       ${DESTDIR}${PREFIX}/include/iverilog )
-# lib/ivl/include
-       (cd ${WRKSRC}; ${INSTALL_DATA} \
-               constants.vams \
-               disciplines.vams \
-       ${DESTDIR}${PREFIX}/lib/ivl/include )
+       ${DESTDIR}${PREFIX}/share/doc/ivl
 
-#
-# 1. this should be BUILD_DEPENDS
-# 2. it doesn't actually run it during the build anyhow
-#
-#.include "../../devel/gperf/buildlink3.mk"
-
+.include "../../devel/gperf/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../archivers/bzip2/buildlink3.mk"
 .include "../../mk/readline.buildlink3.mk"
diff -r 97d3885ebda1 -r 607880c7ade1 cad/verilog/PLIST
--- a/cad/verilog/PLIST Sat Oct 08 21:27:00 2016 +0000
+++ b/cad/verilog/PLIST Sat Oct 08 22:30:43 2016 +0000
@@ -1,12 +1,16 @@
-@comment $NetBSD: PLIST,v 1.10 2014/01/07 09:43:54 mef Exp $
+@comment $NetBSD: PLIST,v 1.11 2016/10/08 22:30:43 kamil Exp $
 bin/iverilog
 bin/iverilog-vpi
 bin/vvp
 include/iverilog/_pli_types.h
 include/iverilog/acc_user.h
 include/iverilog/ivl_target.h
+include/iverilog/sv_vpi_user.h
 include/iverilog/veriuser.h
 include/iverilog/vpi_user.h
+lib/ivl/blif-s.conf
+lib/ivl/blif.conf
+lib/ivl/blif.tgt
 lib/ivl/cadpli.vpl
 lib/ivl/include/constants.vams
 lib/ivl/include/disciplines.vams
@@ -15,6 +19,12 @@
 lib/ivl/null-s.conf
 lib/ivl/null.conf
 lib/ivl/null.tgt
+lib/ivl/pcb-s.conf
+lib/ivl/pcb.conf
+lib/ivl/pcb.tgt
+lib/ivl/sizer-s.conf
+lib/ivl/sizer.conf
+lib/ivl/sizer.tgt
 lib/ivl/stub-s.conf
 lib/ivl/stub.conf
 lib/ivl/stub.tgt
@@ -22,11 +32,20 @@
 lib/ivl/system.vpi
 lib/ivl/v2005_math.sft
 lib/ivl/v2005_math.vpi
+lib/ivl/v2009.sft
+lib/ivl/v2009.vpi
 lib/ivl/va_math.sft
 lib/ivl/va_math.vpi
 lib/ivl/vhdl-s.conf
 lib/ivl/vhdl.conf
 lib/ivl/vhdl.tgt
+lib/ivl/vhdl_sys.sft
+lib/ivl/vhdl_sys.vpi
+lib/ivl/vhdlpp
+lib/ivl/vlog95-s.conf
+lib/ivl/vlog95.conf
+lib/ivl/vlog95.tgt
+lib/ivl/vpi_debug.vpi
 lib/ivl/vvp-s.conf
 lib/ivl/vvp.conf
 lib/ivl/vvp.tgt
@@ -35,5 +54,5 @@
 man/man1/iverilog-vpi.1
 man/man1/iverilog.1
 man/man1/vvp.1
-share/ivl/QUICK_START.txt
-share/ivl/README.txt
+share/doc/ivl/QUICK_START.txt
+share/doc/ivl/README.txt
diff -r 97d3885ebda1 -r 607880c7ade1 cad/verilog/buildlink3.mk
--- a/cad/verilog/buildlink3.mk Sat Oct 08 21:27:00 2016 +0000
+++ b/cad/verilog/buildlink3.mk Sat Oct 08 22:30:43 2016 +0000
@@ -1,18 +1,16 @@
-# $NetBSD: buildlink3.mk,v 1.10 2013/07/18 07:59:38 obache Exp $
+# $NetBSD: buildlink3.mk,v 1.11 2016/10/08 22:30:43 kamil Exp $
 
 BUILDLINK_TREE+=       verilog
 
 .if !defined(VERILOG_BUILDLINK3_MK)
 VERILOG_BUILDLINK3_MK:=
 
-BUILDLINK_API_DEPENDS.verilog+=        verilog>=0.8.1nb1
-BUILDLINK_ABI_DEPENDS.verilog+=        verilog>=0.8.7nb1
+BUILDLINK_API_DEPENDS.verilog+=        verilog>=10.1.1
 BUILDLINK_PKGSRCDIR.verilog?=  ../../cad/verilog
 
+.include "../../devel/gperf/buildlink3.mk"
 .include "../../devel/zlib/buildlink3.mk"
 .include "../../archivers/bzip2/buildlink3.mk"
-.include "../../devel/gperf/buildlink3.mk"
-.include "../../mk/readline.buildlink3.mk"
-.endif # VERILOG_BUILDLINK3_MK
+.endif # VERILOG_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -verilog
diff -r 97d3885ebda1 -r 607880c7ade1 cad/verilog/distinfo
--- a/cad/verilog/distinfo      Sat Oct 08 21:27:00 2016 +0000
+++ b/cad/verilog/distinfo      Sat Oct 08 22:30:43 2016 +0000
@@ -1,11 +1,9 @@
-$NetBSD: distinfo,v 1.20 2015/11/03 00:21:19 agc Exp $
+$NetBSD: distinfo,v 1.21 2016/10/08 22:30:43 kamil Exp $
 
-SHA1 (verilog-0.9.7.tar.gz) = 714c2a605779957490cca24e3dc01d096dbc1474
-RMD160 (verilog-0.9.7.tar.gz) = 3bac03ca703465a43c5a0a8175a3d27ee00f49a7
-SHA512 (verilog-0.9.7.tar.gz) = 1a81f132c667f5cd33a11156364a366806ef9b6ef59b86f69df852af79cc92db17df8db0bace4e3c14929b0110df0aa7d83f35f664057e715842acf7bd21c1f5
-Size (verilog-0.9.7.tar.gz) = 1238088 bytes
+SHA1 (verilog-10.1.1.tar.gz) = 7f4cead8cabb90cc4525951357c43866ca710749
+RMD160 (verilog-10.1.1.tar.gz) = 77c933b712ab027b13a81e3eead7ee4f565741b7
+SHA512 (verilog-10.1.1.tar.gz) = a57fdce3d870be8ce39eb3050dabd5a2d4d491c657b85ccbf775bef7fa9a6889a18bf4d2508341ef2cc17d872b5d6c802d4fd8585e4ec7952526699ebb24bfac
+Size (verilog-10.1.1.tar.gz) = 1684925 bytes
 SHA1 (patch-aa) = cf075110416f6db0892129796cd83b8ae8de55fa
 SHA1 (patch-ad) = bf7d227ed3b321021d8aff54cd008f4b2a1557b9
 SHA1 (patch-cadpli_Makefile) = ed21a5f529ac449c26b831cbd5fde052d9ed5466
-SHA1 (patch-lexor_keyword.cc) = 375aa534e91b0ee05615732b4bdcacdd9034ed3d
-SHA1 (patch-vpi_Makefile) = 9a2d49d3d0f8005d7ab508f726374842ad322207
diff -r 97d3885ebda1 -r 607880c7ade1 cad/verilog/patches/patch-lexor_keyword.cc
--- a/cad/verilog/patches/patch-lexor_keyword.cc        Sat Oct 08 21:27:00 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,28 +0,0 @@
-$NetBSD: patch-lexor_keyword.cc,v 1.1 2014/06/28 21:05:11 dholland Exp $
-
-Remove inline declarations that sometimes cause build failures. (Seen
-in pbulk but not outside, with the same gcc versions and everything;
-not at all clear why.) static is an adequate substitute here and
-should produce the same results with recent compilers anyhow.
-
-Note that this file is gperf output -- if the build decides to run
-gperf it will clobber this patch and the results might or might not
-compile depending on whatever unknown factors are involved in it
-failing in the first place.
-
---- lexor_keyword.cc~  2013-08-19 19:12:46.000000000 +0000
-+++ lexor_keyword.cc
-@@ -108,12 +108,7 @@ keyword_hash (register const char *str, 
-   return hval + asso_values[(unsigned char)str[len - 1]];
- }
- 
--#ifdef __GNUC__
--__inline
--#if defined __GNUC_STDC_INLINE__ || defined __GNUC_GNU_INLINE__
--__attribute__ ((__gnu_inline__))
--#endif
--#endif
-+static
- const struct lexor_keyword *
- check_identifier (register const char *str, register unsigned int len)
- {
diff -r 97d3885ebda1 -r 607880c7ade1 cad/verilog/patches/patch-vpi_Makefile
--- a/cad/verilog/patches/patch-vpi_Makefile    Sat Oct 08 21:27:00 2016 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,38 +0,0 @@
-$NetBSD: patch-vpi_Makefile,v 1.2 2015/02/18 20:12:02 joerg Exp $
-
-Fix DESTDIR (before SUBST in Makefile is executed)
-
---- vpi/Makefile.in~   2013-08-20 04:10:31.000000000 +0900
-+++ vpi/Makefile.in    2013-12-20 21:58:51.000000000 +0900
-@@ -50,7 +50,7 @@ check: all
- dep:
-       mkdir dep
- 
--%.o: %.c vpi_config.h
-+%.o: %.c vpi_config.h dep
-       $(CC) $(CPPFLAGS) $(CFLAGS) @DEPENDENCY_FLAG@ -c $< -o $*.o
-       mv $*.d dep
- 
-@@ -133,19 +133,19 @@ $(vpidir)/system.vpi: ./system.vpi
-       $(INSTALL_PROGRAM) ./system.vpi "$(DESTDIR)$(vpidir)/system.vpi"
- 
- $(vpidir)/system.sft: system.sft
--      $(INSTALL_DATA) $< "$(DESTDIR)$@"
-+      $(INSTALL_DATA) $< "$@"
- 
- $(vpidir)/va_math.vpi: ./va_math.vpi
-       $(INSTALL_PROGRAM) ./va_math.vpi "$(DESTDIR)$(vpidir)/va_math.vpi"
- 
- $(vpidir)/va_math.sft: va_math.sft
--      $(INSTALL_DATA) $< "$(DESTDIR)$@"
-+      $(INSTALL_DATA) $< "$@"
- 
- $(vpidir)/v2005_math.vpi: ./v2005_math.vpi
-       $(INSTALL_PROGRAM) ./v2005_math.vpi "$(DESTDIR)$(vpidir)/v2005_math.vpi"
- 
- $(vpidir)/v2005_math.sft: v2005_math.sft
--      $(INSTALL_DATA) $< "$(DESTDIR)$@"
-+      $(INSTALL_DATA) $< "$@"
- 
- installdirs: $(srcdir)/../mkinstalldirs
-       $(srcdir)/../mkinstalldirs "$(DESTDIR)$(libdir)" "$(DESTDIR)$(vpidir)"



Home | Main Index | Thread Index | Old Index