NetBSD-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
toolchain/57791: make: .ORDER vs. non-parallel makes
>Number: 57791
>Category: toolchain
>Synopsis: make: .ORDER vs. non-parallel makes
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: toolchain-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Thu Dec 21 01:55:01 +0000 2023
>Originator: David A. Holland
>Release: NetBSD 10.99.10 (20231220)
>Organization:
>Environment:
System: NetBSD valkyrie 9.99.97 NetBSD 9.99.97 (VALKYRIE) #9: Thu Jun 2 20:39:54 EDT 2022 dholland@valkyrie:/usr/src/sys/arch/amd64/compile/VALKYRIE amd64
Architecture: x86_64
Machine: amd64
>Description:
Non-parallel makes ignore the .ORDER directive. This is, on the one
hand, reasonable. On the other, it means that in some cases "make" and
"make -j1" behave materially differently, and that seems undesirable.
I'm not sure what the resolution should be. I lean towards having
"make" and "make -j1" always do the same thing. Though maybe it's also
reasonable for this case to produce an error.
In any event the current behavior is not documented, and that's
definitely undesirable.
>How-To-Repeat:
all: foo bar
.ORDER: bar foo
bar:
@echo bar
foo:
@echo foo
% make
foo
bar
% make -j1
bar
foo
%
>Fix:
Dunno, sorry, been too much change in make since I last looked at it.
Home |
Main Index |
Thread Index |
Old Index