diff options
author | Sergio Martins <smartins@kde.org> | 2018-11-16 12:41:16 +0000 |
---|---|---|
committer | Sergio Martins <smartins@kde.org> | 2018-11-16 12:42:08 +0000 |
commit | 39005c8e2d844c234efa52fc20b350f5fb5812c3 (patch) | |
tree | 94aa39dd943ff0c123973be7e40af91985f9b8ea /README.md | |
parent | 1fe272b6f8a34c8e3c85182220879f60b8d970fd (diff) |
README: Mention how to workaround "option foo registered more than once"
BUG: 389473
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -382,7 +382,13 @@ For better results don't use parallel builds, otherwise a fixit being applied in (There are reports that /usr/share/llvm/cmake/LLVM-Config.cmake is buggy). - [Fedora] CommandLine Error: `Option 'opt-bisect-limit' registered more than once!` - Remove the llvm-static package and use the dynamically linked libraries instead + Remove the llvm-static package and use the dynamically linked libraries instead. + Alternatively, if you want to use llvm-static, see next item. + +- CommandLine Error: `Option 'foo' registered more than once!` + Means you're building against a static version of LLVM (*.a files instead of *.so). + Try passing to cmake -DLINK_CLAZY_TO_LLVM=OFF when building clazy, this was tested + successfully against a static LLVM 7.0, and might work with other versions. - Some checks are mysteriously not producing warnings or not applying fixits ? Check if you have ccache interfering and turn it off. |