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

    <tr>
        <th>Summary</th>
        <td>
            Clang version confusion in build
        </td>
    </tr>

    <tr>
      <th>Labels</th>
      <td>
            cmake,
            build-problem
      </td>
    </tr>

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

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

<pre>
    It looks like the built executable has a version suffix that doesn't match reality.
```
~/projects/scratch$ clang --version
clang version 18.0.0git (https://github.com/llvm/llvm-project.git 591fc4f5242adf2f4d2dbd301c21be578b9b9278)
Target: x86_64-unknown-linux-gnu
Thread model: posix
InstalledDir: /home/probinson/projects/llvm-org/build/main-ll/bin
~/projects/scratch$ ll clang
lrwxrwxrwx 1 probinson rd 8 Dec 21 00:24 /home/probinson/projects/llvm-org/build/main-ll/bin/clang -> clang-15*
```
18 != 15 last I checked.

@tstellar @tru 
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysU83O5CYQfBp8ac0IGv8efJjsxNJ3zz0C07bJYBgB3p295Nkj2_MlWilSFGklZOOmcBXVhUrJzp6oZ9UvrLoXastLiP0zzKHqCh3M9_4jgwvhkcDZB0FeCPRmXQZ60bhlpR3BohIo-Eox2eAhbdNkX5AXlcEESp5hk2FVeVwgknI2f78yfmf8xmr-HsfnnwyHZwx_0JgTwyGNcd_DsITRKT_D5fKmOOFn8ZNVtFd-5bPNwLBdcn4mJm8MB4bDbPOy6esYVoaDc18_X5c32XXfVXViGsupwhKVmXAqDRptJBcjCk1V0-pOd9i0DLuT_jcVZ8pM3uDV1r_X5WXzDx---YuzfntdZr-9cUskZWANhtyOfoZkX-fSh09ZOUfmbuO-xHBYwkqnDdr6FPyPlhyqQ5wZDnsTDMNhVdZfnNsr1v-Xj86dVp44F7-9zgEC_maEaKCFO42AAjhn8oblT1CGw7uJTP56iriIiuHtX5MgWmAomLyDqMCplOEDxoXGB5nP6JzPkueUyTkVYZ_HDQrTS9PJThXUi4ZLUVdV1xRLT1NVcylUTS3pUYu6UVSarqrRNFo2VNgeOUqBKISUUsgrkuZG6nEqqanQcFZyWpV11_2w1xDnwqa0Ud_UoioLpzS5dFwkxHFVD2KIDL8wxMORPW3a0bpXq3sR-8Myvc2JldzZlNM__802O-q__BDwMfhpO2bWH1fQFFt0_f-LOsPh0Ly37JD9VwAAAP__9jxDyA">