Update LLVM CMakeFiles to include BOLT

Add BOLT to the project list enabling its build.

Differential Revision: https://reviews.llvm.org/D117063
This commit is contained in:
Amir Ayupov 2022-01-11 20:18:58 -08:00 committed by Amir Aupov
parent 48fd67cff1
commit 171e4d1845
2 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,7 @@ endif()
# LLVM_EXTERNAL_${project}_SOURCE_DIR using LLVM_ALL_PROJECTS
# This allows an easy way of setting up a build directory for llvm and another
# one for llvm+clang+... using the same sources.
set(LLVM_ALL_PROJECTS "clang;clang-tools-extra;compiler-rt;cross-project-tests;libc;libclc;libcxx;libcxxabi;libunwind;lld;lldb;mlir;openmp;polly;pstl")
set(LLVM_ALL_PROJECTS "bolt;clang;clang-tools-extra;compiler-rt;cross-project-tests;libc;libclc;libcxx;libcxxabi;libunwind;lld;lldb;mlir;openmp;polly;pstl")
# The flang project is not yet part of "all" projects (see C++ requirements)
set(LLVM_EXTRA_PROJECTS "flang")
# List of all known projects in the mono repo

View File

@ -39,6 +39,7 @@ add_llvm_external_project(lldb)
add_llvm_external_project(mlir)
# Flang depends on mlir, so place it afterward
add_llvm_external_project(flang)
add_llvm_external_project(bolt)
# Automatically add remaining sub-directories containing a 'CMakeLists.txt'
# file as external projects.