mirror of
https://github.com/swift-server/swift-kafka-client.git
synced 2026-05-03 07:42:28 +00:00
f09a67e394
* Build librdkafka as submodule Modifications: * add `librdkafka` submodule to project * create a hardcoded `config.h` file that contains information on how `librdkafka` should be compiled (normally this is done through a the `librdkafka/configure.sh` script, though we cannot invoke this at buildtime with SPM) * add package dependencies to `zstd` and `swift-nio-ssl` * build `librdkafka` package with SPM instead of relying on a `.systemLibary` target * create bridge between `<openssl/*>` headers and `swift-nio-ssl` with `custom` include folder * update Docker to install zlib * remove librdkafka from Docker * create hard-coded config.h file that is used to compile librdkafka * automatically update submodule from Docker * Update README to mention new submodule * Empty dummy folder was not tracked by git * * Create OS+Arch specific config.h files for building librdkafka * Include NOTICE about using librdkafka * Make build OS depend on target, not on host machine * Symbolic link for rdkafka.h * Depend on OpenSSL system library * Update librdkafka to v2.1.1 * Merge multiple config.h files into one Modifications: * merge `config.h` files used to compile `librdkafka` into single `config.h` file by making use of compiler directives * Run SwiftFormat * Exclude everything in the Crdkafka folder from soundess check * Fix failing CI builds Modifications: * remove `git submodule init` from `Dockerfile` as Jenkins will take care of submodules and this crashes our builds * adjust Docker build/test targets to Apple standards * config.h: "#elif __xx" -> "#elif defined(__xx"
4 lines
128 B
Plaintext
4 lines
128 B
Plaintext
[submodule "Sources/Crdkafka/librdkafka"]
|
|
path = Sources/Crdkafka/librdkafka
|
|
url = https://github.com/confluentinc/librdkafka
|