mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 12:33:40 -04:00
sys-cluster/temanejo: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
1
sys-cluster/temanejo/Manifest
Normal file
1
sys-cluster/temanejo/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST temanejo-1.3.tar.gz 2424254 BLAKE2B 40c29257f6701906265c23fa30ba9a33400855242195885bae1064f6d4b668e0e6e266a896fea8b9e1c2250dcf14be5a5dce29842eabd7c4a4e6de19be9473e9 SHA512 6792f43927d001c2431a51d198dd27474a5493a6ac2f7eb384c8f6dd90869af624582aafdd664a683f285fca191ae51f97d535d67577de70ab089fc769b4b5db
|
||||
19
sys-cluster/temanejo/metadata.xml
Normal file
19
sys-cluster/temanejo/metadata.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?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>
|
||||
<longdescription lang="en">
|
||||
Temanejo started as a graphical debugger for the task-parallel, data-dependency-driven programming model SMPSs. The foremost goal was to display the task-dependency graph of SMPSs applications, and to allow simple interaction with the SMPSs runtime system in order to control some aspects of the parallel execution of an application.
|
||||
Since then, we aim at supporting any programming model that can meaningfully define the concepts of task and dependencies between those, respectively. Notably, this includes OpenMP and MPI, i.e. the working horses in high-performance computing. Today, Temanejo is able to assist debugging (to varying extent) for the programming models SMPSs, OmpSs, StarPU, PaRSEC and OpenMP.
|
||||
Temanejo actually is only the graphical frontend. Most of the real work is done by a library called Ayudame which is used to receive information, so called events, from supporting runtime systems, and to excert control over a runtime system by issuing request to it.
|
||||
</longdescription>
|
||||
<use>
|
||||
<flag name="ompss">enable ompss plugin</flag>
|
||||
<flag name="ompt">Acquire debugging events through OMPT (OpenMP, OmpSs)</flag>
|
||||
<flag name="socket">Enable connection to socket</flag>
|
||||
<flag name="stdout">Enable output to stdout</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
79
sys-cluster/temanejo/temanejo-1.3.ebuild
Normal file
79
sys-cluster/temanejo/temanejo-1.3.ebuild
Normal file
@@ -0,0 +1,79 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
#temanejo doesn't support python3
|
||||
#PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit autotools #python-single-r1
|
||||
|
||||
DESCRIPTION="a debugger for task-parallel programming"
|
||||
HOMEPAGE="http://www.hlrs.de/solutions-services/service-portfolio/programming/hpc-development-tools/temanejo"
|
||||
SRC_URI="http://fs.hlrs.de/projects/temanejo/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="doc ompss +ompt +socket stdout"
|
||||
|
||||
REQUIRED_USE=""
|
||||
# ${PYTHON_REQUIRED_USE}
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
# ${PYTHON_DEPS}
|
||||
# $(python_gen_cond_dep '
|
||||
# dev-python/networkx[${PYTHON_USEDEP}]
|
||||
# dev-python/pycairo[${PYTHON_USEDEP}]
|
||||
# dev-python/pygobject[${PYTHON_USEDEP}]
|
||||
# dev-python/pygtk[${PYTHON_USEDEP}]
|
||||
# ')
|
||||
|
||||
BDEPEND="doc? ( dev-texlive/texlive-latex )"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--disable-static
|
||||
--enable-ayudame
|
||||
--enable-modulefile
|
||||
--disable-temanejo
|
||||
$(use_enable doc)
|
||||
$(use_enable ompt)
|
||||
)
|
||||
|
||||
if use ompss; then
|
||||
myconf+=( "--with-ompss=${EPREFIX}/usr" )
|
||||
else
|
||||
myconf+=( "--without-ompss" )
|
||||
fi
|
||||
if use socket; then
|
||||
myconf+=( "--enable-socket=yes" )
|
||||
else
|
||||
myconf+=( "--enable-socket=no" )
|
||||
fi
|
||||
if use stdout; then
|
||||
myconf+=( "--enable-stdout=yes" )
|
||||
else
|
||||
myconf+=( "--enable-stdout=no" )
|
||||
fi
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
mkdir -p "${ED}/usr/share/${PN}" || die
|
||||
mv "${ED}/usr/modulefile" "${ED}/usr/share/${PN}/" || die
|
||||
if use doc; then
|
||||
mv "${ED}/usr/share/doc/ayudame-library" "${ED}/usr/share/doc/${PF}/" || die
|
||||
fi
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user