[bug #27714] expansion of $(shell) in target forces serialization of targets

2009-10-19 Thread Paul D. Smith
Follow-up Comment #7, bug #27714 (project make): I'm surprised you say you can do this with BSD make; I'm not aware that BSD make has any feature like the $(shell ...) function, that can appear inside a recipe. What syntax do you use for this in BSD make? We can't expand the recipe in a forked

[bug #27714] expansion of $(shell) in target forces serialization of targets

2009-10-19 Thread Mike Frysinger
Follow-up Comment #6, bug #27714 (project make): i dont really know how GNU make is architected, but i dont see why make cant fork the process to handle the target and then the subprocess does both deferred expansion and running the commands listed for that target. i'd also point out that other

[bug #27714] expansion of $(shell) in target forces serialization of targets

2009-10-19 Thread Paul D. Smith
Follow-up Comment #5, bug #27714 (project make): Hrm. The only way this could be "fixed" would be to make the $(shell ...) function a true make job, so that it takes a job token, can run in the background asynchronously, and is basically handled as an anonymous recipe line that is run before the