mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-13 09:33:50 +00: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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29217 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
abb4d7829f
commit
eefaeeccfb
@ -19,10 +19,13 @@ GENFILE:=$(PROJ_SRC_ROOT)/include/llvm/Intrinsics.gen
|
|||||||
INTRINSICTD := $(PROJ_SRC_ROOT)/include/llvm/Intrinsics.td
|
INTRINSICTD := $(PROJ_SRC_ROOT)/include/llvm/Intrinsics.td
|
||||||
INTRINSICTDS := $(wildcard $(PROJ_SRC_ROOT)/include/llvm/Intrinsics*.td)
|
INTRINSICTDS := $(wildcard $(PROJ_SRC_ROOT)/include/llvm/Intrinsics*.td)
|
||||||
|
|
||||||
$(GENFILE): $(INTRINSICTDS) $(TBLGEN)
|
$(ObjDir)/Intrinsics.gen.tmp: $(INTRINSICTDS) $(TBLGEN)
|
||||||
$(Echo) Building Intrinsics.gen from Intrinsics.td
|
$(Echo) Building Intrinsics.gen.tmp from Intrinsics.td
|
||||||
$(Verb) $(TableGen) $(INTRINSICTD) -o $@ -gen-intrinsic
|
$(Verb) $(TableGen) $(INTRINSICTD) -o $@ -gen-intrinsic
|
||||||
|
|
||||||
|
$(GENFILE): $(ObjDir)/Intrinsics.gen.tmp
|
||||||
|
$(Verb) $(CMP) -s $@ $< || $(CP) $< $@
|
||||||
|
|
||||||
install-local:: $(GENFILE)
|
install-local:: $(GENFILE)
|
||||||
$(Echo) Installing $(PROJ_includedir)/llvm/Intrinsics.gen
|
$(Echo) Installing $(PROJ_includedir)/llvm/Intrinsics.gen
|
||||||
$(Verb) $(DataInstall) $(GENFILE) $(PROJ_includedir)/llvm/Intrinsics.gen
|
$(Verb) $(DataInstall) $(GENFILE) $(PROJ_includedir)/llvm/Intrinsics.gen
|
||||||
|
Loading…
x
Reference in New Issue
Block a user