From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1273467-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 1DAFE1382C5 for <garchives@archives.gentoo.org>; Wed, 21 Apr 2021 01:17:41 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 41282E0870; Wed, 21 Apr 2021 01:17:39 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 11D3DE0867 for <gentoo-commits@lists.gentoo.org>; Wed, 21 Apr 2021 01:17:39 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 74369340F96 for <gentoo-commits@lists.gentoo.org>; Wed, 21 Apr 2021 01:17:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EF6A871D for <gentoo-commits@lists.gentoo.org>; Wed, 21 Apr 2021 01:17:35 +0000 (UTC) From: "Alessandro Barbieri" <lssndrbarbieri@gmail.com> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Alessandro Barbieri" <lssndrbarbieri@gmail.com> Message-ID: <1618967831.aeadb10ff9c2c671b48c60f33b2f4c73d95aa5ba.Alessandro-Barbieri@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/extrae/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-cluster/extrae/extrae-3.8.3-r1.ebuild sys-cluster/extrae/extrae-3.8.3.ebuild X-VCS-Directories: sys-cluster/extrae/ X-VCS-Committer: Alessandro-Barbieri X-VCS-Committer-Name: Alessandro Barbieri X-VCS-Revision: aeadb10ff9c2c671b48c60f33b2f4c73d95aa5ba X-VCS-Branch: dev Date: Wed, 21 Apr 2021 01:17:35 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: f00d7b93-3ad6-42d1-955f-fa0219a63a63 X-Archives-Hash: 288d2f91a5da26dbbec4524966351acd commit: aeadb10ff9c2c671b48c60f33b2f4c73d95aa5ba Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> AuthorDate: Wed Apr 21 00:17:10 2021 +0000 Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com> CommitDate: Wed Apr 21 01:17:11 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=aeadb10f sys-cluster/extrae: fix dependencies Package-Manager: Portage-3.0.18, Repoman-3.0.3 Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com> sys-cluster/extrae/extrae-3.8.3-r1.ebuild | 5 +- sys-cluster/extrae/extrae-3.8.3.ebuild | 175 ------------------------------ 2 files changed, 4 insertions(+), 176 deletions(-) diff --git a/sys-cluster/extrae/extrae-3.8.3-r1.ebuild b/sys-cluster/extrae/extrae-3.8.3-r1.ebuild index 4affa0895..d0518e68f 100644 --- a/sys-cluster/extrae/extrae-3.8.3-r1.ebuild +++ b/sys-cluster/extrae/extrae-3.8.3-r1.ebuild @@ -15,6 +15,7 @@ SLOT="0" KEYWORDS="~amd64" IUSE="boost doc dwarf elf fft heterogeneous inotify +instrument-dynamic-memory +instrument-io +instrument-syscall merge-in-trace nanos opencl openmp +parallel-merge pebs-sampling +posix-clock pthread sampling +single-mpi-lib smpss +xml" #aspectj and aspectj-weaver needs to be enabled both at the same time but the aspectj package in gentoo doesn't have weaver +#TODO: find out who is pulling in libpfm #TODO: find out which FFT library is used #TODO: remove some useflags (boost fft elf dwarf) #TODO: pmapi online dyninst cuda spectral cupti openshmem gm mx synapse memkind sionlib aspectj @@ -22,7 +23,9 @@ IUSE="boost doc dwarf elf fft heterogeneous inotify +instrument-dynamic-memory + CDEPEND=" ${PYTHON_DEPS} + app-arch/xz-utils dev-libs/icu + dev-libs/libpfm sys-libs/libunwind dev-libs/libxml2 dev-libs/papi @@ -36,7 +39,7 @@ CDEPEND=" boost? ( dev-libs/boost:= ) dwarf? ( dev-libs/libdwarf ) elf? ( virtual/libelf ) - nanos? ( sys-cluster/nanos6 ) + inotify? ( dev-libs/libevent ) opencl? ( dev-util/opencl-headers ) " DEPEND=" diff --git a/sys-cluster/extrae/extrae-3.8.3.ebuild b/sys-cluster/extrae/extrae-3.8.3.ebuild deleted file mode 100644 index 59b3c2edb..000000000 --- a/sys-cluster/extrae/extrae-3.8.3.ebuild +++ /dev/null @@ -1,175 +0,0 @@ -# Copyright 2019-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( pypy3 python3_{7,8,9} ) -inherit autotools java-pkg-opt-2 python-single-r1 - -DESCRIPTION="Instrumentation framework to generate execution traces of parallel runtimes" -HOMEPAGE="https://github.com/bsc-performance-tools/extrae" -SRC_URI="https://github.com/bsc-performance-tools/extrae/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~amd64" -#TODO: correctly install python stuff -IUSE="boost doc dwarf elf fft heterogeneous inotify +instrument-dynamic-memory +instrument-io +instrument-syscall merge-in-trace opencl openmp +parallel-merge pebs-sampling +posix-clock pthread sampling +single-mpi-lib smpss +xml" -#aspectj and aspectj-weaver needs to be enabled both at the same time but the aspectj package in gentoo doesn't have weaver -#TODO: find out which FFT library is used -#TODO: remove some useflags (boost fft elf dwarf) -#TODO: nanos pmapi online dyninst cuda spectral cupti openshmem gm mx synapse memkind sionlib aspectj -#TODO: support llvm libunwind, llvm rt, elftoolchain - -CDEPEND=" - ${PYTHON_DEPS} - dev-libs/icu - sys-libs/libunwind - dev-libs/libxml2 - dev-libs/papi - sys-apps/hwloc - sys-libs/glibc - sys-libs/zlib - virtual/mpi - || ( sys-devel/binutils:* sys-libs/binutils-libs ) - boost? ( dev-libs/boost:= ) - dwarf? ( dev-libs/libdwarf ) - elf? ( virtual/libelf ) - opencl? ( dev-util/opencl-headers ) -" -DEPEND=" - ${CDEPEND} - java? ( virtual/jdk:1.8 ) -" -RDEPEND=" - ${CDEPEND} - java? ( virtual/jre:1.8 ) - virtual/opencl -" -BDEPEND=" - doc? ( dev-python/sphinx ) -" -REQUIRED_USE=" - ${PYTHON_REQUIRED_USE} -" -# cupti? ( cuda ) -# dyninst? ( boost dwarf elf ) -# online? ( synapse ) -# aspectj? ( java ) -# spectral? ( fft ) - -src_prepare() { - default - eautoreconf -} - -src_configure() { - local myconf=( - --datadir="${T}" - --datarootdir="${T}" - --libdir="${EPREFIX}/usr/$(get_libdir)/extrae" - - --disable-mic - --disable-nanos - --disable-online - --disable-peruse - --disable-pmapi - --disable-static - - --enable-shared - - --with-librt="${EPREFIX}/usr" - --with-mpi="${EPREFIX}/usr" - --with-papi="${EPREFIX}/usr" - --with-pic - --with-unwind="${EPREFIX}/usr" - - --without-dyninst - --without-cupti - --without-memkind - --without-clustering - --without-java-aspectj - --without-java-aspectj-weaver - --without-synapse - --without-spectral - --without-openshmem - --without-gm - --without-mx - - $(use_enable doc) - $(use_enable heterogeneous) - $(use_enable inotify) - $(use_enable instrument-dynamic-memory) - $(use_enable instrument-io) - $(use_enable instrument-syscall) - $(use_enable merge-in-trace) - $(use_enable openmp) - $(use_enable sampling) - $(use_enable parallel-merge) - $(use_enable pebs-sampling) - $(use_enable posix-clock) - $(use_enable pthread) - $(use_enable single-mpi-lib) - $(use_enable smpss) - $(use_enable xml) - ) -# $(use_enable nanos) -# --without-sionlib -#--with-pmpi-hook (Choose method to call PMPI (dlsym or pmpi)) - - if use boost; then - myconf+=( "--with-boost=${EPREFIX}/usr" ) - else - myconf+=( "--without-boost" ) - fi - if use dwarf; then - myconf+=( "--with-dwarf=${EPREFIX}/usr" ) - else - myconf+=( "--without-dwarf" ) - fi - if use elf; then - myconf+=( "--with-elf=${EPREFIX}/usr" ) - else - myconf+=( "--without-elf" ) - fi - if use fft; then - myconf+=( "--with-fft=${EPREFIX}/usr" ) - else - myconf+=( "--without-fft" ) - fi - if use java; then - myconf+=( "--with-java-jdk=$(java-config -O)" ) - else - myconf+=( "--without-java-jdk" ) - fi - if use opencl; then - myconf+=( "--with-opencl=${EPREFIX}/usr" ) - else - myconf+=( "--without-opencl" ) - fi - econf "${myconf[@]}" -} - -src_install() { - default - - mkdir -p "${D}/$(python_get_sitedir)/" || die - mv "${ED}/usr/libexec/pyextrae" "${D}/$(python_get_sitedir)/" || die - python_optimize "${D}/$(python_get_sitedir)/pyextrae" - - #super-duper workaround - mkdir -p "${ED}/usr/share/doc/${PF}" || die - mv "${ED}/${T}/example" "${ED}/usr/share/doc/${PF}/examples" || die - mv "${ED}/${T}/tests" "${ED}/usr/share/doc/${PF}/" || die - - if use doc ; then - mv "${T}/docs"/* "${ED}/usr/share/doc/${PF}/" || die - mv "${T}/man" "${ED}/usr/share/" || die - docompress -x "/usr/share/doc/${PF}/html" - fi - docompress -x "/usr/share/doc/${PF}/examples" - docompress -x "/usr/share/doc/${PF}/tests" - - find "${ED}" -name '*.a' -delete || die - find "${ED}" -name '*.la' -delete || die -}