[PATCH] D89356: [cmake] Limit missing external lit warning to be shown once
Dave Lee via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 13 18:32:46 PDT 2020
kastiglione updated this revision to Diff 298006.
kastiglione added a comment.
else/if -> elseif
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D89356/new/
https://reviews.llvm.org/D89356
Files:
llvm/cmake/modules/AddLLVM.cmake
Index: llvm/cmake/modules/AddLLVM.cmake
===================================================================
--- llvm/cmake/modules/AddLLVM.cmake
+++ llvm/cmake/modules/AddLLVM.cmake
@@ -1658,8 +1658,9 @@
set(${file_name} ${LIT_FILE_NAME} PARENT_SCOPE)
set(${base_dir} ${LIT_BASE_DIR} PARENT_SCOPE)
return()
- else()
+ elseif (NOT DEFINED CACHE{LLVM_EXTERNAL_LIT_MISSING_WARNED_ONCE})
message(WARNING "LLVM_EXTERNAL_LIT set to ${LLVM_EXTERNAL_LIT}, but the path does not exist.")
+ set(LLVM_EXTERNAL_LIT_MISSING_WARNED_ONCE YES CACHE BOOL "")
endif()
endif()
endif()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D89356.298006.patch
Type: text/x-patch
Size: 634 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20201014/8defc41c/attachment.bin>
More information about the llvm-commits
mailing list