[PATCH] Add cmake flags to disable LLD and LLDB from build.
Rick Foos
rfoos at codeaurora.org
Mon Jan 12 11:49:50 PST 2015
Hi Bob,
I was adding these following the WITH_POLLY model and hoping the external projects macros would take care of everything.
Are you saying to replace LLVM_BUILD_EXTERNAL_COMPILER_RT with WITH_COMPILER_RT?
projects/CMakeLists.txt
if(${LLVM_BUILD_RUNTIME})
if(WITH_COMPILER_RT)
add_llvm_external_project(compiler-rt)
else(WITH_COMPILER_RT)
list(APPEND LLVM_IMPLICIT_PROJECT_IGNORE "${LLVM_MAIN_SRC_DIR}/projects/compiler-rt")
endif(WITH_COMPILER_RT)
endif()
Or I should leave compier-rt alone?
Rick
compiler-rt is a little different in autoconf than in cmake. Have to think a little more to handle it.
projects/Makefile
;; Don't build compiler-rt, it isn't designed to be built directly.
DIRS := $(filter-out compiler-rt,$(DIRS))
REPOSITORY
rL LLVM
http://reviews.llvm.org/D6909
EMAIL PREFERENCES
http://reviews.llvm.org/settings/panel/emailpreferences/
More information about the llvm-commits
mailing list