diff options
| author | Jack Nagel | 2015-01-13 20:11:22 -0500 | 
|---|---|---|
| committer | Jack Nagel | 2015-01-13 20:14:48 -0500 | 
| commit | 411712128340034b70fdcb5c93e2b971e5045d11 (patch) | |
| tree | 327f5a974cb54030a1cb6ec0da2c94061a5b715e | |
| parent | 73ede54b7156fd66d79480f0e5c6b9f22f047f6d (diff) | |
| download | homebrew-411712128340034b70fdcb5c93e2b971e5045d11.tar.bz2 | |
Use supported API for manipulating the number of parallel build jobs
| -rw-r--r-- | Library/Formula/fibjs.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/smake.rb | 2 | ||||
| -rw-r--r-- | Library/Formula/star.rb | 2 | 
3 files changed, 3 insertions, 3 deletions
| diff --git a/Library/Formula/fibjs.rb b/Library/Formula/fibjs.rb index 8b05c5b2d..acc353a21 100644 --- a/Library/Formula/fibjs.rb +++ b/Library/Formula/fibjs.rb @@ -17,7 +17,7 @@ class Fibjs < Formula    depends_on "cmake" => :build    def install -    system "./build", "Release", "-j#{ENV["HOMEBREW_MAKE_JOBS"]}" +    system "./build", "Release", "-j#{ENV.make_jobs}"      bin.install "bin/Darwin_Release/fibjs"    end diff --git a/Library/Formula/smake.rb b/Library/Formula/smake.rb index 980578a6b..c409ff509 100644 --- a/Library/Formula/smake.rb +++ b/Library/Formula/smake.rb @@ -17,7 +17,7 @@ class Smake < Formula    env :std if MacOS.version <= :lion    def install -    ENV.delete 'MAKEFLAGS' # the bootstrap smake does not like -j +    ENV.deparallelize # the bootstrap smake does not like -j      system "make", "GMAKE_NOWARN=true", "INS_BASE=#{libexec}", "INS_RBASE=#{libexec}", "install"      bin.install_symlink libexec/"bin/smake" diff --git a/Library/Formula/star.rb b/Library/Formula/star.rb index f523a6ca1..c846efc58 100644 --- a/Library/Formula/star.rb +++ b/Library/Formula/star.rb @@ -8,7 +8,7 @@ class Star < Formula    depends_on "smake" => :build    def install -    ENV.delete 'MAKEFLAGS' # smake does not like -j +    ENV.deparallelize # smake does not like -j      system "smake", "GMAKE_NOWARN=true", "INS_BASE=#{prefix}", "INS_RBASE=#{prefix}", "install" | 
