From f8fb6c1e6d50c2dc3467c27a397f9c3c95b75b81 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Wed, 29 May 2019 08:29:30 +0000 Subject: Makefile.PL: allow `N' variable to be set in local config.mak This can useful for limiting test resource use without relying on remembering the variable command-line. --- Makefile.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.PL') diff --git a/Makefile.PL b/Makefile.PL index de0c49fd..f79697ba 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -53,9 +53,9 @@ sub MY::postamble { # support using eatmydata to speed up tests (apt-get install eatmydata): # https://www.flamingspork.com/projects/libeatmydata/ EATMYDATA = +N = \$\$(( \$\$(nproc 2>/dev/null || gnproc 2>/dev/null || echo 2) + 1 )) -include config.mak -include Documentation/include.mk -N = \$\$(( \$\$(nproc 2>/dev/null || gnproc 2>/dev/null || echo 2) + 1 )) SCRIPTS := scripts/ssoma-replay my_syntax := \$(addsuffix .syntax, $PM_FILES \$(EXE_FILES) \$(SCRIPTS)) -- cgit v1.2.3-24-ge0c7