Skip to content

Commit 6f905d4

Browse files
amstrnadarunthomas
authored andcommitted
Add some dependencies
1 parent 2f4d106 commit 6f905d4

File tree

4 files changed

+6
-0
lines changed

4 files changed

+6
-0
lines changed

llvm/include/llvm/IR/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
set(LLVM_TARGET_DEFINITIONS Attributes.td)
22
tablegen(LLVM Attributes.inc -gen-attrs)
3+
add_public_tablegen_target(attributes_gen)
34

45
set(LLVM_TARGET_DEFINITIONS Intrinsics.td)
56
tablegen(LLVM IntrinsicImpl.inc -gen-intrinsic-impl)

llvm/include/llvm/module.modulemap

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -219,6 +219,7 @@ module LLVM_Pass {
219219

220220
module LLVM_intrinsic_gen {
221221
requires cplusplus
222+
requires attribute_gen
222223

223224
// Delay building the modules containing dependencies to Attributes.h and
224225
// Intrinsics.h because they need to be generated by tablegen first.

llvm/lib/IR/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,4 +62,5 @@ add_llvm_component_library(LLVMCore
6262

6363
DEPENDS
6464
intrinsics_gen
65+
attributes_gen
6566
)

llvm/lib/MC/CMakeLists.txt

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ add_llvm_component_library(LLVMMC
6161

6262
ADDITIONAL_HEADER_DIRS
6363
${LLVM_MAIN_INCLUDE_DIR}/llvm/MC
64+
65+
DEPENDS
66+
attributes_gen
6467
)
6568

6669
add_subdirectory(MCParser)

0 commit comments

Comments
 (0)