🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Steven Grady Fri, 29 Sep 1989 22:23
gnumake 3.56 "-j" problem
#461
Author: Steven Grady
Date: Fri, 29 Sep 1989 22:23
30 lines
1243 bytes
Using multiple jobs doesn't work in 3.56.  I haven't been able to track
it down completely (I gave up after about 2 hours), but it looks like
remake_file() is calling execute_file_commands(), then assigns
file->command_state = cs_finished, even though the job might be running
in parallel and is therefore not finished.  Or maybe it's that 
notice_finished_file() does not set file->update_status.  Or both?
Anyway, here's an example Makefile:
    a: b c
	    @echo a done

    b:
	    @echo doing b

    c:
	    @echo doing c

Here's the output:
    % gnumake -j2
    gnumake: *** Waiting for unfinished jobs....
    doing b
    %

(This occurs on a sun3, sun4, and pc/rt.)

	Steven
	...!ucbvax!grady
	grady@postgres.berkeley.edu

"I hate snakes!  I hate 'em!!"
"C'mon!  Show a little backbone, will ya?"
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads