aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichaelJGilroy <michael.gilroy24@gmail.com>2017-06-07 11:27:41 -0600
committerMichaelJGilroy <michael.gilroy24@gmail.com>2017-06-07 11:27:41 -0600
commit4fbe4e284cb9596c32823fc50f5aab44a1a6906f (patch)
tree7d4a2c8139172e6d911f66449e514ac5b51cac43
parentmade minimal eclass for 2nd eclass (diff)
downloadgentoo-mpi-4fbe4e284cb9596c32823fc50f5aab44a1a6906f.tar.gz
gentoo-mpi-4fbe4e284cb9596c32823fc50f5aab44a1a6906f.tar.bz2
gentoo-mpi-4fbe4e284cb9596c32823fc50f5aab44a1a6906f.zip
added mpi-select framework
-rw-r--r--eclass/mpi-select.eclass15
1 files changed, 15 insertions, 0 deletions
diff --git a/eclass/mpi-select.eclass b/eclass/mpi-select.eclass
new file mode 100644
index 0000000..f151cda
--- /dev/null
+++ b/eclass/mpi-select.eclass
@@ -0,0 +1,15 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+# @ECLASS: mpi-select.eclass
+# @MAINTAINER:
+# Michael Gilroy <michael.gilroy24@gmail.com>
+# @BLURB: Allow mpi software to select mpi implementation of choice.
+
+case ${EAPI:-0} in
+ 6) ;;
+ 5) ;;
+ *) die "mpi-select.eclass does not support EAPI ${EAPI}"
+esac
+
+