octave-bug-tracker
[Top][All Lists]
Advanced

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

[Octave-bug-tracker] [bug #46063] Build system re-makes certain files 2


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #46063] Build system re-makes certain files 2 or even 3 times
Date: Wed, 02 Mar 2016 17:42:07 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:44.0) Gecko/20100101 Firefox/44.0 Iceweasel/44.0.2

Follow-up Comment #13, bug #46063 (project octave):

I think *removing* the Makefile from the dependency chain is the opposite of
what you guys are talking about, unless I'm completely confused. Let's say
libinterp/version.h does not depend on Makefile. Then if I re-run configure
and build from a dirty build tree, version.h will not be regenerated if it
already exists and I'll have old definitions in the header file. Depending on
Makefile is exactly what you want if you don't care about the possibility of
someone entering variables on the command line and forcing that to rewrite a
file. The only problem here is the files that are rewritten to the same
contents and then the timestamp is not updated to avoid excessive recompiles.

A way around this would be stamp files, dirtying up the build tree with a half
a dozen or so extra files, but relying on proper system timestamps to ensure
make calculates build order correctly.

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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