* [PATCH 3/7] Makefile.PL: allow N to be overridden
2016-05-28 1:57 4% [PATCH 0/7] miscellaneous cleanups Eric Wong
@ 2016-05-28 1:57 7% ` Eric Wong
0 siblings, 0 replies; 2+ results
From: Eric Wong @ 2016-05-28 1:57 UTC (permalink / raw)
To: meta
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(-)
diff --git a/Makefile.PL b/Makefile.PL
index 3cffe13..61cb77b 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,,\$@)
--
EW
^ permalink raw reply related [relevance 7%]
* [PATCH 0/7] miscellaneous cleanups
@ 2016-05-28 1:57 4% Eric Wong
2016-05-28 1:57 7% ` [PATCH 3/7] Makefile.PL: allow N to be overridden Eric Wong
0 siblings, 1 reply; 2+ results
From: Eric Wong @ 2016-05-28 1:57 UTC (permalink / raw)
To: meta
Only the last one (NewsGroup class removal for ::Inbox) is
likely to cause problems but I'll be checking logs for
errors.
Eric Wong (7):
t/plack: ensure we can cascade on common endpoints
http: clarify comments about layering violation
Makefile.PL: allow N to be overridden
examples: config no longer supports atomUrl
www: remove footer_html support
config: remove try_cat
remove redundant NewsGroup class
MANIFEST | 1 -
Makefile.PL | 2 +-
examples/public-inbox-config | 1 -
lib/PublicInbox/Config.pm | 49 +++++++++++++++-----------
lib/PublicInbox/HTTP.pm | 6 ++--
lib/PublicInbox/Inbox.pm | 17 ++++-----
lib/PublicInbox/NNTP.pm | 9 ++---
lib/PublicInbox/NNTPD.pm | 27 ++++----------
lib/PublicInbox/NewsGroup.pm | 84 --------------------------------------------
lib/PublicInbox/NewsWWW.pm | 38 ++------------------
lib/PublicInbox/WWW.pm | 6 ++--
t/config.t | 2 ++
t/nntp.t | 15 +++++---
t/nntpd.t | 4 ++-
t/plack.t | 12 +++++--
15 files changed, 83 insertions(+), 190 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 --
2016-05-28 1:57 4% [PATCH 0/7] miscellaneous cleanups Eric Wong
2016-05-28 1:57 7% ` [PATCH 3/7] Makefile.PL: allow N to be overridden 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).