From c85f68c4e952294304e5938acb601e66f5df71a0 Mon Sep 17 00:00:00 2001 From: Paul Smith Date: Sat, 18 Feb 2023 13:20:00 -0500 Subject: Allow jobserver style to be forced to "pipe" Some systems that support mkfifo() don't support the usage that GNU make wants. Provide a way to force using "pipe" jobserver mode even when mkfifo() is available. * src/makeint.h (MK_OS_HURD): Define if we're on Hurd. (JOBSERVER_USE_FIFO): Define if we have mkfifo() and we're NOT on Hurd. * src/main.c (main): Test JOBSERVER_USE_FIFO not HAVE_MKFIFO. * src/posixos.c (jobserver_setup): Ditto. * maintMakefile: Create a config check test for forcing "pipe" mode. * tests/run_make_tests.pl: Show discovered FEATURES in verbose mode. --- tests/run_make_tests.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'tests') diff --git a/tests/run_make_tests.pl b/tests/run_make_tests.pl index a5d9b807..012bd66d 100644 --- a/tests/run_make_tests.pl +++ b/tests/run_make_tests.pl @@ -671,6 +671,7 @@ sub set_more_defaults create_file('features.mk', 'all:;$(info $(.FEATURES))'); %FEATURES = map { $_ => 1 } split /\s+/, `$make_path -sf features.mk`; + print "$make_path FEATURES: @{[%FEATURES]}\n" if $verbose; unlink('features.mk'); # Find the default values for different built-in variables -- cgit v1.2.1