-
Notifications
You must be signed in to change notification settings - Fork 449
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Always rebuilds sources with autodetected clang and ninja on linux. #2289
Comments
Thank you for reporting this. So is the problem just the usage of a symlink? In other words, if we do a |
I think yes. This should solve it. |
I stumbled upon the same problem. Manually changing clang's path in cmake-tools-kits.json, as Ivan-Viktorov suggested, seems to fix this issue. |
I was having the same problem. This should be fixed in vscode-cmake-tools. |
|
(I started working on a fix for this, BTW) |
Brief Issue Summary
On linux scan for kits founds /bin/clang++-X instead of /usr/bin/clang++-X, which breaks ninja (see ninja-build/ninja#1330 ninja-build/ninja#1400).
It would be nice, if scan for kits would prefer /usr/bin/compiler to /bin/compiler.
Steps to reproduce:
If you change path of clang compiler from /bin/clang to /usr/bin/clang in .local/share/CMakeTools/cmake-tools-kits.json, ninja stops to rebuild all sources and rebuilds only modified, as expected.
The text was updated successfully, but these errors were encountered: