Temporary fix broken build.ninja after r253790.
authorNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 22 Nov 2015 02:32:49 +0000 (02:32 +0000)
committerNAKAMURA Takumi <geek4civic@gmail.com>
Sun, 22 Nov 2015 02:32:49 +0000 (02:32 +0000)
FIXME: This can be reverted several hours later.

r253790 introduced cyclic deps around llvm-tblgen and it was affecting after reverting.

  ninja: error: dependency cycle: include/llvm/IR/Attributes.inc -> include/llvm/IR/Attributes.inc.tmp -> bin/llvm-tblgen -> utils/TableGen/CMakeFiles/obj.llvm-tblgen.dir/DFAPacketizerEmitter.cpp.o -> include/llvm/IR/Attributes.inc

It may be a ninja's bug.

FYI, renaming DFAPacketizerEmitter.cpp would be useless.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@253810 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/IR/Attributes.h
include/llvm/IR/CMakeLists.txt

index 52a9ca8..8d60288 100644 (file)
@@ -65,7 +65,7 @@ public:
     // IR-Level Attributes
     None,                  ///< No attributes have been set
     #define GET_ATTR_ENUM
-    #include "llvm/IR/Attributes.inc"
+    #include "llvm/IR/Attributes_renamed.inc"
     EndAttrKinds           ///< Sentinal value useful for loops
   };
 
index eade87e..6cf8e73 100644 (file)
@@ -1,5 +1,5 @@
 set(LLVM_TARGET_DEFINITIONS Attributes.td)
-tablegen(LLVM Attributes.inc -gen-attrs)
+tablegen(LLVM Attributes_renamed.inc -gen-attrs)
 
 set(LLVM_TARGET_DEFINITIONS Intrinsics.td)
 tablegen(LLVM Intrinsics.gen -gen-intrinsic)