<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 --- - LIBCXX_CXX_ABI_LIBRARY_PATH is not properly parsed"
   href="https://llvm.org/bugs/show_bug.cgi?id=27875">27875</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>LIBCXX_CXX_ABI_LIBRARY_PATH is not properly parsed
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>3.8
          </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>enhancement
          </td>
        </tr>

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

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

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

        <tr>
          <th>Reporter</th>
          <td>zhanglei.april@gmail.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>Created <span class=""><a href="attachment.cgi?id=16415" name="attach_16415" title="Patch to CMake script">attachment 16415</a> <a href="attachment.cgi?id=16415&action=edit" title="Patch to CMake script">[details]</a></span>
Patch to CMake script

This issue is observed while doing out-of-tree build on Linux.

The CMake variable LIBCXX_CXX_ABI_LIBRARY_PATH is parsed as a string type
rather than a path type. As a result you can only set it to an absolute path.

OTOH, a similar variable LIBCXX_CXX_ABI_INCLUDE_PATHS is parsed correctly and
can work with relative paths. So this is some inconsistency here.

A possible fix is attached.


Lei</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>