Repository navigation
Replies: 1 comment 2 replies
|
Hi, There is an environment variable |
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi,
I have mulitple Clang versions installed on my system (via the LLVM APT repository), so I want
CodeCheckerto use the binary/usr/bin/clang++-17on my system.The only way I could find to achieve this was to manually edit the
package_layout.jsonfile bundled withCodeChecker. This is problematic because this file might be overwritten again with the next update. I figured from the code that it should be possible to copy the whole~/.local/share/codecheckerdirectory somewhere, edit thepackage_layout.jsonfile contained therein, and then set theCC_DATA_FILES_DIRenvironment variable accordingly. This would mean that future updates do not overwrite my custompackage_layout.jsonfile, but also that all other files in the data directory will not automatically be updated.Is there a more elegant way of specifying the Clang executable to be used?
All reactions