-
Notifications
You must be signed in to change notification settings - Fork 2
Use static libzstd for self-contained builds #87
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -28,14 +28,21 @@ git clone [email protected]:facebookresearch/CUTracer.git | |||||||||||||
| cd CUTracer | ||||||||||||||
| ``` | ||||||||||||||
|
|
||||||||||||||
| 2. Install system dependencies (libzstd): | ||||||||||||||
| 2. Install system dependencies (libzstd static library for self-contained builds): | ||||||||||||||
|
|
||||||||||||||
| ```bash | ||||||||||||||
| # Ubuntu/Debian | ||||||||||||||
|
||||||||||||||
| # Ubuntu/Debian | |
| # Ubuntu/Debian | |
| # On most Ubuntu/Debian systems, libzstd-dev provides both shared and static libs (libzstd.a). | |
| # You can verify this with, e.g.,: dpkg -L libzstd-dev | grep 'libzstd.a' | |
| # If your distribution does not ship the static library in libzstd-dev, you may need to | |
| # build zstd from source or install a distro-specific static libzstd package. |
Copilot
AI
Dec 22, 2025
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.
The CI setup script still installs libzstd-dev which only includes the dynamic library on Ubuntu/Debian. For consistency with the PR's goal of creating self-contained builds, consider updating this to also install the static library or documenting that CI builds may use dynamic linking.
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.
The
-lpthreadflag has been added here but it's not mentioned in the PR description or changes summary. If this is an unrelated fix or dependency, it should either be documented in the PR description or removed from this PR and addressed separately to keep changes focused.