[PATCH] D28283: [test] Remove unused 'test_examples' config var
Michał Górny via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 4 03:30:52 PST 2017
mgorny created this revision.
mgorny added reviewers: lhames, beanz.
mgorny added a subscriber: llvm-commits.
Remove config.test_examples from lit.site.cfg and the relevant
ENABLE_EXAMPLES definition from CMake. It is not used anywhere.
https://reviews.llvm.org/D28283
Files:
test/CMakeLists.txt
test/lit.site.cfg.in
Index: test/lit.site.cfg.in
===================================================================
--- test/lit.site.cfg.in
+++ test/lit.site.cfg.in
@@ -38,7 +38,6 @@
config.have_libxar = "@HAVE_LIBXAR@"
config.have_dia_sdk = @LLVM_ENABLE_DIA_SDK@
config.enable_ffi = "@LLVM_ENABLE_FFI@"
-config.test_examples = "@ENABLE_EXAMPLES@"
# Support substitution of the tools_dir with user parameters. This is
# used when we can't determine the tool dir at configuration time.
Index: test/CMakeLists.txt
===================================================================
--- test/CMakeLists.txt
+++ test/CMakeLists.txt
@@ -1,7 +1,3 @@
-if(LLVM_BUILD_EXAMPLES)
- set(ENABLE_EXAMPLES 1)
-endif()
-
configure_lit_site_cfg(
${CMAKE_CURRENT_SOURCE_DIR}/lit.site.cfg.in
${CMAKE_CURRENT_BINARY_DIR}/lit.site.cfg
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D28283.83025.patch
Type: text/x-patch
Size: 810 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170104/a01f9af1/attachment.bin>
More information about the llvm-commits
mailing list