[PATCH] D82276: Make ninja smart console builds more pretty

Mehdi AMINI via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sun Jun 21 14:49:59 PDT 2020


mehdi_amini added a comment.

OK!
So I renamed the `find_package(Git)` into `find_package(Git2)` to force an error:

  ...
  -- LLVM host triple: x86_64-unknown-linux-gnu
  -- LLVM default target triple: x86_64-unknown-linux-gnu
  -- Building with -fPIC
  -- Constructing LLVMBuild project information
  CMake Warning at cmake/modules/VersionFromVCS.cmake:7 (find_package):
    By not providing "FindGit2.cmake" in CMAKE_MODULE_PATH this project has
    asked CMake to find a package configuration file provided by "Git2", but
    CMake did not find one.
  
    Could not find a package configuration file provided by "Git2" with any of
    the following names:
  
      Git2Config.cmake
      git2-config.cmake
  
    Add the installation prefix of "Git2" to CMAKE_PREFIX_PATH or set
    "Git2_DIR" to a directory containing one of the above files.  If "Git2"
    provides a separate development package or SDK, be sure it has been
    installed.
  Call Stack (most recent call first):
    CMakeLists.txt:851 (get_source_info)
  
  
  -- Targeting X86
  -- Targeting AMDGPU
  -- Targeting NVPTX
  -- Registering Bye as a pass plugin (static build: OFF)
  -- Failed to find LLVM FileCheck
  -- Version: 0.0.0
  -- Performing Test HAVE_THREAD_SAFETY_ATTRIBUTES -- failed to compile
  -- Performing Test HAVE_GNU_POSIX_REGEX -- failed to compile
  -- Performing Test HAVE_POSIX_REGEX -- success
  -- Performing Test HAVE_STEADY_CLOCK -- success
  -- Configuring done
  -- Generating done
  -- Build files have been written to: llvm-project/build
  [211/300] Linking CXX executable bin/Kaleido

The build has been progressing till the end, overwriting the progress:

  [300/300] Generating ../../bin/llvm-readelf

How can I observe the effect of your change on ninja?


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D82276/new/

https://reviews.llvm.org/D82276





More information about the llvm-commits mailing list