Point72 / Point72/csp

`csp` can't be cross-compiled due to use of `_csptypesimpl` during the build

Open
#264 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

part: build type: bug
Dominant language
Python
Stars
441
Forks
90
Avg merge
1d 12m
Merged PRs (30d)
5

Description

Because _csptypesimpl is used during the build, if it is cross-compiled to a different arch it won't be useable. So during the build we should either:

  • compile it for universal2 on Mac which will be useable everywhere, but won't work on linux since the equivalent doesn't really exist
  • compile it for native for the build, then cross compile it just for distribution

xref: https://github.com/conda-forge/csp-feedstock/pull/27

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how _csptypesimpl is built and used, then read the linked conda-forge csp-feedstock pull request for packaging context. Compare the universal2 and native-build/distribution-build options across macOS and Linux; done means cross-compiled builds remain usable on their target architectures and distribution packaging succeeds.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, python
Domain
build-system
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.