PennyLaneAI / PennyLaneAI/catalyst
Fix platform tag for macOS wheels
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 234
- Forks
- 84
- Avg merge
- 2d 15h
- Merged PRs (30d)
- 66
Description
All binary artifacts produced in a Catalyst build are built for the specific local architecture (arm on mac), except for libcustom_calls built with setup.py. The latter is built as a fat binary (universal2) and the resulting wheel is also incorrectly tagged as a universal2 wheel. Fixing this in the setup.py config should be straightforward and would save us the rename step during wheel publishing, as well as shaving off a tiny bit of unused x86 code in the libcustom_calls.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the setup.py configuration used to build libcustom_calls during a Catalyst macOS build. Check how the local architecture is translated into the wheel platform tag, then verify that the resulting wheel is no longer tagged universal2 and does not require renaming during publishing.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- macos, python
- Domain
- build-system, release
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 74/100