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

added compile option, fix packaging format #515

Merged
merged 3 commits into from
Dec 27, 2022
Merged

added compile option, fix packaging format #515

merged 3 commits into from
Dec 27, 2022

Conversation

yseto
Copy link
Contributor

@yseto yseto commented Dec 22, 2022

Changed to use xz format for compressing debian packages. refer mackerelio/mackerel-agent-plugins#981

The environment ubuntu-latest for GitHub Actions is ubuntu 22.04.
It turns out that glibc is new and the built binary compatibility is broken in some environments.
So I made a change to build with CGO_ENABLED=0

@yseto yseto self-assigned this Dec 22, 2022
Copy link
Member

@Arthur1 Arthur1 left a comment

Choose a reason for hiding this comment

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

lgtm

@yseto yseto merged commit 521a133 into master Dec 27, 2022
@yseto yseto deleted the fix-packaging branch December 27, 2022 10:32
@yseto
Copy link
Contributor Author

yseto commented Dec 27, 2022

Thanks for your review.

fujiwara added a commit to fujiwara/mkr that referenced this pull request Mar 5, 2024
Currently, CGO_ENABLED=0 is set only when building via 'make build'.
But the setting does not affect 'make cross', so release binaries are dynamically linked.

refs mackerelio#515
@fujiwara fujiwara mentioned this pull request Mar 5, 2024
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.

None yet

2 participants