* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/scalasca/
@ 2022-06-14 8:00 Alessandro Barbieri
0 siblings, 0 replies; 2+ messages in thread
From: Alessandro Barbieri @ 2022-06-14 8:00 UTC (permalink / raw
To: gentoo-commits
commit: 9c6026f4f3d58527559708478434deeeaa187cf6
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Tue Jun 14 07:56:42 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Tue Jun 14 08:00:25 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=9c6026f4
sys-cluster/scalasca: new package, add 2.6
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/scalasca/Manifest | 1 +
sys-cluster/scalasca/metadata.xml | 8 ++++
sys-cluster/scalasca/scalasca-2.6.ebuild | 73 ++++++++++++++++++++++++++++++++
3 files changed, 82 insertions(+)
diff --git a/sys-cluster/scalasca/Manifest b/sys-cluster/scalasca/Manifest
new file mode 100644
index 000000000..abff88c01
--- /dev/null
+++ b/sys-cluster/scalasca/Manifest
@@ -0,0 +1 @@
+DIST scalasca-2.6.tar.gz 10799514 BLAKE2B 0a4b70a01394a41a7be9791baf6f6b4fef796a9f6c9e765ff7de413deb99e80896cd1afa444644383b049274c0a3216578b94f0620f2f9ab1c20e9c8360cbb5d SHA512 a57de4e7b095d7093c9c2ca2404c1af253bfbb459be768335cf1b547c2486c0c952b0062c9347e4a959c88fa8b4bb077569ef4c27eeb483327d622b558675a2b
diff --git a/sys-cluster/scalasca/metadata.xml b/sys-cluster/scalasca/metadata.xml
new file mode 100644
index 000000000..6c0bdfd68
--- /dev/null
+++ b/sys-cluster/scalasca/metadata.xml
@@ -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>
diff --git a/sys-cluster/scalasca/scalasca-2.6.ebuild b/sys-cluster/scalasca/scalasca-2.6.ebuild
new file mode 100644
index 000000000..64dd29d61
--- /dev/null
+++ b/sys-cluster/scalasca/scalasca-2.6.ebuild
@@ -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
+}
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/scalasca/
@ 2022-06-17 0:35 Alessandro Barbieri
0 siblings, 0 replies; 2+ messages in thread
From: Alessandro Barbieri @ 2022-06-17 0:35 UTC (permalink / raw
To: gentoo-commits
commit: fa0fcf95afedb0025996c25bc1f976acdcc5d8ef
Author: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Thu Jun 16 13:51:42 2022 +0000
Commit: Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Fri Jun 17 00:35:48 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fa0fcf95
sys-cluster/scalasca: export more variables
Bug: https://bugs.gentoo.org/852041
Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>
sys-cluster/scalasca/scalasca-2.6.ebuild | 47 ++++++++++++++++++++++++--------
1 file changed, 36 insertions(+), 11 deletions(-)
diff --git a/sys-cluster/scalasca/scalasca-2.6.ebuild b/sys-cluster/scalasca/scalasca-2.6.ebuild
index 64dd29d61..20b391727 100644
--- a/sys-cluster/scalasca/scalasca-2.6.ebuild
+++ b/sys-cluster/scalasca/scalasca-2.6.ebuild
@@ -36,25 +36,50 @@ src_prepare() {
}
src_configure() {
- tc-export CC CXX FC F77 CPP
+ tc-export CC CXX FC F77 CPP AR
- export MPICC=/usr/bin/mpicc
- export MPICXX=/usr/bin/mpicxx
- export MPIF77=/usr/bin/mpif77
- export MPIFC=/usr/bin/mpifc
+ cat > build-config/common/platforms/platform-backend-user-provided <<-EOF || die
+ CC=${CC}
+ CXX=${CXX}
+ FC=${FC}
+ F77=${F77}
+ CPP=${CPP}
+ CXXCPP=${CPP}
+ EOF
- export MPI_CFLAGS="${CFLAGS}"
- export MPI_CXXFLAGS="${CXXFLAGS}"
- export MPI_CPPFLAGS="${CPPFLAGS}"
- export MPI_F77LAGS="${F77FLAGS}"
- export MPI_FCLAGS="${FCFLAGS}"
- export MPI_LDFLAGS="${LDFLAGS}"
+ cat > build-config/common/platforms/platform-frontend-user-provided <<-EOF || die
+ CC_FOR_BUILD=${CC}
+ F77_FOR_BUILD=${F77}
+ FC_FOR_BUILD=${FC}
+ CXX_FOR_BUILD=${CXX}
+ LDFLAGS_FOR_BUILD=${LDFLAGS}
+ CFLAGS_FOR_BUILD=${CFLAGS}
+ CXXFLAGS_FOR_BUILD=${CXXFLAGS}
+ CPPFLAGS_FOR_BUILD=${CPPFLAGS}
+ FCFLAGS_FOR_BUILD=${FCFLAGS}
+ FFLAGS_FOR_BUILD=${FFLAGS}
+ CXXFLAGS_FOR_BUILD_SCORE=${CXXFLAGS}
+ EOF
+
+ cat > build-config/common/platforms/platform-mpi-user-provided <<-EOF || die
+ MPICC=mpicc
+ MPICXX=mpicxx
+ MPIF77=mpif77
+ MPIFC=mpif90
+ MPI_CPPFLAGS=${CPPFLAGS}
+ MPI_CFLAGS=${CFLAGS}
+ MPI_CXXFLAGS=${CXXFLAGS}
+ MPI_FFLAGS=${FFLAGS}
+ MPI_FCFLAGS=${FCFLAGS}
+ MPI_LDFLAGS=${LDFLAGS}
+ EOF
local myconf=(
--disable-platform-mic
--disable-static
--enable-shared
--with-cubew="${EPREFIX}/usr"
+ --with-custom-compilers
--with-libz="${EPREFIX}/usr"
--with-otf2="${EPREFIX}/usr"
$(use_enable openmp)
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-06-17 0:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-06-17 0:35 [gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/scalasca/ Alessandro Barbieri
-- strict thread matches above, loose matches on Subject: below --
2022-06-14 8:00 Alessandro Barbieri
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox