-
Notifications
You must be signed in to change notification settings - Fork 594
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
fix(ci): fix release static build #18689
Conversation
@@ -11,7 +11,7 @@ repository = { workspace = true } | |||
[features] | |||
# some crates opt-in static linking, while some opt-in dynamic linking, | |||
# so they are two features :) | |||
rw-static-link = ["static-libz-sys", "static-lzma-sys", "static-sasl2-sys"] | |||
rw-static-link = ["static-libz-sys", "static-lzma-sys", "static-openssl-sys", "static-sasl2-sys"] |
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.
I suggest to add a new flag, and only turn it on in binary release.
So we still enjoy the benefits of fast compile time in CI & local
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.
Done 33f4a2e
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.
Generally lgtm. Thank you!
Weird that it doesn't cherry-pick 😆 |
I hereby agree to the terms of the RisingWave Labs, Inc. Contributor License Agreement.
What's changed and what's your intention?
We revert to using vendored openssl. That's because the release environment does not have openssl's static library (libssl.a) in its package repository (dnf).
Checklist
./risedev check
(or alias,./risedev c
)Documentation
Release note
If this PR includes changes that directly affect users or other significant modifications relevant to the community, kindly draft a release note to provide a concise summary of these changes. Please prioritize highlighting the impact these changes will have on users.