[llvm-commits] CVS: llvm/lib/VMCore/Makefile
Chris Lattner
lattner at cs.uiuc.edu
Thu Jul 20 09:44:48 PDT 2006
Changes in directory llvm/lib/VMCore:
Makefile updated: 1.16 -> 1.17
---
Log message:
Fix PR835: http://llvm.org/PR835 so that touching tblgen in a way that doesn't affect intrinsic
generation does not rebuild files that just use intrinsic info.
---
Diffs of the changes: (+5 -2)
Makefile | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
Index: llvm/lib/VMCore/Makefile
diff -u llvm/lib/VMCore/Makefile:1.16 llvm/lib/VMCore/Makefile:1.17
--- llvm/lib/VMCore/Makefile:1.16 Wed May 31 20:30:26 2006
+++ llvm/lib/VMCore/Makefile Thu Jul 20 11:44:21 2006
@@ -19,10 +19,13 @@
INTRINSICTD := $(PROJ_SRC_ROOT)/include/llvm/Intrinsics.td
INTRINSICTDS := $(wildcard $(PROJ_SRC_ROOT)/include/llvm/Intrinsics*.td)
-$(GENFILE): $(INTRINSICTDS) $(TBLGEN)
- $(Echo) Building Intrinsics.gen from Intrinsics.td
+$(ObjDir)/Intrinsics.gen.tmp: $(INTRINSICTDS) $(TBLGEN)
+ $(Echo) Building Intrinsics.gen.tmp from Intrinsics.td
$(Verb) $(TableGen) $(INTRINSICTD) -o $@ -gen-intrinsic
+$(GENFILE): $(ObjDir)/Intrinsics.gen.tmp
+ $(Verb) $(CMP) -s $@ $< || $(CP) $< $@
+
install-local:: $(GENFILE)
$(Echo) Installing $(PROJ_includedir)/llvm/Intrinsics.gen
$(Verb) $(DataInstall) $(GENFILE) $(PROJ_includedir)/llvm/Intrinsics.gen
More information about the llvm-commits
mailing list