Replace template’s j1 with deparallelize

Solely because I think `ENV.deparallelize` is *way* clearer than
`ENV.j1`, at least to the uninitiated.

Also, updating the template will reduce the number of `ENV.j1`s that
persist because the Homebrew maintainers want clean histories of
formulae. Ideally, this change should prevent any more cases from being
introduced!

Closes Homebrew/homebrew#25431.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Josh Tilles 2013-12-24 15:37:59 -05:00 committed by Jack Nagel
parent 7a3e9149e0
commit 410121d8ed

View File

@ -137,7 +137,7 @@ class FormulaCreator
depends_on :x11 # if your formula requires any X11/XQuartz components depends_on :x11 # if your formula requires any X11/XQuartz components
def install def install
# ENV.j1 # if your formula's build system can't parallelize # ENV.deparallelize # if your formula fails when building in parallel
<% if mode == :cmake %> <% if mode == :cmake %>
system "cmake", ".", *std_cmake_args system "cmake", ".", *std_cmake_args