-
Notifications
You must be signed in to change notification settings - Fork 325
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
patches: build perl single-threaded (#2392)
Prevents spurious build failures.
- Loading branch information
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
patches/packages/packages/0001-perl-don-t-build-in-parallel-and-bump-release.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
From: Martin Weinelt <[email protected]> | ||
Date: Tue, 8 Feb 2022 21:09:20 +0100 | ||
Subject: perl: don't build in parallel and bump release | ||
|
||
Parallel builds cause spurious build failures with high core counts. | ||
|
||
https://github.com/openwrt/packages/issues/8238 | ||
https://github.com/openwrt/packages/pull/17274 | ||
|
||
diff --git a/lang/perl/Makefile b/lang/perl/Makefile | ||
index 443164f0a4a6a1c9fa189bf9c3c033d70db30ca0..121a3bfe653f46ecac7d10b1f3ae480fcd02f155 100644 | ||
--- a/lang/perl/Makefile | ||
+++ b/lang/perl/Makefile | ||
@@ -34,8 +34,8 @@ PKG_BUILD_DIR:=$(BUILD_DIR)/perl/$(PKG_NAME)-$(PKG_VERSION) | ||
HOST_BUILD_DIR:=$(BUILD_DIR_HOST)/perl/$(PKG_NAME)-$(PKG_VERSION) | ||
PKG_INSTALL:=1 | ||
PKG_BUILD_DEPENDS:=perl/host | ||
-PKG_BUILD_PARALLEL:=1 | ||
-HOST_BUILD_PARALLEL:=1 | ||
+PKG_BUILD_PARALLEL:=0 | ||
+HOST_BUILD_PARALLEL:=0 | ||
|
||
# Variables used during configuration/build | ||
HOST_PERL_PREFIX:=$(STAGING_DIR_HOSTPKG)/usr |