Skip to content
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

Avoid liblzma-dev system dep in uv-dev and uv-bench #9933

Merged
merged 2 commits into from
Dec 17, 2024
Merged

Conversation

konstin
Copy link
Member

@konstin konstin commented Dec 16, 2024

Enable lzma-sys/static through the performance feature not only in uv, but in uv-dev and uv-bench too, to avoid the system dependency on liblzma-dev.

Ref #9880

Copy link
Member

@charliermarsh charliermarsh left a comment

Choose a reason for hiding this comment

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

I really thought we already did this... Maybe this feature wasn't being enabled for uv-dev, and that's why only that job was failing?

@@ -152,8 +152,6 @@ jobs:
- uses: Swatinem/rust-cache@v2
with:
save-if: ${{ github.ref == 'refs/heads/main' }}
- name: "Install system dependencies"
run: sudo apt-get install liblzma-dev
Copy link
Member

Choose a reason for hiding this comment

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

We should also remove this from the benchmark job.

@konstin
Copy link
Member Author

konstin commented Dec 16, 2024

It's part of the performance features currently, maybe that's why? (We can move it to a new default feature if it's a problem for the distro people)

@charliermarsh
Copy link
Member

Oh yeah, can you hook uv-dev up to the performance features please then?

@charliermarsh
Copy link
Member

Rather than adding this everywhere.

@konstin konstin changed the title Avoid liblzma-dev system dep with static crate Avoid liblzma-dev system dep with static crate in uv-dev Dec 17, 2024
@konstin konstin force-pushed the konsti/static-lzma branch 3 times, most recently from 7c6f76c to 27add41 Compare December 17, 2024 08:33
Enable `lzma-sys/static` through the performance feature in uv-dev too, to avoid the system dependency on `liblzma-dev`.
@konstin konstin changed the title Avoid liblzma-dev system dep with static crate in uv-dev Avoid liblzma-dev system dep in uv-dev and uv-bench Dec 17, 2024
@konstin konstin merged commit b7df5db into main Dec 17, 2024
81 checks passed
@konstin konstin deleted the konsti/static-lzma branch December 17, 2024 15:12
@konstin konstin added the internal A refactor or improvement that is not user-facing label Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internal A refactor or improvement that is not user-facing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants