public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/dyninst/
@ 2021-07-27 23:51 Alessandro Barbieri
  0 siblings, 0 replies; 4+ messages in thread
From: Alessandro Barbieri @ 2021-07-27 23:51 UTC (permalink / raw
  To: gentoo-commits

commit:     b85a03f4e76bf0e12686b3ca7ed3564daf2eba80
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Jul 27 23:51:21 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Jul 27 23:51:51 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b85a03f4

sys-cluster/dyninst: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/dyninst/Manifest              |  1 +
 sys-cluster/dyninst/dyninst-11.0.1.ebuild | 58 +++++++++++++++++++++++++++++++
 sys-cluster/dyninst/metadata.xml          | 16 +++++++++
 3 files changed, 75 insertions(+)

diff --git a/sys-cluster/dyninst/Manifest b/sys-cluster/dyninst/Manifest
new file mode 100644
index 000000000..f17d4e2ab
--- /dev/null
+++ b/sys-cluster/dyninst/Manifest
@@ -0,0 +1 @@
+DIST dyninst-11.0.1.tar.gz 9059074 BLAKE2B 5ef230d8c5c3253aa54c01387fbb8c6f1d57ea43cb7779e3761306c916cbcd00999ee48cb6d76daba3af45dca6388dcc4c71b527f176039a32130c1ef8f6d074 SHA512 9c439be0252edae0ed3fcfa05b38595b614a91b6627afa85db126df32d5c5de5dc9413a70caf52bee7ac2349d24947626f6370f0dbf19413916c39e01679444f

diff --git a/sys-cluster/dyninst/dyninst-11.0.1.ebuild b/sys-cluster/dyninst/dyninst-11.0.1.ebuild
new file mode 100644
index 000000000..5374e6f02
--- /dev/null
+++ b/sys-cluster/dyninst/dyninst-11.0.1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+
+inherit cmake
+
+DESCRIPTION="Tools for binary instrumentation, analysis, and modification"
+HOMEPAGE="
+	https://dyninst.org/dyninst
+	https://github.com/dyninst/dyninst
+"
+SRC_URI="https://github.com/dyninst/dyninst/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc openmp valgrind"
+
+RDEPEND="
+	dev-cpp/tbb
+	dev-libs/boost:=
+	virtual/libelf
+	virtual/mpi
+	valgrind? ( dev-util/valgrind )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? ( dev-texlive/texlive-latex )"
+
+src_configure() {
+	local mycmakeargs=(
+		-DENABLE_STATIC_LIBS=NO
+		-DSTERILE_BUILD=YES
+
+		-DADD_VALGRIND_ANNOTATIONS=$(usex valgrind)
+		-DBUILD_DOCS=$(usex doc)
+		-DUSE_OpenMP=$(usex openmp)
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	einstalldocs
+	use doc && mv "${ED}"/usr/share/doc/*.pdf "${ED}/usr/share/doc/${PF}" || die
+
+	if [[ ! -e "${ED}/usr/$(get_libdir)" ]]; then
+		mv "${ED}/usr/lib" "${ED}/usr/$(get_libdir)" || die
+	fi
+
+	mkdir -p "${ED}/usr/include/dyninst" || die
+	mv "${ED}"/usr/include/*.h* "${ED}/usr/include/dyninst" || die
+
+	find "${ED}" -name '*.a' -delete || die
+}

diff --git a/sys-cluster/dyninst/metadata.xml b/sys-cluster/dyninst/metadata.xml
new file mode 100644
index 000000000..1e13a8beb
--- /dev/null
+++ b/sys-cluster/dyninst/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>lssndrbarbieri@gmail.com</email>
+    <name>Alessandro Barbieri</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">dyninst/dyninst</remote-id>
+  </upstream>
+  <use>
+    <flag name="openmp">Enable parallel code parsing</flag>
+    <!--<flag name="rtlib">Build the RT library as a separate project so we can change compilers</flag>-->
+    <flag name="valgrind">Enable annotations for Valgrind analysis</flag>
+  </use>
+</pkgmetadata>


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/dyninst/
@ 2021-07-30 18:09 Alessandro Barbieri
  0 siblings, 0 replies; 4+ messages in thread
From: Alessandro Barbieri @ 2021-07-30 18:09 UTC (permalink / raw
  To: gentoo-commits

commit:     a13ad175a98013d8a48364fc72caf6eb0412c419
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Fri Jul 30 16:11:55 2021 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Jul 30 18:09:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a13ad175

sys-cluster/dyninst: fix pdf installation

Closes: https://bugs.gentoo.org/805236
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/dyninst/dyninst-11.0.1.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/sys-cluster/dyninst/dyninst-11.0.1.ebuild b/sys-cluster/dyninst/dyninst-11.0.1.ebuild
index 5374e6f02..73a7501d4 100644
--- a/sys-cluster/dyninst/dyninst-11.0.1.ebuild
+++ b/sys-cluster/dyninst/dyninst-11.0.1.ebuild
@@ -45,7 +45,9 @@ src_install() {
 	cmake_src_install
 
 	einstalldocs
-	use doc && mv "${ED}"/usr/share/doc/*.pdf "${ED}/usr/share/doc/${PF}" || die
+	if use doc; then
+		mv "${ED}"/usr/share/doc/*.pdf "${ED}/usr/share/doc/${PF}" || die
+	fi
 
 	if [[ ! -e "${ED}/usr/$(get_libdir)" ]]; then
 		mv "${ED}/usr/lib" "${ED}/usr/$(get_libdir)" || die


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/dyninst/
@ 2022-03-26  7:36 Alessandro Barbieri
  0 siblings, 0 replies; 4+ messages in thread
From: Alessandro Barbieri @ 2022-03-26  7:36 UTC (permalink / raw
  To: gentoo-commits

commit:     bc7455886c7fcca54684d558cab88937608e2319
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Mar 26 07:33:21 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Mar 26 07:34:13 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=bc745588

sys-cluster/dyninst: add 12.1.0

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/dyninst/Manifest              |  1 +
 sys-cluster/dyninst/dyninst-12.1.0.ebuild | 60 +++++++++++++++++++++++++++++++
 2 files changed, 61 insertions(+)

diff --git a/sys-cluster/dyninst/Manifest b/sys-cluster/dyninst/Manifest
index f17d4e2ab..b58638aa2 100644
--- a/sys-cluster/dyninst/Manifest
+++ b/sys-cluster/dyninst/Manifest
@@ -1 +1,2 @@
 DIST dyninst-11.0.1.tar.gz 9059074 BLAKE2B 5ef230d8c5c3253aa54c01387fbb8c6f1d57ea43cb7779e3761306c916cbcd00999ee48cb6d76daba3af45dca6388dcc4c71b527f176039a32130c1ef8f6d074 SHA512 9c439be0252edae0ed3fcfa05b38595b614a91b6627afa85db126df32d5c5de5dc9413a70caf52bee7ac2349d24947626f6370f0dbf19413916c39e01679444f
+DIST dyninst-12.1.0.tar.gz 8572639 BLAKE2B 74c835a3c6c6cc9a90d416fff0ea3b4039a55941cb3a7fd63cebd19420a690d6b4fd3d574b728cc9cac53034a6075ffe2a6e9885a7aa87e2d9d0fd798f5e9a29 SHA512 ec09b83f288afefd6a30a3253c91554d421305a43c2f2384435207dcabf523d5498d64873f876817c3108c3fc0a43fd4c48ce2c1ca873c73fb98a2d823446549

diff --git a/sys-cluster/dyninst/dyninst-12.1.0.ebuild b/sys-cluster/dyninst/dyninst-12.1.0.ebuild
new file mode 100644
index 000000000..7cfdd0b74
--- /dev/null
+++ b/sys-cluster/dyninst/dyninst-12.1.0.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+
+inherit cmake
+
+DESCRIPTION="Tools for binary instrumentation, analysis, and modification"
+HOMEPAGE="
+	https://dyninst.org/dyninst
+	https://github.com/dyninst/dyninst
+"
+SRC_URI="https://github.com/dyninst/dyninst/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="doc openmp valgrind"
+
+RDEPEND="
+	dev-cpp/tbb
+	dev-libs/boost:=
+	virtual/libelf
+	virtual/mpi
+	valgrind? ( dev-util/valgrind )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="doc? ( dev-texlive/texlive-latex )"
+
+src_configure() {
+	local mycmakeargs=(
+		-DENABLE_STATIC_LIBS=NO
+		-DSTERILE_BUILD=ON
+
+		-DADD_VALGRIND_ANNOTATIONS=$(usex valgrind)
+		-DBUILD_DOCS=$(usex doc)
+		-DUSE_OpenMP=$(usex openmp)
+	)
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	einstalldocs
+	if use doc; then
+		mv "${ED}"/usr/share/doc/*.pdf "${ED}/usr/share/doc/${PF}" || die
+	fi
+
+	if [[ ! -e "${ED}/usr/$(get_libdir)" ]]; then
+		mv "${ED}/usr/lib" "${ED}/usr/$(get_libdir)" || die
+	fi
+
+	mkdir -p "${ED}/usr/include/dyninst" || die
+	mv "${ED}"/usr/include/*.h* "${ED}/usr/include/dyninst" || die
+
+	find "${ED}" -name '*.a' -delete || die
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/dyninst/
@ 2022-03-27  7:30 Alessandro Barbieri
  0 siblings, 0 replies; 4+ messages in thread
From: Alessandro Barbieri @ 2022-03-27  7:30 UTC (permalink / raw
  To: gentoo-commits

commit:     9786a98e3d22569a275a72b398800585d222176e
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sun Mar 27 07:11:17 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sun Mar 27 07:30:46 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9786a98e

sys-cluster/dyninst: restrict tbb version

Closes: https://bugs.gentoo.org/836224
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 sys-cluster/dyninst/dyninst-11.0.1-r1.ebuild | 4 ++--
 sys-cluster/dyninst/dyninst-12.1.0.ebuild    | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/sys-cluster/dyninst/dyninst-11.0.1-r1.ebuild b/sys-cluster/dyninst/dyninst-11.0.1-r1.ebuild
index eb0f0a6d7..cd757ea4f 100644
--- a/sys-cluster/dyninst/dyninst-11.0.1-r1.ebuild
+++ b/sys-cluster/dyninst/dyninst-11.0.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
@@ -20,7 +20,7 @@ KEYWORDS="~amd64"
 IUSE="doc openmp valgrind"
 
 RDEPEND="
-	dev-cpp/tbb
+	<dev-cpp/tbb-2021
 	dev-libs/boost:=
 	virtual/libelf
 	virtual/mpi

diff --git a/sys-cluster/dyninst/dyninst-12.1.0.ebuild b/sys-cluster/dyninst/dyninst-12.1.0.ebuild
index 7cfdd0b74..7ad15d6f2 100644
--- a/sys-cluster/dyninst/dyninst-12.1.0.ebuild
+++ b/sys-cluster/dyninst/dyninst-12.1.0.ebuild
@@ -20,7 +20,7 @@ KEYWORDS="~amd64"
 IUSE="doc openmp valgrind"
 
 RDEPEND="
-	dev-cpp/tbb
+	<dev-cpp/tbb-2021
 	dev-libs/boost:=
 	virtual/libelf
 	virtual/mpi


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-03-27  7:31 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-03-27  7:30 [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/dyninst/ Alessandro Barbieri
  -- strict thread matches above, loose matches on Subject: below --
2022-03-26  7:36 Alessandro Barbieri
2021-07-30 18:09 Alessandro Barbieri
2021-07-27 23:51 Alessandro Barbieri

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox