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

Apple Silicon support #350

Closed
2 tasks done
hcho3 opened this issue Jan 28, 2022 · 0 comments · Fixed by #353
Closed
2 tasks done

Apple Silicon support #350

hcho3 opened this issue Jan 28, 2022 · 0 comments · Fixed by #353

Comments

@hcho3
Copy link
Collaborator

hcho3 commented Jan 28, 2022

  • Build and upload osx-arm64 binary wheel to PyPI
  • Add osx-arm64 target in Conda feedstock
@hcho3 hcho3 closed this as completed in #353 Feb 3, 2022
hcho3 added a commit that referenced this issue Feb 3, 2022
- Rewrite `ParallelFor` using OpenMP constructs.
- Link Treelite libs with OpenMP runtime lib.
- On MacOS, bundle libomp (OpenMP runtime) with Treelite. This is to ensure that Treelite does not randomly crash. dmlc/xgboost#7621 for full explanation.
- Build PyPI wheel targeting Apple Silicon. Closes #350
- On Linux, run `auditwheel repair` command to vendor (bundle) `libgomp.so` inside the Python wheel. This is required by the Python packaging standard.
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 a pull request may close this issue.

1 participant