bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Paul D. Smith
Subject: [bug #27714] expansion of $(shell) in target forces serialization of targets
Date: Mon, 19 Oct 2009 18:35:07 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.3) Gecko/20091007 Ubuntu/9.10 (karmic) Firefox/3.5.3

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 "real" recipe line.

This would be almost impossible to do, because it would mean we'd have to
introduce an entirely new concept in make: the ability to have "deferred
variable expansion", where we say "please expand this string" and instead of
getting the expanded string back, we'd get back a response saying "I started
it, come back later".   Then later, sometime, we'd have to check to see if it
completed, and somehow restart our expansion at that time.  Allowing expansion
to happen asynchronously would mean completely rewriting a very significant
portion of make.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?27714>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]