newer verilator available from guru overlay

This commit is contained in:
2020-12-07 20:52:39 -08:00
parent f2a5a412f6
commit 66739af1c5
6 changed files with 0 additions and 154 deletions

View File

@@ -1,25 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{4,5,6,7,8,9} pypy3 )
inherit distutils-r1
GIT_COMMIT=c1644b831bcc422d6d3ed793f4f3ae030dcc26c3
S=${WORKDIR}/pybitcointools-${GIT_COMMIT}
DESCRIPTION="Python Bitcoin Tools"
HOMEPAGE="https://github.com/primal100/pybitcointools"
SRC_URI="https://github.com/primal100/pybitcointools/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
"
RDEPEND=""

View File

@@ -1,5 +0,0 @@
AUX verilator-4.034-fix-bison.patch 839 SHA256 6f7872017003d87508be6793d4bf93ef8668abcba315a11eafea15cab3e02866 SHA512 94baca00f24c483b1f05464a28be5368184b68fde432456b8625385623d7fef7c2dbdce2b94ea410404bd520db21ae5d2861d4fa2b665379d7aac2b2252632d9 WHIRLPOOL 80201d0b8ec669f03a7e8eb0f7602770d6f344b622cb28a4eda5d446355f31cb6bf82cf520cf4d0cebd1df3ac58118c5b1437599ca1f7b9db1853004570dbeed
DIST verilator-4.034.tar.gz 1998271 SHA256 17a087fc74fd1ab035a43ba38d6f6198150ee11b20077855404ddb4c1620c6b7 SHA512 5651cf2c102df10b3784799968f8e554d0116487a962b99fd03526b71af67cb49c932eaaef260b19cbfc80a47747dd6e8d04b461f663522cd1f05ad9843002d3 WHIRLPOOL 1db2218bc2c264cfed04a2712abd89af965bf44f99441aa3fa9cfbe741995bfc56e1d8bc140ee01d59f414b34af4631ac43608af2939492e2614fe660302f110
EBUILD verilator-4.034.ebuild 874 SHA256 ab1b9a01271153a11e0b431380b67089d88026a79a94dd003cfa0102f6a3fc12 SHA512 37397546098cfb9f458196df1ba0ff8bca4a28f9f86d030c44886b6ab6c9cefd836355882939e7d016b459d810b6ef2b7591204a6da862a90bcfc88c6523c646 WHIRLPOOL 217422107a9af916399b83929ccfa7817673f3bf55c93820f3d48caf9aaa61a6eb12b4110fd53c6175bf5bd455d351f5b97946ea942a4aae56db32137b9b2b29
EBUILD verilator-9999.ebuild 764 SHA256 296c2f64931c6d4e4473775d17b2edb82aa60a382c43e71980dcfed38dfd38e7 SHA512 c9362e81d25bc9fd46ea088609bc6be069b027d23aed3996535fb218eab7f0386f6dbb1d4ebe1292afaaffd79ddcf7a720a54a2f1f8ee2baf1d776150c98afae WHIRLPOOL 9502eecffd2982b0c34aee7436aadfca393e5ac7a03d26a616e60dbbd0e803906c63a847fedb09e0a82334a3baf5bd1776d2f8d6a63749736f5f466c94e16c14
MISC metadata.xml 621 SHA256 55c59c8773a07616268d7173ec7d26adb34437063ef2e95dc04a4520f02c7b5a SHA512 2220452025f7a67a47e012e733e51503af79da9418bdad980a67d8b622dce5f417b676e956cc07690c4514b866381a24fcc75a724326abc1238fbd64071c4a8e WHIRLPOOL d0a3a1ce000dd7f40243438a556cda2644d46cc155ecf1b2db9abdeb95b087b39a6d745e50bef739c5f641e6b4491d7d8e5ddf0d36d4dfac1cb6252ac06f3cd3

View File

@@ -1,17 +0,0 @@
diff --git a/src/Makefile_obj.in b/src/Makefile_obj.in
index 911f97e1..63799569 100644
--- a/src/Makefile_obj.in
+++ b/src/Makefile_obj.in
@@ -323,6 +323,12 @@ V3ParseBison.h: V3ParseBison.c
V3ParseBison.c: verilog.y $(BISONPRE)
@echo "If you get errors from verilog.y below, try upgrading bison to version 1.875 or newer."
$(PERL) $(BISONPRE) --yacc ${YACC} -d -v -o V3ParseBison.c $<
+ # Unfortunately bison 3.6.1 have break changes caused compile error.
+ # Workaround issue https://github.com/verilator/verilator/issues/2320
+ # This workaround is safe for the old version of bison.
+ # TODO: code should removed when bison fixed the problem.
+ @sed -ie 's#/\* "/\*.*\*/" \*/##g' V3ParseBison.c
+ @sed -ie 's#/\* "/\*.*\*/" \*/##g' V3ParseBison.h
V3Lexer_pregen.yy.cpp: verilog.l V3ParseBison.h $(HEADERS)
${LEX} --version

View File

@@ -1,18 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>vowstar@gmail.com</email>
<name>Huang Rui</name>
</maintainer>
<upstream>
<remote-id type="github">verilator/verilator</remote-id>
</upstream>
<longdescription lang="en">
Verilator, the fastest free Verilog HDL simulator.
Accepts synthesizable Verilog or SystemVerilog
Performs lint code-quality checks
Compiles into multithreaded C++, SystemC, or (soon) C++-under-Python
Creates XML to front-end your own tools
</longdescription>
</pkgmetadata>

View File

@@ -1,47 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit autotools
DESCRIPTION="The fast free Verilog/SystemVerilog simulator"
HOMEPAGE="
https://verilator.org
https://github.com/verilator/verilator
"
if [[ "${PV}" == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
LICENSE="|| ( Artistic-2 LGPL-3 )"
SLOT="0"
RDEPEND="
dev-lang/perl
sys-libs/zlib
"
DEPEND="
${RDEPEND}
"
BDEPEND="
sys-devel/bison
sys-devel/flex
"
PATCHES=(
# https://github.com/verilator/verilator/issues/2320
"${FILESDIR}"/${PN}-4.034-fix-bison.patch
)
src_prepare() {
default
eautoconf --force
}

View File

@@ -1,42 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
inherit autotools
DESCRIPTION="The fast free Verilog/SystemVerilog simulator"
HOMEPAGE="
https://verilator.org
https://github.com/verilator/verilator
"
if [[ "${PV}" == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/${PN}/${PN}.git"
else
SRC_URI="https://github.com/${PN}/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
fi
LICENSE="|| ( Artistic-2 LGPL-3 )"
SLOT="0"
RDEPEND="
dev-lang/perl
sys-libs/zlib
"
DEPEND="
${RDEPEND}
"
BDEPEND="
sys-devel/bison
sys-devel/flex
"
src_prepare() {
default
eautoconf --force
}