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

Add support for building on macOS/darwin #266

Open
4 of 6 tasks
craciunoiuc opened this issue Mar 7, 2023 · 0 comments
Open
4 of 6 tasks

Add support for building on macOS/darwin #266

craciunoiuc opened this issue Mar 7, 2023 · 0 comments
Labels
kind/enhancement New feature or request kind/epic This issue is an epic and comprises of sub-tasks kind/project This issue represents a standalone project priority/low Nice to have issues thatare not urgent, but can be nagging.

Comments

@craciunoiuc
Copy link
Member

craciunoiuc commented Mar 7, 2023

Feature request summary

Kraftkit should be usable on macOS-based systems. The code is mostly OS-agnostic so changes should be minimal.
The focus should be on x86_64 first, and then moved to arm.

The task of successfully building and running unikernels needs to be tackled in the main repository first.

Describe alternatives

No response

Related architectures

amd64, arm64

Related platforms

macOS

Additional context

Several pieces of work need to be done in order to accommodate the new platform:

@craciunoiuc craciunoiuc added the kind/enhancement New feature or request label Mar 7, 2023
@nderjung nderjung changed the title Add support for MacOS systems Add support for building on macOS/darwin Mar 7, 2023
@github-project-automation github-project-automation bot moved this to 🧊 Icebox in KraftKit Roadmap Mar 7, 2023
@nderjung nderjung added the kind/project This issue represents a standalone project label Mar 9, 2023
jake-ciolek pushed a commit to jake-ciolek/kraftkit that referenced this issue Jul 25, 2023
Create darwin specific equivalents of _linux code.

If possible, merge common parts into _unix suffixed files.
Move others into _linux.go and _darwin.go files.

Augment goreleaser's ytt templates to produce two additional targets:

- darwin amd64
- darwin arm64

Make it build a binary runnable on the host MacOS machine via make kraft (both with DOCKER variable set and not set)

GitHub-Fixes: unikraft#30
GitHub-Fixes: unikraft#266

Signed-off-by: Jakub Ciolek <[email protected]>
jake-ciolek pushed a commit to jake-ciolek/kraftkit that referenced this issue Jul 25, 2023
Create darwin specific equivalents of _linux code.

If possible, merge common parts into _unix suffixed files.
Move others into _linux.go and _darwin.go files.

Augment goreleaser's ytt templates to produce two additional targets:

- darwin amd64
- darwin arm64

Make it build a binary runnable on the host MacOS machine via make kraft.

Works both with DOCKER variable set and not set.

GitHub-Fixes: unikraft#30
GitHub-Fixes: unikraft#266

Signed-off-by: Jakub Ciolek <[email protected]>
@nderjung nderjung added the kind/epic This issue is an epic and comprises of sub-tasks label Jul 25, 2023
@craciunoiuc craciunoiuc added the priority/low Nice to have issues thatare not urgent, but can be nagging. label Feb 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement New feature or request kind/epic This issue is an epic and comprises of sub-tasks kind/project This issue represents a standalone project priority/low Nice to have issues thatare not urgent, but can be nagging.
Projects
Status: No status
Status: Backlog
Status: 🧊 Icebox
Development

No branches or pull requests

2 participants