[llvm] 5918d49 - [llvm][NFC] Use llvm_canonicalize_cmake_booleans for LLVM_HAVE_TF_AOT
Mircea Trofin via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 29 12:28:16 PDT 2020
Author: Mircea Trofin
Date: 2020-06-29T12:27:52-07:00
New Revision: 5918d49ac152a67575cec84c2aa2c5c40b3612c8
URL: https://github.com/llvm/llvm-project/commit/5918d49ac152a67575cec84c2aa2c5c40b3612c8
DIFF: https://github.com/llvm/llvm-project/commit/5918d49ac152a67575cec84c2aa2c5c40b3612c8.diff
LOG: [llvm][NFC] Use llvm_canonicalize_cmake_booleans for LLVM_HAVE_TF_AOT
Reviewers: thakis
Subscribers: mgorny, llvm-commits
Tags: #llvm
Differential Revision: https://reviews.llvm.org/D82776
Added:
Modified:
llvm/test/CMakeLists.txt
llvm/test/lit.site.cfg.py.in
Removed:
################################################################################
diff --git a/llvm/test/CMakeLists.txt b/llvm/test/CMakeLists.txt
index 7e6c66e249fc..6f826d54a4b9 100644
--- a/llvm/test/CMakeLists.txt
+++ b/llvm/test/CMakeLists.txt
@@ -15,6 +15,7 @@ llvm_canonicalize_cmake_booleans(
LLVM_BUILD_EXAMPLES
LLVM_ENABLE_PLUGINS
LLVM_BYE_LINK_INTO_TOOLS
+ LLVM_HAVE_TF_AOT
)
configure_lit_site_cfg(
diff --git a/llvm/test/lit.site.cfg.py.in b/llvm/test/lit.site.cfg.py.in
index 67c1302a7fb1..190cd4bccc2d 100644
--- a/llvm/test/lit.site.cfg.py.in
+++ b/llvm/test/lit.site.cfg.py.in
@@ -48,7 +48,7 @@ config.have_opt_viewer_modules = @LLVM_HAVE_OPT_VIEWER_MODULES@
config.libcxx_used = @LLVM_LIBCXX_USED@
config.has_plugins = @LLVM_ENABLE_PLUGINS@
config.linked_bye_extension = @LLVM_BYE_LINK_INTO_TOOLS@
-config.have_tf_aot = ("@LLVM_HAVE_TF_AOT@" == "ON")
+config.have_tf_aot = @LLVM_HAVE_TF_AOT@
# Support substitution of the tools_dir with user parameters. This is
# used when we can't determine the tool dir at configuration time.
More information about the llvm-commits
mailing list