From 0c9bc00d62e027ebee873f51d51e3dd0832e6e41 Mon Sep 17 00:00:00 2001 From: Eric Wong Date: Sat, 28 May 2016 01:57:10 +0000 Subject: Makefile.PL: allow N to be overridden Relying on the number of processors isn't a great idea since some of our tests rely on delays to test blocking and slow client behavior. --- Makefile.PL | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Makefile.PL') diff --git a/Makefile.PL b/Makefile.PL index 3cffe133..61cb77b6 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -40,10 +40,10 @@ sub MY::postamble { EATMYDATA = -include config.mak -include Documentation/include.mk +N ?= \$(shell echo \$\$(( \$\$(nproc 2>/dev/null || echo 2) + 1))) SCRIPTS := scripts/ssoma-replay my_syntax := \$(addsuffix .syntax, $PM_FILES \$(EXE_FILES) \$(SCRIPTS)) -N := \$(shell echo \$\$(( \$\$(nproc 2>/dev/null || echo 2) + 1))) %.syntax :: @\$(PERL) -I lib -c \$(subst .syntax,,\$@) -- cgit v1.2.3-24-ge0c7