mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
Fix PR835 so that touching tblgen in a way that doesn't affect intrinsic
generation does not rebuild files that just use intrinsic info. llvm-svn: 29217
This commit is contained in:
parent
6e440c39da
commit
ee79f01695
@ -19,10 +19,13 @@ GENFILE:=$(PROJ_SRC_ROOT)/include/llvm/Intrinsics.gen
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user