aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula
diff options
context:
space:
mode:
authorDominique Orban2014-09-23 13:02:34 -0400
committerJack Nagel2014-09-23 21:25:24 -0500
commit9699357c0f424cf25d336e2101f5a9d5c8080e1d (patch)
tree651d765b43d1f1c8fecfe6e53c82d0ccf4d4eab5 /Library/Formula
parent43a480117c4fccf2a4235fed31f5f47469b92b23 (diff)
downloadhomebrew-9699357c0f424cf25d336e2101f5a9d5c8080e1d.tar.bz2
Open MPI 1.8.2
Move mod files to include dir. Closes #32562. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
-rw-r--r--Library/Formula/open-mpi.rb10
1 files changed, 5 insertions, 5 deletions
diff --git a/Library/Formula/open-mpi.rb b/Library/Formula/open-mpi.rb
index 654e8aecc..f340eec75 100644
--- a/Library/Formula/open-mpi.rb
+++ b/Library/Formula/open-mpi.rb
@@ -2,8 +2,8 @@ require 'formula'
class OpenMpi < Formula
homepage 'http://www.open-mpi.org/'
- url 'http://www.open-mpi.org/software/ompi/v1.8/downloads/openmpi-1.8.1.tar.bz2'
- sha1 'e6e85da3e54784ee3d7b0bb0ff4d365ef2899c49'
+ url 'http://www.open-mpi.org/software/ompi/v1.8/downloads/openmpi-1.8.2.tar.bz2'
+ sha1 '55067856b351cbeb5ebe8a430bfe0656115a04ed'
option 'disable-fortran', 'Do not build the Fortran bindings'
option 'enable-mpi-thread-multiple', 'Enable MPI_THREAD_MULTIPLE'
@@ -38,9 +38,9 @@ class OpenMpi < Formula
system 'make', 'check'
system 'make', 'install'
- # If Fortran bindings were built, there will be a stray `.mod` file
- # (Fortran header) in `lib` that needs to be moved to `include`.
- include.install lib/'mpi.mod' if File.exist? "#{lib}/mpi.mod"
+ # If Fortran bindings were built, there will be stray `.mod` files
+ # (Fortran header) in `lib` that need to be moved to `include`.
+ include.install Dir["#{lib}/*.mod"]
# Not sure why the wrapped script has a jar extension - adamv
libexec.install bin/'vtsetup.jar'