szip, hdf5, fann: add --universal
Closes Homebrew/homebrew#17237. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This commit is contained in:
parent
d1ed67e3b6
commit
74bd7871f4
3 changed files with 7 additions and 0 deletions
|
@ -6,8 +6,10 @@ class Fann < Formula
|
|||
sha1 'ff8341e4104bdbc0f3ab7ad39aef33285f8512d4'
|
||||
|
||||
depends_on 'cmake' => :build
|
||||
option :universal
|
||||
|
||||
def install
|
||||
ENV.universal_binary if build.universal?
|
||||
system "cmake", ".", *std_cmake_args
|
||||
system "make install"
|
||||
end
|
||||
|
|
|
@ -8,10 +8,12 @@ class Hdf5 < Formula
|
|||
depends_on 'szip'
|
||||
|
||||
# TODO - warn that these options conflict
|
||||
option :universal
|
||||
option 'enable-fortran', 'Compile Fortran bindings'
|
||||
option 'enable-threadsafe', 'Trade performance and C++ or Fortran support for thread safety'
|
||||
|
||||
def install
|
||||
ENV.universal_binary if build.universal?
|
||||
args = %W[
|
||||
--prefix=#{prefix}
|
||||
--enable-production
|
||||
|
|
|
@ -5,7 +5,10 @@ class Szip < Formula
|
|||
homepage 'http://www.hdfgroup.org/HDF5/release/obtain5.html#extlibs'
|
||||
sha1 'd241c9acc26426a831765d660b683b853b83c131'
|
||||
|
||||
option :universal
|
||||
|
||||
def install
|
||||
ENV.universal_binary if build.universal?
|
||||
system "./configure", "--prefix=#{prefix}", "--disable-debug", "--disable-dependency-tracking"
|
||||
system "make install"
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue