~alpine/devel

This thread contains a patchset. You're looking at the original emails, but you may wish to use the patch review UI. Review patch

[PATCH] abuild: set samurai parallelism

Details
Message ID
<20191209163318.16171-1-sir@cmpwn.com>
DKIM signature
missing
Download raw message
Patch: +4 -1
---
 abuild.conf     | 1 +
 functions.sh.in | 4 +++-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/abuild.conf b/abuild.conf
index 6721e7f..a005afa 100644
--- a/abuild.conf
+++ b/abuild.conf
@@ -5,6 +5,7 @@ export LDFLAGS="-Wl,--as-needed"

export JOBS=2
export MAKEFLAGS=-j$JOBS
export SAMUFLAGS=-j$JOBS

# remove line below to disable colors
USE_COLORS=1
diff --git a/functions.sh.in b/functions.sh.in
index 6d5181a..531c9ba 100644
--- a/functions.sh.in
+++ b/functions.sh.in
@@ -55,7 +55,7 @@ hostspec_to_libc() {
readconfig() {
	local _APORTSDIR _BUILDDIR _PKGDEST _SRCPKGDEST _REPODEST _SRCDEST
	local _CARCH _CHOST _CTARGET _CPPFLAGS _CFLAGS _CXXFLAGS _LDFLAGS
	local _JOBS _MAKEFLAGS _PACKAGER _USE_COLORS _USE_CCACHE
	local _JOBS _MAKEFLAGS _SAMUFLAGS _PACKAGER _USE_COLORS _USE_CCACHE
	local gitbase=
	[ -n "${APORTSDIR+x}" ] && _APORTSDIR=$APORTSDIR
	[ -n "${BUILDDIR+x}" ] && _BUILDDIR=$BUILDDIR
@@ -72,6 +72,7 @@ readconfig() {
	[ -n "${LDFLAGS+x}" ] && _LDFLAGS=$LDFLAGS
	[ -n "${JOBS+x}" ] && _JOBS=$JOBS
	[ -n "${MAKEFLAGS+x}" ] && _MAKEFLAGS=$MAKEFLAGS
	[ -n "${SAMUFLAGS+x}" ] && _SAMUFLAGS=$SAMUFLAGS
	[ -n "${PACKAGER+x}" ] && _PACKAGER=$PACKAGER
	[ -n "${USE_COLORS+x}" ] && _USE_COLORS="$USE_COLORS"
	[ -n "${USE_CCACHE+x}" ] && _USE_CCACHE="$USE_CCACHE"
@@ -113,6 +114,7 @@ readconfig() {
	LDFLAGS=${_LDFLAGS-$LDFLAGS}
	JOBS=${_JOBS-$JOBS}
	MAKEFLAGS=${_MAKEFLAGS-$MAKEFLAGS}
	SAMUFLAGS=${_SAMUFLAGS-$SAMUFLAGS}
	PACKAGER=${_PACKAGER-$PACKAGER}
	USE_COLORS=${_USE_COLORS-$USE_COLORS}
	USE_CCACHE=${_USE_CCACHE-$USE_CCACHE}
-- 
2.24.0
Reply to thread Export thread (mbox)