Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bolt
diff options
context:
space:
mode:
authorYi Kong <yikong@google.com>2022-03-02 19:43:24 +0300
committerYi Kong <yikong@google.com>2022-03-07 20:59:44 +0300
commitd8f4d54664171bac46e6c8446df04850b40cc4f7 (patch)
treef3170a40b4f7a6bf5aac2666f4c423cda724e8eb /bolt
parent917d95fc8adb2d68da442daee4e2508ada8c9bdc (diff)
Add CMake option not to build BOLT tests
Diffstat (limited to 'bolt')
-rw-r--r--bolt/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/bolt/CMakeLists.txt b/bolt/CMakeLists.txt
index d7290927abe4..02d51400afbf 100644
--- a/bolt/CMakeLists.txt
+++ b/bolt/CMakeLists.txt
@@ -26,7 +26,7 @@ if (LLVM_INCLUDE_TESTS)
message(WARNING "BOLT_LLD_EXE is set and lld project is enabled. \
BOLT_LLD_EXE will be used for BOLT tests.")
endif()
- set(BOLT_INCLUDE_TESTS ON)
+ set(BOLT_INCLUDE_TESTS ON CACHE BOOL "Build BOLT tests")
else()
message(WARNING "Not including BOLT tests since lld is disabled. \
Enable lld in LLVM_ENABLE_PROJECTS or provide a path to lld binary \