Skip to content

Commit 26c290b

Browse files
authored
[cmake] Place clang behind mlir in the list of external projects (#86050)
In preparation for the initial ClangIR upstreaming process, move clang behind MLIR in the list of external projects. Otherwise, cmake will attempt to build clang before MLIR.
1 parent df9ed9c commit 26c290b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/tools/CMakeLists.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -37,11 +37,11 @@ add_llvm_tool_subdirectory(llvm-profdata)
3737

3838
# Projects supported via LLVM_EXTERNAL_*_SOURCE_DIR need to be explicitly
3939
# specified.
40-
add_llvm_external_project(clang)
4140
add_llvm_external_project(lld)
4241
add_llvm_external_project(lldb)
4342
add_llvm_external_project(mlir)
44-
# Flang depends on mlir, so place it afterward
43+
# ClangIR and Flang depends on mlir, so place them afterwards
44+
add_llvm_external_project(clang)
4545
add_llvm_external_project(flang)
4646
add_llvm_external_project(bolt)
4747

0 commit comments

Comments
 (0)