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

Added build support for librealsense2 on Apple Silicon arm64 #1235

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

Conversation

cansik
Copy link
Member

@cansik cansik commented Sep 21, 2022

This PR adds build support for Apple Silicon arm64 using the XCode build system as recommended here and here.

@saudet
Copy link
Member

saudet commented Sep 21, 2022

Looks good, but we'll also need to update the workflow file for GitHub Actions to get this tested:
https://github.com/bytedeco/javacpp-presets/blob/master/.github/workflows/librealsense2.yml
As well as the platform/pom.xml file:
https://github.com/bytedeco/javacpp-presets/blob/master/librealsense2/platform/pom.xml

@saudet
Copy link
Member

saudet commented Sep 22, 2022

And we also need to add it to the list here:
https://github.com/bytedeco/javacpp-presets/blob/master/pom.xml#L1448

@saudet
Copy link
Member

saudet commented Sep 23, 2022

It's probably easier to use just the normal make to build that since we know that works.

@cansik
Copy link
Member Author

cansik commented Sep 23, 2022

The standard make command did not work on my system, even for the python library. Others are working with XCode as well because of that.

Intel dropped MacOS suppport lately, so it could be related to that.

But let's try it on the Github Actions environment. I am going to adapt it.

@saudet
Copy link
Member

saudet commented Sep 23, 2022

It looks like we'll need to build libusb from source as well?

@saudet
Copy link
Member

saudet commented Apr 7, 2024

Looks like GitHub Actions now has free M1 runners. Want to give this a try again with that? https://github.blog/changelog/2024-01-30-github-actions-introducing-the-new-m1-macos-runner-available-to-open-source/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants