formula_creator: ENV.deparallelize is only for autotools
Signed-off-by: Patrick Linnane <patrick@linnane.io>
This commit is contained in:
parent
fa23636c44
commit
c1a7e9e01c
@ -157,12 +157,12 @@ module Homebrew
|
|||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
def install
|
def install
|
||||||
# ENV.deparallelize # if your formula fails when building in parallel
|
|
||||||
<% if @mode == :cmake %>
|
<% if @mode == :cmake %>
|
||||||
system "cmake", "-S", ".", "-B", "build", *std_cmake_args
|
system "cmake", "-S", ".", "-B", "build", *std_cmake_args
|
||||||
system "cmake", "--build", "build"
|
system "cmake", "--build", "build"
|
||||||
system "cmake", "--install", "build"
|
system "cmake", "--install", "build"
|
||||||
<% elsif @mode == :autotools %>
|
<% elsif @mode == :autotools %>
|
||||||
|
# ENV.deparallelize # if your formula fails when building in parallel
|
||||||
# Remove unrecognized options if they cause configure to fail
|
# Remove unrecognized options if they cause configure to fail
|
||||||
# https://rubydoc.brew.sh/Formula.html#std_configure_args-instance_method
|
# https://rubydoc.brew.sh/Formula.html#std_configure_args-instance_method
|
||||||
system "./configure", "--disable-silent-rules", *std_configure_args
|
system "./configure", "--disable-silent-rules", *std_configure_args
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user