Skip to content

Conversation

@psadi
Copy link
Collaborator

@psadi psadi commented Feb 18, 2025

No description provided.

cd "${TMP_DIR}/${BUILD_DIR}"

sed -i 's/linkSystemLibrary2("bzip2", dynamic_link_opts)/linkSystemLibrary2("bz2", dynamic_link_opts)/' src/build/SharedDeps.zig

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

we needed this when we used ubuntu base image,

BUILD_ARGS="
--summary all \
--prefix ${APP_DIR}/usr \
-Doptimize=ReleaseFast \
Copy link
Member

Choose a reason for hiding this comment

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

Doesn't changing this to -Drelease-small reduce the size of the binary?

Copy link
Collaborator Author

@psadi psadi Feb 18, 2025

Choose a reason for hiding this comment

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

i tried building with ReleaseFast and ReleaseSmall, reduction in the overall size in 1Meg.
Since the variance is negligible, Lets stick with ReleaseFast which is the preffered arugment per docs

@psadi psadi merged commit 7d8952b into main Feb 18, 2025
3 checks passed
@psadi psadi deleted the feature/tip_builds branch February 18, 2025 04:59
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.

3 participants