[PATCH] D82276: Make ninja smart console builds more pretty
David Zarzycki via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 22 03:43:49 PDT 2020
This revision was automatically updated to reflect the committed changes.
Closed by commit rG2a9c3eb9ec8e: Make ninja smart console builds more pretty (authored by davezarzycki).
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D82276/new/
https://reviews.llvm.org/D82276
Files:
llvm/cmake/modules/VersionFromVCS.cmake
Index: llvm/cmake/modules/VersionFromVCS.cmake
===================================================================
--- llvm/cmake/modules/VersionFromVCS.cmake
+++ llvm/cmake/modules/VersionFromVCS.cmake
@@ -4,7 +4,7 @@
# extra argument, otherwise uses CMAKE_CURRENT_SOURCE_DIR).
function(get_source_info path revision repository)
- find_package(Git)
+ find_package(Git QUIET)
if(GIT_FOUND)
execute_process(COMMAND ${GIT_EXECUTABLE} rev-parse --git-dir
WORKING_DIRECTORY ${path}
@@ -45,5 +45,7 @@
set(${repository} ${path} PARENT_SCOPE)
endif()
endif()
+ else()
+ message(WARNING "Git not found. Version cannot be determined.")
endif()
endfunction()
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82276.272374.patch
Type: text/x-patch
Size: 699 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200622/9dc6ffca/attachment-0001.bin>
More information about the llvm-commits
mailing list