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

Support linux precompiled release #6054

Closed
star-hengxing opened this issue Jan 10, 2025 · 2 comments
Closed

Support linux precompiled release #6054

star-hengxing opened this issue Jan 10, 2025 · 2 comments

Comments

@star-hengxing
Copy link
Contributor

star-hengxing commented Jan 10, 2025

Is your feature request related to a problem? Please describe.

N/A

Describe the solution you'd like

Use zig toolchain to avoid glibc issue xmake f -c -p linux -a x86_64 --toolchain=zig
https://news.ycombinator.com/item?id=29538264
https://github.com/ziglang/zig/blob/5c6b25d9bb4d6fbee8f823ddc2c4ffcc7b4a9e35/lib/libc/glibc/README.md

Current xmake (tbox) require glibc >=2.29, because it depend posix_spawn_file_actions_addchdir_np
https://www.gnu.org/software/gnulib/manual/html_node/posix_005fspawn_005ffile_005factions_005faddchdir_005fnp.html

Specify glibc version for zig target, wait #5915 (comment)

Describe alternatives you've considered

No response

Additional context

No response

@waruqi
Copy link
Member

waruqi commented Jan 13, 2025

这是 zig 打出来的 linux bundle 包,可以试试 https://github.com/xmake-io/xmake/actions/runs/12742032109?pr=6069

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


This is the linux bundle generated by zig. You can try https://github.com/xmake-io/xmake/actions/runs/12742032109?pr=6069

@waruqi waruqi closed this as completed Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants