Files
Felix Schlegel f09a67e394 librdkafka as submodule (#50)
* 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"
2023-05-12 10:15:42 +01:00

4 lines
128 B
Plaintext

[submodule "Sources/Crdkafka/librdkafka"]
path = Sources/Crdkafka/librdkafka
url = https://github.com/confluentinc/librdkafka