Repository navigation
Fix build errors for SourceKit on Linux - #5862
Conversation
The sourcekitd-repl, sourcekitd-test and complete-test use symbols from both the coverage and lto modules, specifically `llvm::coverage::CoverageFilenamesSectionWriter::write` and `llvm::lto::thinBackend`. Adding these to the list of dependencies allows SourceKit to be built on Linux. Issue: SR-3223
|
Can someone trigger a smoke test for this? The checks appear to have been hanging for some time. |
|
@swift-ci Please smoke test |
|
Thanks! |
|
Could you try removing It would be great if you could check if we can reduce dependencies now. |
|
No, it doesn't compile if you remove coverage from Once I get the code building error free, I'd like to try and get SourceKit building by default on Linux (see pull request #5903 for an approach that works but is almost certainly the wrong one). When we have the build of SourceKit happening by default on Linux then we can look at reducing the dependencies. |

The sourcekitd-repl, sourcekitd-test and complete-test use symbols
from both the coverage and lto modules, specifically
llvm::coverage::CoverageFilenamesSectionWriter::writeandllvm::lto::thinBackend. Adding these to the list of dependenciesallows SourceKit to be built on Linux.
Resolves SR-3223.