summaryrefslogtreecommitdiff
path: root/homebrew/mpich
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/mpich
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/mpich')
-rw-r--r--homebrew/mpich/.beer48
-rw-r--r--homebrew/mpich/.make.sh-auto8
-rw-r--r--homebrew/mpich/_metadata/description1
-rw-r--r--homebrew/mpich/_metadata/homepage1
-rw-r--r--homebrew/mpich/_metadata/name1
-rw-r--r--homebrew/mpich/_metadata/version1
-rwxr-xr-xhomebrew/mpich/download.sh1
7 files changed, 61 insertions, 0 deletions
diff --git a/homebrew/mpich/.beer b/homebrew/mpich/.beer
new file mode 100644
index 000000000..83b15052e
--- /dev/null
+++ b/homebrew/mpich/.beer
@@ -0,0 +1,48 @@
+{
+ "name": "Mpich",
+ "description": "Implementation of the MPI Message Passing Interface standard",
+ "url": "https://www.mpich.org/static/downloads/3.3/mpich-3.3.tar.gz",
+ "mirror": "https://fossies.org/linux/misc/mpich-3.3.tar.gz",
+ "homepage": "https://www.mpich.org/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ },
+ {
+ "depend": "libtool",
+ "build-depend": true
+ },
+ {
+ "depend": "gcc",
+ "build-depend": false
+ }
+ ],
+ "resource": [],
+ "conflicts": [
+ {
+ "conflict": "open-mpi",
+ "reason": "both install MPI compiler wrappers"
+ }
+ ],
+ "patches": [],
+ "install": [
+ "if build.head?",
+ "ENV[\"MPICH_AUTOTOOLS_DIR\"] = HOMEBREW_PREFIX + \"bin\"",
+ "system \"./autogen.sh\"",
+ "end",
+ "system \"./configure\", \"--disable-dependency-tracking\",",
+ "\"--disable-silent-rules\",",
+ "\"--prefix=#{prefix}\",",
+ "\"--mandir=#{man}\"",
+ "system \"make\"",
+ "system \"make\", \"check\"",
+ "system \"make\", \"install\""
+ ],
+ "version": "3.3",
+ "file": "mpich.rb"
+} \ No newline at end of file
diff --git a/homebrew/mpich/.make.sh-auto b/homebrew/mpich/.make.sh-auto
new file mode 100644
index 000000000..4206ec394
--- /dev/null
+++ b/homebrew/mpich/.make.sh-auto
@@ -0,0 +1,8 @@
+pkg:setup
+ENV["MPICH_AUTOTOOLS_DIR"] = HOMEBREW_PREFIX + "bin"
+./autogen.sh
+end
+pkg:configure --disable-dependency-tracking --disable-silent-rules
+make
+make check
+make DESTDIR=${PKG_DEST} install
diff --git a/homebrew/mpich/_metadata/description b/homebrew/mpich/_metadata/description
new file mode 100644
index 000000000..c92e3f367
--- /dev/null
+++ b/homebrew/mpich/_metadata/description
@@ -0,0 +1 @@
+Implementation of the MPI Message Passing Interface standard
diff --git a/homebrew/mpich/_metadata/homepage b/homebrew/mpich/_metadata/homepage
new file mode 100644
index 000000000..bf243e174
--- /dev/null
+++ b/homebrew/mpich/_metadata/homepage
@@ -0,0 +1 @@
+https://www.mpich.org/
diff --git a/homebrew/mpich/_metadata/name b/homebrew/mpich/_metadata/name
new file mode 100644
index 000000000..03a1f97ca
--- /dev/null
+++ b/homebrew/mpich/_metadata/name
@@ -0,0 +1 @@
+Mpich
diff --git a/homebrew/mpich/_metadata/version b/homebrew/mpich/_metadata/version
new file mode 100644
index 000000000..eb39e5382
--- /dev/null
+++ b/homebrew/mpich/_metadata/version
@@ -0,0 +1 @@
+3.3
diff --git a/homebrew/mpich/download.sh b/homebrew/mpich/download.sh
new file mode 100755
index 000000000..6ebc3a612
--- /dev/null
+++ b/homebrew/mpich/download.sh
@@ -0,0 +1 @@
+wget https://www.mpich.org/static/downloads/3.3/mpich-3.3.tar.gz || wget https://fossies.org/linux/misc/mpich-3.3.tar.gz \ No newline at end of file