Skip to content

Compilation fails when building Mac x86_64 + arm64 universal binary #363

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

Open
nicolacandussi opened this issue Jan 31, 2022 · 1 comment

Comments

@nicolacandussi
Copy link

I'm using the following cmake commands:

cmake .. -DCMAKE_OSX_ARCHITECTURES="arm64;x86_64"

And I get the following error:
/opt/dev/extlibs2/embree-3.13.2/common/sys/sysinfo.h:60:2: error: Unknown ISA

Compiling separately for arm64 or x86_64 works just fine.

@abhayap
Copy link

abhayap commented Mar 22, 2023

I'm having the same problem. Can we create a universal binary with v4?

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

No branches or pull requests

2 participants