[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/scalasca/, profiles/
commit: 29aa83376f05904f7e186c902cec54ef43b40f79 Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Mon Mar 6 19:52:02 2023 + Commit: Anna Vyalkova sysrq in> CommitDate: Mon Mar 6 19:53:47 2023 + URL:https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=29aa8337 sys-cluster/scalasca: treeclean Closes: https://bugs.gentoo.org/852041 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> profiles/package.mask| 2 - sys-cluster/scalasca/Manifest| 1 - sys-cluster/scalasca/metadata.xml| 8 --- sys-cluster/scalasca/scalasca-2.6.ebuild | 98 4 files changed, 109 deletions(-) diff --git a/profiles/package.mask b/profiles/package.mask index 6e5a19695..bbe10db2f 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -62,8 +62,6 @@ www-apps/gogs dev-util/annobin net-misc/bee sys-cluster/scorep -# and revdeps -sys-cluster/scalasca # Viorel Munteanu (2023-01-29) # Very outdated live version diff --git a/sys-cluster/scalasca/Manifest b/sys-cluster/scalasca/Manifest deleted file mode 100644 index abff88c01..0 --- a/sys-cluster/scalasca/Manifest +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index 40bc55973..0 --- a/sys-cluster/scalasca/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - -https://www.gentoo.org/dtd/metadata.dtd;> - - - lssndrbarbi...@gmail.com - Alessandro Barbieri - - diff --git a/sys-cluster/scalasca/scalasca-2.6.ebuild b/sys-cluster/scalasca/scalasca-2.6.ebuild deleted file mode 100644 index 20b391727..0 --- a/sys-cluster/scalasca/scalasca-2.6.ebuild +++ /dev/null @@ -1,98 +0,0 @@ -# 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 AR - - cat > build-config/common/platforms/platform-backend-user-provided <<-EOF || die - CC=${CC} - CXX=${CXX} - FC=${FC} - F77=${F77} - CPP=${CPP} - CXXCPP=${CPP} - EOF - - 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) - ) - 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 -}
[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/scalasca/
commit: fa0fcf95afedb0025996c25bc1f976acdcc5d8ef Author: Alessandro Barbieri gmail com> AuthorDate: Thu Jun 16 13:51:42 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Fri Jun 17 00:35:48 2022 + 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 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)
[gentoo-commits] repo/proj/guru:dev commit in: sys-cluster/scalasca/
commit: 9c6026f4f3d58527559708478434deeeaa187cf6 Author: Alessandro Barbieri gmail com> AuthorDate: Tue Jun 14 07:56:42 2022 + Commit: Alessandro Barbieri gmail com> CommitDate: Tue Jun 14 08:00:25 2022 + 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 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 0..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 0..6c0bdfd68 --- /dev/null +++ b/sys-cluster/scalasca/metadata.xml @@ -0,0 +1,8 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + lssndrbarbi...@gmail.com + Alessandro Barbieri + + diff --git a/sys-cluster/scalasca/scalasca-2.6.ebuild b/sys-cluster/scalasca/scalasca-2.6.ebuild new file mode 100644 index 0..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 +}