<html>
    <head>
      <base href="https://llvm.org/bugs/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - install-cxxabi fails: cmake error, file INSTALL cannot find .../libc++.so.1.0"
   href="https://llvm.org/bugs/show_bug.cgi?id=30927">30927</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>install-cxxabi fails: cmake error, file INSTALL cannot find .../libc++.so.1.0
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>libc++abi
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>unspecified
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>PC
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>P
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>All Bugs
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>unassignedbugs@nondot.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>vsk@apple.com
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>llvm-bugs@lists.llvm.org, mclow.lists@gmail.com
          </td>
        </tr>

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr></table>
      <p>
        <div>
        <pre>While building libc++abi on Linux, the install-cxxabi target fails because of a
Cmake error.

~/llvm/trunk-ccll/llvm/R (1) $ ninja install-libcxxabi
[1/1] cd /home/vk/llvm/trunk-ccll/llvm/R/projects/libcxxabi/src &&
/usr/bin/cmake -DCMAKE_INSTALL_COMPONENT=cxxabi -P
/home/vk/llvm/trunk-ccll/llvm/R/projects/libcxxabi/cmake_install.cmake
FAILED: projects/libcxxabi/src/CMakeFiles/install-cxxabi 
cd /home/vk/llvm/trunk-ccll/llvm/R/projects/libcxxabi/src && /usr/bin/cmake
-DCMAKE_INSTALL_COMPONENT=cxxabi -P
/home/vk/llvm/trunk-ccll/llvm/R/projects/libcxxabi/cmake_install.cmake
-- Install configuration: "Release"
CMake Error at cmake_install.cmake:36 (file):
  file INSTALL cannot find
 
"/home/vk/llvm/trunk-ccll/llvm/R/projects/libcxxabi/src/CMakeFiles/CMakeRelink.dir/libc++abi.so.1.0".
Call Stack (most recent call first):
  /home/vk/llvm/trunk-ccll/llvm/R/projects/libcxxabi/cmake_install.cmake:37
(include)

Here is my directory structure:

llvm/
llvm/projects/libcxx
llvm/projects/libcxxabi
llvm/tools/clang
llvm/tools/lldb

Here is my entire cmake configure line:

~/llvm/trunk-ccll/llvm/R (127) $ cmake -G Ninja -DLLVM_TARGETS_TO_BUILD=X86
-DLLVM_ENABLE_ASSERTIONS=Off -DCMAKE_BUILD_TYPE=Release
-DLLVM_INCLUDE_EXAMPLES=Off -DLLDB_DISABLE_LIBEDIT=On ../</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are on the CC list for the bug.</li>
      </ul>
    </body>
</html>