Skip to content

Comments

[librdkafka] Enable zstd support#13171

Merged
giordano merged 4 commits intoJuliaPackaging:masterfrom
aplavin:librdkafka-zstd
Feb 21, 2026
Merged

[librdkafka] Enable zstd support#13171
giordano merged 4 commits intoJuliaPackaging:masterfrom
aplavin:librdkafka-zstd

Conversation

@aplavin
Copy link
Contributor

@aplavin aplavin commented Feb 19, 2026

Zstd_jll is listed as a dependency but cmake's find_package(ZSTD QUIET) fails silently in the BB environment, so zstd was never actually linked. Adding -DWITH_ZSTD=ON forces it on.

@aplavin aplavin force-pushed the librdkafka-zstd branch 3 times, most recently from dacee70 to 965ae2a Compare February 20, 2026 00:28
@aplavin aplavin force-pushed the librdkafka-zstd branch 2 times, most recently from 9a47815 to f090656 Compare February 20, 2026 04:09
@aplavin aplavin marked this pull request as draft February 20, 2026 13:59
@aplavin aplavin marked this pull request as ready for review February 20, 2026 20:04
@aplavin
Copy link
Contributor Author

aplavin commented Feb 20, 2026

It works now! Should be ready.

dependencies = [
Dependency(PackageSpec(name="Lz4_jll", uuid="5ced341a-0733-55b8-9ab6-a4889d929147"); compat="1.9.4"),
Dependency(PackageSpec(name="Zstd_jll", uuid="3161d3a3-bdf6-5164-811a-617609db77b4"); compat="1.4.2"),
Dependency(PackageSpec(name="Zstd_jll", uuid="3161d3a3-bdf6-5164-811a-617609db77b4"); compat="1.5.7"),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Must change the version number when changing a compat bound (that's a requirement from the registry)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

not sure, what does it mean in practice? update to new libkafka?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If there's a newer version that'd be ideal, yes

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bumped to new version – seems to work

@giordano giordano enabled auto-merge (squash) February 21, 2026 01:10
@giordano giordano merged commit 1cb6590 into JuliaPackaging:master Feb 21, 2026
22 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants