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

build aarch64-linux-musl binary for releases #241

Merged
merged 1 commit into from
Dec 27, 2024
Merged

Conversation

usamoi
Copy link
Contributor

@usamoi usamoi commented Dec 27, 2024

Signed-off-by: usamoi <usamoi@outlook.com>
@usamoi usamoi changed the title build aarch64 binary build aarch64-linux-musl binary for releases Dec 27, 2024
sudo apt-get update
sudo apt-get install -y --no-install-recommends xz-utils liblz4-tool musl-tools
sudo apt-get install -y --no-install-recommends xz-utils liblz4-tool musl-tools musl-dev musl-dev:arm64
echo "RUSTFLAGS=-Clinker=rust-lld" >> $GITHUB_ENV
Copy link
Member

Choose a reason for hiding this comment

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

IIRC rust-lld is the default linker? 👀

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think rust-lld is default linker on x86_64-linux-gnu, not aarch64-linux-musl.

Copy link
Member

@xxchan xxchan left a comment

Choose a reason for hiding this comment

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

Thanks!

@xxchan
Copy link
Member

xxchan commented Dec 27, 2024

BTW, may I ask what are you using sqllogictest-rs for? 👀 You may also add to "Used By" https://github.com/risinglightdb/sqllogictest-rs?tab=readme-ov-file#used-by if you don't mind.

@xxchan xxchan merged commit c3b9d45 into risinglightdb:main Dec 27, 2024
4 checks passed
@xxchan
Copy link
Member

xxchan commented Dec 27, 2024

Released https://github.com/risinglightdb/sqllogictest-rs/releases/tag/v0.25.0 @usamoi

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