mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-17 19:13:13 -04:00
sys-cluster/scalasca: new package, add 2.6
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
1
sys-cluster/scalasca/Manifest
Normal file
1
sys-cluster/scalasca/Manifest
Normal file
@@ -0,0 +1 @@
|
||||
DIST scalasca-2.6.tar.gz 10799514 BLAKE2B 0a4b70a01394a41a7be9791baf6f6b4fef796a9f6c9e765ff7de413deb99e80896cd1afa444644383b049274c0a3216578b94f0620f2f9ab1c20e9c8360cbb5d SHA512 a57de4e7b095d7093c9c2ca2404c1af253bfbb459be768335cf1b547c2486c0c952b0062c9347e4a959c88fa8b4bb077569ef4c27eeb483327d622b558675a2b
|
||||
8
sys-cluster/scalasca/metadata.xml
Normal file
8
sys-cluster/scalasca/metadata.xml
Normal file
@@ -0,0 +1,8 @@
|
||||
<?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>
|
||||
</pkgmetadata>
|
||||
73
sys-cluster/scalasca/scalasca-2.6.ebuild
Normal file
73
sys-cluster/scalasca/scalasca-2.6.ebuild
Normal file
@@ -0,0 +1,73 @@
|
||||
# Copyright 2019-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Scalable Performance Analysis of Large-Scale Applications"
|
||||
HOMEPAGE="https://www.scalasca.org/scalasca/software/scalasca-2.x/download.html"
|
||||
SRC_URI="http://apps.fz-juelich.de/${PN}/releases/${PN}/${PV}/dist/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+openmp"
|
||||
|
||||
RDEPEND="
|
||||
dev-libs/cubelib
|
||||
dev-libs/cubew
|
||||
gui-libs/cubegui
|
||||
sys-cluster/otf2
|
||||
sys-cluster/scorep
|
||||
sys-libs/binutils-libs
|
||||
sys-libs/zlib
|
||||
virtual/mpi
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="
|
||||
sys-devel/bison
|
||||
sys-devel/flex
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
rm -r vendor || die
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
tc-export CC CXX FC F77 CPP
|
||||
|
||||
export MPICC=/usr/bin/mpicc
|
||||
export MPICXX=/usr/bin/mpicxx
|
||||
export MPIF77=/usr/bin/mpif77
|
||||
export MPIFC=/usr/bin/mpifc
|
||||
|
||||
export MPI_CFLAGS="${CFLAGS}"
|
||||
export MPI_CXXFLAGS="${CXXFLAGS}"
|
||||
export MPI_CPPFLAGS="${CPPFLAGS}"
|
||||
export MPI_F77LAGS="${F77FLAGS}"
|
||||
export MPI_FCLAGS="${FCFLAGS}"
|
||||
export MPI_LDFLAGS="${LDFLAGS}"
|
||||
|
||||
local myconf=(
|
||||
--disable-platform-mic
|
||||
--disable-static
|
||||
--enable-shared
|
||||
--with-cubew="${EPREFIX}/usr"
|
||||
--with-libz="${EPREFIX}/usr"
|
||||
--with-otf2="${EPREFIX}/usr"
|
||||
$(use_enable openmp)
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
mkdir -p "${ED}/usr/share/doc/${PF}/html" || die
|
||||
mv "${ED}/usr/share/doc/${PF}/manual/html" "${ED}/usr/share/doc/${PF}/html/manual" || die
|
||||
mv "${ED}/usr/share/doc/${PF}/patterns" "${ED}/usr/share/doc/${PF}/html/patterns" || die
|
||||
docompress -x "/usr/share/doc/${PF}/html"
|
||||
|
||||
find "${ED}" -name '*.la' -delete || die
|
||||
}
|
||||
Reference in New Issue
Block a user