llnl / llnl/conduit

error building with numpy 2.0

Open
#1,283 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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

  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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.