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 macOS on Apple Silicon #164

Open
wants to merge 16 commits into
base: master
Choose a base branch
from

Conversation

acj
Copy link

@acj acj commented May 23, 2024

As discussed in #157, this PR contributes the following:

  1. Adds dependencies built for macOS on ARM / Apple Silicon
  2. Removes dependencies built for macOS on Intel x86_64
  3. Adds GitHub Actions CI workflows for building the dependencies and for building and testing Lilliput itself
  4. Fixes several issues that were breaking the build on macOS and Linux

I tried to break things up into small commits for easier review. The last ~5 commits are the key changes -- adding arm64 support, adding CI, and rebuilding the dependencies. The rest are fixes for the build.

If you'd like me to make a separate PR for the CI stuff, I'm happy to do that. There's a test run of the main CI workflow here and one for the dependency workflow here.

Happy to talk through any questions or concerns. Thanks!

Resolves #157. Resolves #138. Resolves #139.

@acj
Copy link
Author

acj commented Jul 19, 2024

@skidder 👋 A gentle ping. If I can do anything to make this easier to review and incorporate, let me know.

@aslamhadi
Copy link

hi, any updates on this PR?


# TODO: Fix this in the upstream deps repo
cd "$SRCDIR"
wget -q -O giflib-5.2.2.tar.gz https://sourceforge.net/projects/giflib/files/giflib-5.2.2.tar.gz/download

Choose a reason for hiding this comment

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

seems like 5.2.2 has been added in the upstream deps repo already and that discord has added a patch for giflib as well

Choose a reason for hiding this comment

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

@remiolivier-discord I noticed you updated the deps repo, could you also update the build scripts in the main branch for lilliput? 🙏

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.

A path to supporting ARM ld: library not found for -lsharpyuv
3 participants