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

New Build Pipeline: Use Zig as compiler #2395

Merged
merged 1 commit into from
Jan 3, 2024
Merged

New Build Pipeline: Use Zig as compiler #2395

merged 1 commit into from
Jan 3, 2024

Conversation

kakkoyun
Copy link
Member

@kakkoyun kakkoyun commented Jan 2, 2024

This PR compiles dependencies, using Zig Build System.

As of now, it doesn't address cross-compilation concerns.

  • It uses musl and statically links everything.
  • It reduces build time dependecies.

@brancz
Copy link
Member

brancz commented Jan 2, 2024

devbox + direnv is a pretty neat combo! The overall strategy of this change makes a ton of sense to me.

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
@kakkoyun kakkoyun marked this pull request as ready for review January 3, 2024 10:00
@kakkoyun kakkoyun requested a review from a team as a code owner January 3, 2024 10:00
@kakkoyun kakkoyun merged commit cef629f into nbp_devbox Jan 3, 2024
1 check passed
@kakkoyun kakkoyun deleted the nbp_zig branch January 3, 2024 10:02
@javierhonduco
Copy link
Contributor

I think you mentioned that Zig doesn't allow for statically built libc, what is the current state of things with this PR? Sorry if I misunderstood something!

@javierhonduco
Copy link
Contributor

For what I see in the PR, it seems like we are using musl for the native C dependencies as our libc, not GNUs, is that correct?

kakkoyun added a commit that referenced this pull request Jan 4, 2024
Use zig as compiler

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
kakkoyun added a commit that referenced this pull request Jan 9, 2024
Use zig as compiler

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
kakkoyun added a commit that referenced this pull request Jan 9, 2024
Use zig as compiler

Signed-off-by: Kemal Akkoyun <kakkoyun@gmail.com>
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

3 participants