mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
sys-cluster/spectral: initial import
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
1
sys-cluster/spectral/Manifest
Normal file
1
sys-cluster/spectral/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST spectral-3.4.1-src.tar.bz2 318900 BLAKE2B 3a34f6ac66cd3ed7b7593df5b09151e041281c12c2ac17dba6ee17f82c75e64ca8f23dfc1e5ceba432f65abe4796fdbf40bd4ba4c069de3ca8fa1fd9215b8428 SHA512 5b6350cbc6800857d1eeec7b6061406e3d238c12078f90a1ab611f89865f4bf07ef01dd638d9f258e64dfeded3963bdb48fba142599c29b57ffbcb7a86ac72f4
|
||||
16
sys-cluster/spectral/metadata.xml
Normal file
16
sys-cluster/spectral/metadata.xml
Normal file
@@ -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>
|
||||
<use>
|
||||
<flag name="extrae">Add <pkg>sys-cluster/extrae</pkg> support</flag>
|
||||
<flag name="libbsctools">Add <pkg>sys-cluster/libbsctools</pkg> support</flag>
|
||||
</use>
|
||||
<upstream>
|
||||
<bugs-to>https://github.com/bsc-performance-tools/spectral/issues</bugs-to>
|
||||
<remote-id type="github">bsc-performance-tools/spectral</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
55
sys-cluster/spectral/spectral-3.4.1.ebuild
Normal file
55
sys-cluster/spectral/spectral-3.4.1.ebuild
Normal file
@@ -0,0 +1,55 @@
|
||||
# Copyright 2019-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic
|
||||
|
||||
DESCRIPTION="Signal processing techniques to select representative regions from Paraver traces"
|
||||
HOMEPAGE="https://github.com/bsc-performance-tools/spectral"
|
||||
SRC_URI="https://ftp.tools.bsc.es/spectral/spectral-${PV}-src.tar.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="extrae libbsctools openmp"
|
||||
|
||||
RDEPEND="
|
||||
sci-libs/fftw:3.0
|
||||
extrae? ( sys-cluster/extrae )
|
||||
libbsctools? ( sys-cluster/libbsctools )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
#PATCHES=( "${FILESDIR}/respect-flags.patch" )
|
||||
|
||||
src_configure() {
|
||||
#https://github.com/bsc-performance-tools/spectral/issues/1
|
||||
append-cflags -fcommon
|
||||
append-cxxflags -fcommon
|
||||
|
||||
local myconf=(
|
||||
--disable-static
|
||||
--enable-shared
|
||||
--with-fft="${EPREFIX}/usr"
|
||||
--with-pic
|
||||
|
||||
$(use_enable openmp)
|
||||
)
|
||||
|
||||
if use extrae; then
|
||||
myconf+=( "--with-extrae=${EPREFIX}/usr" )
|
||||
else
|
||||
myconf+=( "--without-extrae" )
|
||||
fi
|
||||
if use libbsctools; then
|
||||
myconf+=( "--with-libbsctools=${EPREFIX}/usr" )
|
||||
fi
|
||||
|
||||
econf "${myconf[@]}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc ChangeLog README AUTHORS NEWS
|
||||
}
|
||||
Reference in New Issue
Block a user