<table border="1" cellspacing="0" cellpadding="8">
    <tr>
        <th>Issue</th>
        <td>
            <a href=https://github.com/llvm/llvm-project/issues/67292>67292</a>
        </td>
    </tr>

    <tr>
        <th>Summary</th>
        <td>
            CMake warning: "/llvm" is absolute, it overrides base path
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            new issue
      </td>
    </tr>

    <tr>
      <th>Assignees</th>
      <td>
      </td>
    </tr>

    <tr>
      <th>Reporter</th>
      <td>
          amigalemming
      </td>
    </tr>
</table>

<pre>
    I build `llvm-15.0.7.src.tar.xz` on Debian 11, and get the following warning:

~~~~
/tmp/llvm-15.0.7.build> cmake /tmp/llvm-15.0.7.src/ -G "Unix Makefiles" -DCMAKE_MODULE_PATH=/tmp/cmake-15.0.7.src/Modules -DCMAKE_BUILD_TYPE=Release -DLLVM_ENABLE_ASSERTIONS=ON -DLLVM_BUILD_TOOLS=ON -DLLVM_INCLUDE_EXAMPLES=OFF -DLLVM_INCLUDE_BENCHMARKS=OFF -DLLVM_LINK_LLVM_DYLIB=ON -DCMAKE_INSTALL_PREFIX=/usr/local/llvm/15

...
CMake Warning at /tmp/cmake-15.0.7.src/Modules/ExtendPath.cmake:13 (message):
  Since "/llvm" is absolute, it overrides base path:
 "${LLVM_INSTALL_PREFIX}".
Call Stack (most recent call first):
 cmake/modules/CMakeLists.txt:136 (extend_path)
~~~~

This does not sound good. Will `make` try to install something to an absolute path like `/llvm` ?
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJycVM1yozgQfhpx6QolhMFw4IAN7LiCfyp2dmZOlEAKaCNQColJZg959i1kx5lk97A1F5Wgpe7vp1tUa9EOnCcoWKEgc-hkOjUmtBctlbzvxdA6tWI_kw3Uk5AMUIil_NHfeIGL3aWrx8Y1dHRf_kYhBjVAxmtBB_A8RNZABwYtN2A6Dg9KSvUshhae6TiIoUV-inCG8GV9fX19vXyTwvRPiBS_FrLVkZ9D09NHDv95Ro8NIgXc_AGIkPtBvMCWPvIHIblGhMBNtt6mt3m13Wf3ZV4d0tMX5GfXTDbxx1RbxSbJ9fXm6n5TZtXp-yFHfnbHJaeaw01Wln9uq3yXrsq8So_H_O602e-OyM_2u7fo5eZ-X378v9mty_ssr_Jv6fZQ5jZYFJ-jq3y3_rJN724_xcvN7rayu-x7uVm9ZT6D3eyOp7Qsq8NdXmy-nZlOepw1Uw2VF-0QKbzgVx9c1z1v1rN48PVsFlAD_0MpRIr8xfCBHajpXHsO-annAyJRz7WmLUckvjoPcBRDM7tJrnAICA201kpOhs9NJAyoH3wcBeMa6lnxJ2q69xz28gItVxfJPrBeZoiQN0JUSjga2jxaOEobGHnDBwPNHHkQozYf0J3xk6K_krOalEIb7ZoXY6mFczJuSVcWGIn_1dB2PXVCA1Ncw6AMaDXNw6EUc-GrkHIeLFsuxGDGn2AUiEGbGZhWPTfdbIJRQIerOFYHkGIehxC_CRhiQH7hsMRnsR9ThydeGAchiRdk6XRJvIxozFgck4axOMINZSGLlmwRLf0g8mJHJAQTH8ckwJGHvcitI4xpHQaMPTQeZTFaYN5TId25nKvG1hFaTzwJlyQmjqQ1l9o-J4QM_BlscPYoyJwxseNaT61GCyytjtcsRhjJk3PXvT8Rv9MbzjTKpDPmSc9ekgKRohWmm2q3Uf1731ssT6P6izcGkcICnU22RP4JAAD__xlQjjI">