Hi,
i recently build a small swift tool for our CI (just a small converter for generated reports).
I build this tool statically to not depend on any swift version.
Now we would also like to use that Tool on Linux. But there is a small Problem.
Since i use Foundation in it and Foundation needs libdispatch i can not build it statically because a static version of libdispatch is currently not contained in the Toolchain. Here is the bug ticket: [SR-7039] can't use -static-stdlib (or -static-executable) with any Dispatch using app · Issue #662 · apple/swift-corelibs-libdispatch · GitHub
I have tried checking out libdispatch myself but since my knowledge of cmake and these tools is pretty sparse i can not get it to build a static library.
Would somebody be able to help me with this?
Thanks in advance
Peter