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 52a9ca83013bbd1b63d8719dac13fe58d68d7c3b..8d602881d580d1c98591882941cb63f78dfd437a 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 eade87e05bc93aaf1d189124f236bbd65b7f8e1c..6cf8e731200f0a56de42acaedba6e1e70facc015 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)