error building with numpy 2.0
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 248
- Forks
- 72
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 15
Description
Error from conda-forge numpy 2.0 build
```
CMake Error at cmake/thirdparty/FindNumPy.cmake:77 (math):
math cannot parse the expression: "(2 * 10000) + (0 * 100) + 0rc2": syntax
error, unexpected exp_NUMBER, expecting end of file (30).
Call Stack (most recent call first):
cmake/Setup3rdParty.cmake:93 (include)
CMakeLists.txt:99 (include)
```
Contributor guide
No contributing guide indexed for this repository
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 by reading cmake/thirdparty/FindNumPy.cmake around line 77, then follow its inclusion from cmake/Setup3rdParty.cmake and CMakeLists.txt. Done means the CMake configuration/build accepts the conda-forge NumPy 2.0 version shown without the reported expression-parsing error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cmake, numpy
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 38/100