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

How to define MacOS Universal2 builds in cppbuild.sh? #1234

Closed
cansik opened this issue Sep 21, 2022 · 2 comments
Closed

How to define MacOS Universal2 builds in cppbuild.sh? #1234

cansik opened this issue Sep 21, 2022 · 2 comments

Comments

@cansik
Copy link
Member

cansik commented Sep 21, 2022

I am currently working on bringing my knowledge from librealsense2 on Apple Silicon to the Java world. It is already compiling by using XCode from the command line (cansik@d1152f1).

Now the question is how this can be included in the current build pipeline. As Github Actions do not have M1 runners yet, it would be possible to use a MacOS Intel runner and create an Universal2 binary (as my python lib does).

But how should this be implemented in the cppbuild.sh? Or how should this be solved?

@saudet
Copy link
Member

saudet commented Sep 21, 2022

We can cross compile relatively easily. Check the cppbuild.sh files from other presets for some examples.

@saudet
Copy link
Member

saudet commented Sep 21, 2022

Duplicate of #1069

@saudet saudet marked this as a duplicate of #1069 Sep 21, 2022
@saudet saudet closed this as completed Sep 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants