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

Set OSX build for a fat library #56

Open
henriqueaklein opened this issue Jul 17, 2024 · 1 comment
Open

Set OSX build for a fat library #56

henriqueaklein opened this issue Jul 17, 2024 · 1 comment
Assignees

Comments

@henriqueaklein
Copy link
Contributor

For a few years now OSX build was hardcoded to "x86_64", but the project that failed with "arm64" is no longer present.

Thirdparty builds for all Hosts are currently building the machine they are being compiled on.

Solve this for thirdparty to generate a fat lib for all libraries.

@henriqueaklein henriqueaklein self-assigned this Jul 18, 2024
@henriqueaklein
Copy link
Contributor Author

At the moment OpenSSL script was added the arch parameters to be able to configure that.
Some projects remain:

  • Boost: Create a build script for OSX much like the OpenSSL)
  • MNN: The problem is just in the fat libraries due to CMAKE_OSX_ARCHITECTURES having a list with both arch, then one of the conditions on cmake tries to build a x86 file for arm64. If one turns off MNN_USE_SSE then it succeeds but in doing so removes SSE from x86 build.
  • wallet-core: Most likely the rust library is the faulty part, since it builds on script instead of cmake. Need to fix the install of the libs

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

1 participant