-
Notifications
You must be signed in to change notification settings - Fork 27
Ship with BoringSSL #135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ship with BoringSSL #135
Conversation
Motivation: No need to install `libressl` on machine to build project. Modifications: * add dependency to `swift-nio-ssl` to obtain copy of `BoringSSL` * create bridging headers allowing `librdkafka` to build with `BoringSSL` copy from `swift-nio-ssl` Additional Changes: * use `swift-service-lifecycle` version `2.1.0` instead of `beta`
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you take a look at the CI failures?
Modifications: * add `_GNU_SOURCE` macro to `Crdkafka` target to fix build error "error: '(anonymous struct)::__fds_bits' from module 'CNIOBoringSSL' is not present in definition of 'fd_set' provided earlier" for Swift 5.9 onwards
That's a weird one, I run into the exact issue as described here: Currently, my fix is to set the |
Co-authored-by: Franz Busch <[email protected]>
92f1da1
to
f074c2a
Compare
We need to get #137 merged before we get the |
…1005 * upstream/main: Ship with BoringSSL (swift-server#135) Add CI pipeline for Swift 5.10 (swift-server#137)
This reverts commit 5dbf2fa.
This reverts commit 5dbf2fa.
This reverts commit 42c2972.
This reverts commit 42c2972.
Updates `librdkafka` to the latest release 2.8.0. ### Motivation: The `librdkafka` version shipped by this client has gotten fairly old, and there's been a few releases with bug fixes. ### Modifications: A recent commit [1] added a function call that is not available in BoringSSL. This requires us moving away from BoringSSL again. [1] https://github.com/confluentinc/librdkafka/blame/93877617709eb071a0f4ec7038c54e2764abefc9/src/rdkafka_ssl.c#L1533 ### Result: * Updated `librdkafka` to 2.8.0. * Removed BoringSSL from project (introduced in #135) * `libssl-dev` now needs to be available during build time again. Closes #186
Closes #123
Motivation:
No need to install
libressl
on machine to build project.Modifications:
swift-nio-ssl
to obtain copy ofBoringSSL
librdkafka
to build withBoringSSL
copy fromswift-nio-ssl
Additional Changes:
swift-service-lifecycle
version2.1.0
instead ofbeta