pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Allow overriding MAKE_JOBS_SAFE with rust.MAKE_JOBS_SAFE.



Module Name:	pkgsrc-wip
Committed By:	Havard Eidnes <he%NetBSD.org@localhost>
Pushed By:	he
Date:		Tue Apr 27 22:05:03 2021 +0200
Changeset:	de7df7b2483bc0b8aef3d3b8efe97aa5f76a4ea7

Modified Files:
	rust/Makefile

Log Message:
Allow overriding MAKE_JOBS_SAFE with rust.MAKE_JOBS_SAFE.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=de7df7b2483bc0b8aef3d3b8efe97aa5f76a4ea7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 rust/Makefile | 7 +++++++
 1 file changed, 7 insertions(+)

diffs:
diff --git a/rust/Makefile b/rust/Makefile
index 4ba1c745a0..7eff16a597 100644
--- a/rust/Makefile
+++ b/rust/Makefile
@@ -59,6 +59,13 @@ BUILD_TARGET?=		dist
 BUILD_TARGET?=		build
 .endif
 
+# Allow overriding MAKE_JOBS_SAFE
+# some may chose to mostly build faster,
+# and deal with any failures due to deadlocks
+.if !empty(rust.MAKE_JOBS_SAFE)
+MAKE_JOBS_SAFE=	${rust.MAKE_JOBS_SAFE}
+.endif
+
 # Getting RPATH with $ORIGIN into bootstrap may be troublesome, so
 # uncommenting the LD_LIBRARY_PATH setting may be required to run
 # the bootstrap


Home | Main Index | Thread Index | Old Index