[LLVMbugs] [Bug 619] Makefiles don't rebuild headers generated from .in files.
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed Aug 24 03:48:08 PDT 2005
http://llvm.cs.uiuc.edu/bugs/show_bug.cgi?id=619
rspencer at x10sys.com changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Keywords| |new-feature
Resolution| |FIXED
Target Milestone|--- |1.6
------- Additional Comments From rspencer at x10sys.com 2005-08-24 05:48 -------
Fixed.
Patches here:
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20050822/027860.html
http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20050822/027861.html
NOTE:
This feature can lead to confusing (but correct) results if the *.h.in file
changed unsubstantially (timestamp or whitespace only). In that case, the
config.statu script will not update the header file since there are no
substantial changes. This is done to prevent recompiles for insignificant
changes. Unfortunately, this means the LLVM makefile system will constantly try
to update the header file because the config.status script doesn't return an
error code when it doesn't update the file (makes sense to me).
In such a situation, the "fix" is to touch the header file and take the
recompilation hit. After that, the build will be restored to sanity but you'll
end up compiling a lot more than you needed to.
Moral of the story: DON'T MODIFY *.in FILES UNSUBSTANTIALLY!
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list