Skip to content

Commit

Permalink
[CMake] Reorder deps and reformat
Browse files Browse the repository at this point in the history
  • Loading branch information
chapuni committed Apr 23, 2023
1 parent d4ecd12 commit ad6e878
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion llvm/lib/Target/ARC/Disassembler/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ add_llvm_component_library(LLVMARCDisassembler
ARCDisassembler.cpp

LINK_COMPONENTS
ARCInfo
MCDisassembler
Support
ARCInfo

ADD_TO_COMPONENT
ARC
Expand Down
2 changes: 1 addition & 1 deletion llvm/lib/Target/CSKY/MCTargetDesc/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,4 @@ add_llvm_component_library(LLVMCSKYDesc

ADD_TO_COMPONENT
CSKY
)
)
6 changes: 3 additions & 3 deletions llvm/lib/Target/M68k/AsmParser/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@ add_llvm_component_library(LLVMM68kAsmParser
M68kAsmParser.cpp

LINK_COMPONENTS
M68kCodeGen
M68kInfo
MC
MCParser
Support
M68kCodeGen
M68kInfo

ADD_TO_COMPONENT
M68k
)
)
2 changes: 1 addition & 1 deletion llvm/unittests/Target/DirectX/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ set(LLVM_LINK_COMPONENTS
Core
DirectXCodeGen
Support
)
)

add_llvm_target_unittest(DirectXTests
CBufferDataLayoutTests.cpp
Expand Down
18 changes: 9 additions & 9 deletions llvm/utils/TableGen/GlobalISel/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,15 @@ set(LLVM_LINK_COMPONENTS
)

add_llvm_library(LLVMTableGenGlobalISel STATIC DISABLE_LLVM_LINK_LLVM_DYLIB
CodeExpander.cpp
GIMatchDag.cpp
GIMatchDagEdge.cpp
GIMatchDagInstr.cpp
GIMatchDagOperands.cpp
GIMatchDagPredicate.cpp
GIMatchDagPredicateDependencyEdge.cpp
GIMatchTree.cpp
)
CodeExpander.cpp
GIMatchDag.cpp
GIMatchDagEdge.cpp
GIMatchDagInstr.cpp
GIMatchDagOperands.cpp
GIMatchDagPredicate.cpp
GIMatchDagPredicateDependencyEdge.cpp
GIMatchTree.cpp
)

# Users may include its headers as "GlobalISel/*.h"
target_include_directories(LLVMTableGenGlobalISel
Expand Down

0 comments on commit ad6e878

Please sign in to comment.