[llvm-bugs] [Bug 46906] New: cmake config failure with Ninja

via llvm-bugs llvm-bugs at lists.llvm.org
Thu Jul 30 03:31:26 PDT 2020


https://bugs.llvm.org/show_bug.cgi?id=46906

            Bug ID: 46906
           Summary: cmake config failure with Ninja
           Product: Build scripts
           Version: trunk
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: release blocker
          Priority: P
         Component: cmake
          Assignee: unassignedbugs at nondot.org
          Reporter: uday at polymagelabs.com
                CC: llvm-bugs at lists.llvm.org

With the configuration below, I get:

.......
-- Performing Test HAVE_STEADY_CLOCK -- success
-- Configuring done
-- Generating done
CMake Error:
  Running

   '/usr/local/bin/ninja' '-C' '/home/uday/llvm-project/build' '-t' 'cleandead'

  failed with:

   ninja: error: remove(include/llvm/Support): Directory not empty
==================


cmake -G Ninja ../llvm      -DLLVM_ENABLE_PROJECTS="mlir"   
-DLLVM_TARGETS_TO_BUILD="X86"    -DCMAKE_BUILD_TYPE=Release 
-DLLVM_ENABLE_ASSERTIONS=ON -DCMAKE_C_COMPILER=clang
-DCMAKE_CXX_COMPILER=clang++ -DLLVM_ENABLE_LLD=ON -DLLVM_CCACHE_BUILD=ON
-DBUILD_SHARED_LIBS=ON


cmake version 3.17.3

ninja --version
1.10.0

Trunk: a4a0844248d4a68a866b9c4e18ae89fa49a83ec0 (from a few hours ago)

-- 
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/20200730/da5b396c/attachment.html>


More information about the llvm-bugs mailing list