From: "Maciej Barć" <xgqt@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-electronics/nvc/
Date: Mon, 15 Jul 2024 22:15:43 +0000 (UTC) [thread overview]
Message-ID: <1721081740.86b87a4f3b53bf4c7007276ebef9100c4aca11f0.xgqt@gentoo> (raw)
commit: 86b87a4f3b53bf4c7007276ebef9100c4aca11f0
Author: Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 15 21:47:00 2024 +0000
Commit: Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Mon Jul 15 22:15:40 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86b87a4f
sci-electronics/nvc: bump to 1.13.0
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>
sci-electronics/nvc/Manifest | 1 +
sci-electronics/nvc/nvc-1.13.0.ebuild | 114 ++++++++++++++++++++++++++++++++++
2 files changed, 115 insertions(+)
diff --git a/sci-electronics/nvc/Manifest b/sci-electronics/nvc/Manifest
index 5d5160e81c24..e6054d7b4ec0 100644
--- a/sci-electronics/nvc/Manifest
+++ b/sci-electronics/nvc/Manifest
@@ -1,2 +1,3 @@
DIST nvc-1.12.1.tar.gz 1931464 BLAKE2B 7081387b81afd20d05ad69d8e29c6549e286d4b5e90ca7e044ddcc8df80d1db7a3a398b11303c7b2e90cf8863e3b7a910530b353c6664d03c2be0e18ee40379f SHA512 33df2d4be7938be381f763f33b95b09a49f5d10d3b240f280379e83d367c05f886a867fdd945acc23debb1652b52a76ca2ec0c338d87b146a02ed2c858a8960b
DIST nvc-1.12.2.tar.gz 1932149 BLAKE2B 6a71c9bb5ea5254c6b1d2283e4f3e14f13c8399204810cbbc05fae25b50cd5307cb3cdbf101c129dbc1863a135e493fafd8672903665eb4f5f3c9a95c6fcaf82 SHA512 d386cd32533d60c0ab795955a376a4c0de4b35d2ce7fdbda9e4f4c79605fb8e0422ddee574204f1f8a951caf0d87e4446ebb28ff5b3352644307c0c13bbe8765
+DIST nvc-1.13.0.tar.gz 1961847 BLAKE2B 5cb2e99baeb0c190ccd83535f7a5114327410b80339448eb50188147f2160a0320edaa612579c77327d7b67d51c7e312ebed6ac07bfe3ab636b3322baf050f53 SHA512 c93fa48dda45de734dafa996eda0b924f11c497feeee5e19b49be22594dcd9324abfe2e1d31c706f2d058950cd2525af46a3aa5ac61506628c3dc7af73685a39
diff --git a/sci-electronics/nvc/nvc-1.13.0.ebuild b/sci-electronics/nvc/nvc-1.13.0.ebuild
new file mode 100644
index 000000000000..dd4ecc425726
--- /dev/null
+++ b/sci-electronics/nvc/nvc-1.13.0.ebuild
@@ -0,0 +1,114 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LLVM_MAX_SLOT=16
+
+inherit autotools bash-completion-r1 llvm
+
+DESCRIPTION="NVC is a VHDL compiler and simulator"
+HOMEPAGE="https://www.nickg.me.uk/nvc/
+ https://github.com/nickg/nvc/"
+
+if [[ "${PV}" == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/nickg/nvc.git"
+
+ NVC_SOURCEDIR="${WORKDIR}/${PN}-${PV}"
+else
+ SRC_URI="https://github.com/nickg/nvc/archive/r${PV}.tar.gz
+ -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+
+ NVC_SOURCEDIR="${WORKDIR}/${PN}-r${PV}"
+fi
+
+NVC_BUILDDIR="${NVC_SOURCEDIR}_BuildDir"
+S="${NVC_BUILDDIR}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+IUSE="debug llvm"
+RESTRICT="test" # Some tests fail.
+
+RDEPEND="
+ app-arch/bzip2:=
+ app-arch/zstd:=
+ dev-libs/capstone:=
+ dev-libs/elfutils
+ dev-libs/icu:=
+ dev-libs/libffi:=
+ dev-libs/libxml2:=
+ sys-libs/ncurses:=
+ sys-libs/zlib:=
+ llvm? (
+ <sys-devel/llvm-$((${LLVM_MAX_SLOT} + 1)):=
+ )
+"
+DEPEND="
+ ${RDEPEND}
+"
+BDEPEND="
+ dev-libs/check
+ sys-devel/bison
+ sys-devel/flex
+"
+
+PATCHES=( "${FILESDIR}/nvc-1.9.2-jit-code-capstone.patch" )
+
+# Special libraries for NVC.
+QA_FLAGS_IGNORED="usr/lib[0-9]*/nvc/preload[0-9]*.so"
+
+pkg_setup() {
+ use llvm && llvm_pkg_setup
+}
+
+src_unpack() {
+ default
+
+ mkdir -p "${S}" || die
+}
+
+src_prepare() {
+ pushd "${NVC_SOURCEDIR}" >/dev/null || die
+
+ default
+ eautoreconf
+
+ popd >/dev/null || die
+}
+
+src_configure() {
+ # Needs "bison" and "flex" exactly.
+ unset LEX
+ unset YACC
+
+ local ECONF_SOURCE="${NVC_SOURCEDIR}"
+ local -a myconf=(
+ --enable-verilog
+ --enable-vital
+ --with-bash-completion="$(get_bashcompdir)"
+ $(use_enable debug)
+ $(use_enable llvm)
+ )
+ econf "${myconf[@]}"
+
+ export V=1 # Verbose compilation and install.
+}
+
+src_compile() {
+ emake -j1
+}
+
+src_test() {
+ PATH="${S}/bin:${PATH}" emake check-TESTS
+}
+
+src_install() {
+ default
+
+ mv "${D}/$(get_bashcompdir)"/nvc{.bash,} || die
+ dostrip -x "/usr/$(get_libdir)/nvc"
+}
next reply other threads:[~2024-07-15 22:15 UTC|newest]
Thread overview: 43+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-07-15 22:15 Maciej Barć [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-04 0:19 [gentoo-commits] repo/gentoo:master commit in: sci-electronics/nvc/ Maciej Barć
2024-10-23 15:44 Maciej Barć
2024-10-23 15:44 Maciej Barć
2024-09-26 16:32 Maciej Barć
2024-09-25 21:16 Maciej Barć
2024-09-25 21:16 Maciej Barć
2024-09-03 18:44 Maciej Barć
2024-09-03 18:44 Maciej Barć
2024-08-17 13:27 Maciej Barć
2024-07-31 0:03 Maciej Barć
2024-07-31 0:03 Maciej Barć
2024-07-31 0:03 Maciej Barć
2024-05-25 14:06 Maciej Barć
2024-05-25 14:06 Maciej Barć
2024-05-13 17:59 Maciej Barć
2024-04-11 1:38 Maciej Barć
2024-04-09 9:30 Maciej Barć
2024-04-09 9:30 Maciej Barć
2024-02-06 13:07 Maciej Barć
2024-02-06 13:07 Maciej Barć
2024-01-06 18:42 Maciej Barć
2024-01-06 18:42 Maciej Barć
2023-12-22 1:03 Maciej Barć
2023-12-16 21:45 Maciej Barć
2023-12-16 21:45 Maciej Barć
2023-12-08 12:41 Maciej Barć
2023-12-08 12:41 Maciej Barć
2023-12-08 0:29 Maciej Barć
2023-10-17 13:39 Maciej Barć
2023-10-17 13:39 Maciej Barć
2023-10-17 13:39 Maciej Barć
2023-10-13 5:51 Maciej Barć
2023-10-12 15:52 Maciej Barć
2023-09-18 21:27 Maciej Barć
2023-08-24 8:17 Maciej Barć
2023-08-23 22:14 Maciej Barć
2023-08-23 22:14 Maciej Barć
2023-08-23 22:14 Maciej Barć
2023-08-02 14:11 Maciej Barć
2023-07-15 0:26 Maciej Barć
2023-07-15 0:26 Maciej Barć
2023-06-25 8:07 Maciej Barć
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1721081740.86b87a4f3b53bf4c7007276ebef9100c4aca11f0.xgqt@gentoo \
--to=xgqt@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox