diff options
author | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-20 20:49:46 -0500 |
---|---|---|
committer | MCApollo <34170230+MCApollo@users.noreply.github.com> | 2019-04-23 20:18:47 -0500 |
commit | 12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch) | |
tree | 352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/openmpi | |
parent | a2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (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/openmpi')
-rw-r--r-- | homebrew/openmpi/.beer | 59 | ||||
-rw-r--r-- | homebrew/openmpi/.make.sh-auto | 10 | ||||
-rw-r--r-- | homebrew/openmpi/_metadata/description | 1 | ||||
-rw-r--r-- | homebrew/openmpi/_metadata/homepage | 1 | ||||
-rw-r--r-- | homebrew/openmpi/_metadata/name | 1 | ||||
-rw-r--r-- | homebrew/openmpi/_metadata/version | 1 | ||||
-rwxr-xr-x | homebrew/openmpi/download.sh | 1 |
7 files changed, 74 insertions, 0 deletions
diff --git a/homebrew/openmpi/.beer b/homebrew/openmpi/.beer new file mode 100644 index 000000000..dfb0e36dc --- /dev/null +++ b/homebrew/openmpi/.beer @@ -0,0 +1,59 @@ +{ + "name": "OpenMpi", + "description": "High performance message passing library", + "url": "https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.1.tar.bz2", + "mirror": null, + "homepage": "https://www.open-mpi.org/", + "depends": [ + { + "depend": "autoconf", + "build-depend": true + }, + { + "depend": "automake", + "build-depend": true + }, + { + "depend": "libtool", + "build-depend": true + }, + { + "depend": "gcc", + "build-depend": false + }, + { + "depend": "libevent", + "build-depend": false + } + ], + "resource": [], + "conflicts": [ + { + "conflict": "mpich", + "reason": "both install MPI compiler wrappers" + } + ], + "patches": [], + "install": [ + "ENV[\"MACOSX_DEPLOYMENT_TARGET\"] = MacOS.version", + "ENV.cxx11", + "args = %W[", + "--prefix=#{prefix}", + "--disable-dependency-tracking", + "--disable-silent-rules", + "--enable-ipv6", + "--with-libevent=#{Formula[\"libevent\"].opt_prefix}", + "--with-sge", + "]", + "args << \"--with-platform-optimized\" if build.head?", + "args << \"--enable-mpi1-compatibility\"", + "system \"./autogen.pl\" if build.head?", + "system \"./configure\", *args", + "system \"make\", \"all\"", + "system \"make\", \"check\"", + "system \"make\", \"install\"", + "include.install Dir[\"#{lib}/*.mod\"]" + ], + "version": "4.0.1", + "file": "open-mpi.rb" +}
\ No newline at end of file diff --git a/homebrew/openmpi/.make.sh-auto b/homebrew/openmpi/.make.sh-auto new file mode 100644 index 000000000..495c59629 --- /dev/null +++ b/homebrew/openmpi/.make.sh-auto @@ -0,0 +1,10 @@ +pkg:setup +ENV["MACOSX_DEPLOYMENT_TARGET"] = MacOS.version +ENV.cxx11 +args = %W[--prefix=#{prefix} --disable-dependency-tracking --disable-silent-rules --enable-ipv6 --with-libevent=#{Formula["libevent"].opt_prefix} --with-sge ] +args << "--enable-mpi1-compatibility" +pkg:configure *args +make all +make check +make DESTDIR=${PKG_DEST} install +include.install Dir["#{lib}/*.mod"] diff --git a/homebrew/openmpi/_metadata/description b/homebrew/openmpi/_metadata/description new file mode 100644 index 000000000..9623e8c0c --- /dev/null +++ b/homebrew/openmpi/_metadata/description @@ -0,0 +1 @@ +High performance message passing library diff --git a/homebrew/openmpi/_metadata/homepage b/homebrew/openmpi/_metadata/homepage new file mode 100644 index 000000000..0f5ec2f52 --- /dev/null +++ b/homebrew/openmpi/_metadata/homepage @@ -0,0 +1 @@ +https://www.open-mpi.org/ diff --git a/homebrew/openmpi/_metadata/name b/homebrew/openmpi/_metadata/name new file mode 100644 index 000000000..89cefa2b8 --- /dev/null +++ b/homebrew/openmpi/_metadata/name @@ -0,0 +1 @@ +OpenMpi diff --git a/homebrew/openmpi/_metadata/version b/homebrew/openmpi/_metadata/version new file mode 100644 index 000000000..1454f6ed4 --- /dev/null +++ b/homebrew/openmpi/_metadata/version @@ -0,0 +1 @@ +4.0.1 diff --git a/homebrew/openmpi/download.sh b/homebrew/openmpi/download.sh new file mode 100755 index 000000000..b19bf72a6 --- /dev/null +++ b/homebrew/openmpi/download.sh @@ -0,0 +1 @@ +wget https://download.open-mpi.org/release/open-mpi/v4.0/openmpi-4.0.1.tar.bz2
\ No newline at end of file |