[LLVMbugs] [Bug 21996] New: cmake warnings when configuring without static analyzer and arcmt

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Dec 20 05:01:45 PST 2014


http://llvm.org/bugs/show_bug.cgi?id=21996

            Bug ID: 21996
           Summary: cmake warnings when configuring without static
                    analyzer and arcmt
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: sami.liedes at iki.fi
                CC: llvmbugs at cs.uiuc.edu
    Classification: Unclassified

When configuring llvm (with clang and compiler-rt) using

  cmake $srcdir -DCMAKE_BUILD_TYPE="RelWithDebInfo"
-DCMAKE_INSTALL_PREFIX=$installprefix -DLLVM_ENABLE_ASSERTIONS=ON
-DCLANG_ENABLE_STATIC_ANALYZER=OFF -DCLANG_ENABLE_ARCMT=OFF -GNinja

the following CMake warnings are issued (the build still seems to work fine):

-- Configuring done
CMake Warning (dev) at cmake/modules/AddLLVM.cmake:725 (add_dependencies):
  Policy CMP0046 is not set: Error on non-existent dependency in
  add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  The dependency target "clang-check" of target "check-all" does not exist.
Call Stack (most recent call first):
  CMakeLists.txt:605 (add_lit_target)
This warning is for project developers.  Use -Wno-dev to suppress it.

CMake Warning (dev) at cmake/modules/AddLLVM.cmake:725 (add_dependencies):
  Policy CMP0046 is not set: Error on non-existent dependency in
  add_dependencies.  Run "cmake --help-policy CMP0046" for policy details.
  Use the cmake_policy command to set the policy and suppress this warning.

  The dependency target "clang-check" of target "check-clang" does not exist.
Call Stack (most recent call first):
  cmake/modules/AddLLVM.cmake:750 (add_lit_target)
  tools/clang/test/CMakeLists.txt:65 (add_lit_testsuite)
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Generating done

-- 
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20141220/51806a05/attachment.html>


More information about the llvm-bugs mailing list