From c1a7e9e01ce393a7bec9abe7bf38621f88d03d2e Mon Sep 17 00:00:00 2001 From: Patrick Linnane Date: Fri, 16 Feb 2024 15:23:25 -0800 Subject: [PATCH] formula_creator: `ENV.deparallelize` is only for autotools Signed-off-by: Patrick Linnane --- Library/Homebrew/formula_creator.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/formula_creator.rb b/Library/Homebrew/formula_creator.rb index 559d6c20de..9b644a3161 100644 --- a/Library/Homebrew/formula_creator.rb +++ b/Library/Homebrew/formula_creator.rb @@ -157,12 +157,12 @@ module Homebrew <% end %> def install - # ENV.deparallelize # if your formula fails when building in parallel <% if @mode == :cmake %> system "cmake", "-S", ".", "-B", "build", *std_cmake_args system "cmake", "--build", "build" system "cmake", "--install", "build" <% elsif @mode == :autotools %> + # ENV.deparallelize # if your formula fails when building in parallel # Remove unrecognized options if they cause configure to fail # https://rubydoc.brew.sh/Formula.html#std_configure_args-instance_method system "./configure", "--disable-silent-rules", *std_configure_args