From 32db4e2fae4f0e5654f975959a477b758e023d6c Mon Sep 17 00:00:00 2001 From: Elliot Saba Date: Sun, 8 Apr 2012 09:12:34 -0700 Subject: Fix warnings on SuiteSparse Signed-off-by: Adam Vandenberg --- Library/Formula/suite-sparse.rb | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'Library') diff --git a/Library/Formula/suite-sparse.rb b/Library/Formula/suite-sparse.rb index b6e5f7a8c..bd08d43a3 100644 --- a/Library/Formula/suite-sparse.rb +++ b/Library/Formula/suite-sparse.rb @@ -10,7 +10,7 @@ class SuiteSparse < Formula def install # SuiteSparse doesn't like to build in parallel - ENV.deparallelize + ENV.j1 # So, SuiteSparse was written by a scientific researcher. This # tends to result in makefile-based build systems that are completely @@ -25,11 +25,6 @@ class SuiteSparse < Formula metis = Formula.factory("metis") inreplace 'UFconfig/UFconfig.mk' do |s| - # Compilers - s.change_make_var! "CC", ENV.cc - s.change_make_var! "CFLAGS", ENV.cflags - s.change_make_var! "CPLUSPLUS", ENV.cxx - # Libraries s.change_make_var! "BLAS", "-Wl,-framework -Wl,Accelerate" s.change_make_var! "LAPACK", "$(BLAS)" @@ -43,9 +38,6 @@ class SuiteSparse < Formula s.change_make_var! "INSTALL_INCLUDE", include end - # Remove a stray Lib prefix - inreplace 'UFconfig/Makefile', %r|Lib/|, '' - system "make library" lib.mkpath -- cgit v1.2.3