diff options
author | Eric Wong <e@80x24.org> | 2019-05-29 08:29:30 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-05-29 08:34:51 +0000 |
commit | f8fb6c1e6d50c2dc3467c27a397f9c3c95b75b81 (patch) | |
tree | 9bf8f0b33ed3ba8e34c3f6c29e0c7d15e1786606 | |
parent | 1bc79688ecf6bc79951c2c6ad6b1dbff1586af3f (diff) | |
download | public-inbox-f8fb6c1e6d50c2dc3467c27a397f9c3c95b75b81.tar.gz |
This can useful for limiting test resource use without relying on remembering the variable command-line.
-rw-r--r-- | Makefile.PL | 2 |
1 files changed, 1 insertions, 1 deletions
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)) |