Skip to content

makefile: Add goal to build the project in a linux container#674

Merged
dcantah merged 1 commit into
apple:mainfrom
dcantah:linux-build-makefile-target
Apr 9, 2026
Merged

makefile: Add goal to build the project in a linux container#674
dcantah merged 1 commit into
apple:mainfrom
dcantah:linux-build-makefile-target

Conversation

@dcantah
Copy link
Copy Markdown
Member

@dcantah dcantah commented Apr 9, 2026

Today our CI builds all of the linux code we have with musl and libc to ensure everything is silky smooth. We should have a way to do the same locally. This adds a new macOS only goal that spins up a container (requires container to be installed) that builds an image with our deps (libarchive and compression libs) and then builds the project. It supports supplying whatever libc (musl or glibc) to verify they both work.

Comment thread Makefile Outdated
Today our CI builds all of the linux code we have with musl and libc
to ensure everything is silky smooth. We should have a way to do the
same locally. This adds a new macOS only goal that spins up a container
(requires `container` to be installed) that builds an image with our
deps (libarchive and compression libs) and then builds the project.
It supports supplying whatever libc (musl or glibc) to verify they
both work.
@dcantah dcantah force-pushed the linux-build-makefile-target branch from ab42ee9 to d61ba7d Compare April 9, 2026 18:52
@dcantah dcantah merged commit 6f7e7f9 into apple:main Apr 9, 2026
5 checks passed
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