* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/native-mpi/
@ 2017-12-23 21:22 David Seifert
0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2017-12-23 21:22 UTC (permalink / raw
To: gentoo-commits
commit: 58676013a79c5548e828e7a605946fec6d34617d
Author: Harri Nieminen <moikkis <AT> gmail <DOT> com>
AuthorDate: Fri Dec 15 17:47:28 2017 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Dec 23 21:21:40 2017 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=58676013
sys-cluster/native-mpi: EAPI 3 -> 6
Package-Manager: Portage-2.3.18, Repoman-2.3.6
Closes: https://github.com/gentoo/gentoo/pull/6556
sys-cluster/native-mpi/native-mpi-0.ebuild | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/sys-cluster/native-mpi/native-mpi-0.ebuild b/sys-cluster/native-mpi/native-mpi-0.ebuild
index 5b2cab5d1d1..3d8f7384739 100644
--- a/sys-cluster/native-mpi/native-mpi-0.ebuild
+++ b/sys-cluster/native-mpi/native-mpi-0.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=3
+EAPI=6
DESCRIPTION="Use native OS MPI in prefix environment"
HOMEPAGE="https://prefix.gentoo.org"
@@ -15,8 +15,10 @@ IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
+S="${WORKDIR}"
+
src_install() {
- cat >> "${T}"/99mpi <<- EOF
+ cat >> "${T}"/99mpi <<- EOF || die
MPI_CC=gcc
MPI_CXX=g++
MPI_FC=gfortran
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: sys-cluster/native-mpi/
@ 2022-01-29 20:15 David Seifert
0 siblings, 0 replies; 2+ messages in thread
From: David Seifert @ 2022-01-29 20:15 UTC (permalink / raw
To: gentoo-commits
commit: 4712a5e0752bd99b4ecc2e92ba0c1b5627230c36
Author: David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 29 20:15:25 2022 +0000
Commit: David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Sat Jan 29 20:15:25 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4712a5e0
sys-cluster/native-mpi: update EAPI 6 -> 8
Signed-off-by: David Seifert <soap <AT> gentoo.org>
...{native-mpi-0.ebuild => native-mpi-0-r1.ebuild} | 31 +++++++++-------------
1 file changed, 13 insertions(+), 18 deletions(-)
diff --git a/sys-cluster/native-mpi/native-mpi-0.ebuild b/sys-cluster/native-mpi/native-mpi-0-r1.ebuild
similarity index 54%
rename from sys-cluster/native-mpi/native-mpi-0.ebuild
rename to sys-cluster/native-mpi/native-mpi-0-r1.ebuild
index 3d8f73847393..592189462df5 100644
--- a/sys-cluster/native-mpi/native-mpi-0.ebuild
+++ b/sys-cluster/native-mpi/native-mpi-0-r1.ebuild
@@ -1,36 +1,31 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=8
+
+inherit toolchain-funcs
DESCRIPTION="Use native OS MPI in prefix environment"
HOMEPAGE="https://prefix.gentoo.org"
-SRC_URI=""
+S="${WORKDIR}"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64-linux ~x86-linux"
-IUSE=""
-
-DEPEND=""
-RDEPEND="${DEPEND}"
-
-S="${WORKDIR}"
src_install() {
- cat >> "${T}"/99mpi <<- EOF || die
- MPI_CC=gcc
- MPI_CXX=g++
- MPI_FC=gfortran
- MPI_F90=gfortran
- HPMPI_F77=gfortran
- EOF
- doenvd "${T}"/99mpi
+ newenvd - 99mpi <<-_EOF_
+ MPI_CC=$(tc-getCC)
+ MPI_CXX=$(tc-getCXX)
+ MPI_FC=$(tc-getFC)
+ MPI_F90=$(tc-getFC)
+ HPMPI_F77=$(tc-getFC)
+ _EOF_
}
pkg_postinst() {
einfo
- einfo "Please read and edit ${EPREFIX}/etc/env.d/99mpi"
+ einfo "Please read and edit ${EROOT}/etc/env.d/99mpi"
einfo "to add needed values for your os-mpi implentation"
einfo
}
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-01-29 20:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-12-23 21:22 [gentoo-commits] repo/gentoo:master commit in: sys-cluster/native-mpi/ David Seifert
-- strict thread matches above, loose matches on Subject: below --
2022-01-29 20:15 David Seifert
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox