user/dev discussion of public-inbox itself
 help / color / mirror / code / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download mbox.gz: |
* [PATCH 1/2] Makefile.PL: allow `N' variable to be set in local config.mak
  2019-05-29  8:45  4% [PATCH 0/2] minor build/test tweaks Eric Wong
@ 2019-05-29  8:45  7% ` Eric Wong
  0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2019-05-29  8:45 UTC (permalink / raw)
  To: meta

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(-)

diff --git a/Makefile.PL b/Makefile.PL
index de0c49f..f79697b 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))
 
-- 
EW


^ permalink raw reply related	[relevance 7%]

* [PATCH 0/2] minor build/test tweaks
@ 2019-05-29  8:45  4% Eric Wong
  2019-05-29  8:45  7% ` [PATCH 1/2] Makefile.PL: allow `N' variable to be set in local config.mak Eric Wong
  0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2019-05-29  8:45 UTC (permalink / raw)
  To: meta

Eric Wong (2):
      Makefile.PL: allow `N' variable to be set in local config.mak
      Makefile.PL: enable prove warnings

 Makefile.PL | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)



^ permalink raw reply	[relevance 4%]

Results 1-2 of 2 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2019-05-29  8:45  4% [PATCH 0/2] minor build/test tweaks Eric Wong
2019-05-29  8:45  7% ` [PATCH 1/2] Makefile.PL: allow `N' variable to be set in local config.mak Eric Wong

Code repositories for project(s) associated with this public inbox

	https://80x24.org/public-inbox.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).