-
-
Notifications
You must be signed in to change notification settings - Fork 14
Closed
Description
Hi. I am trying to build this from source so I can explore nanograv/PINT#1944 without waiting for new pypi or conda releases. However, I cannot follow the instructions at https://github.com/numpy/numpy-user-dtypes/tree/main/quaddtype#installation-from-source. Some of the issues may just be missing steps in the instructions, others appear more challenging:
- The instructions do not say that
mesonis needed, although that is an easy fix - The instructions do not say that
sleefis needed. I tried to install that fromconda, we'll see if that works - I am not sure how to install the
sleefquadlibrary. I get:
Run-time dependency sleef found: YES 3.9.0
Library sleefquad found: NO
../meson.build:65: WARNING: Falling back to SLEEF subproject: sleefquad library is missing
and I don't know if this is a problem or not. I cannot find a separate source for sleefquad, so this may be a problem with how I installed sleef
- The instructions say both
pip install numpy pytestandNumPy >= 2.4 (build from source)which seem incompatible. When I try to build I get many errors like:
../numpy_quaddtype/src/dtype.c:210:14: error: use of undeclared identifier 'NPY_CONSTANT_zero'
210 | case NPY_CONSTANT_zero:
| ^
which makes it look like it's missing a include file or some other source file.
Can you help with this? How should sleef and numpy be installed?
Metadata
Metadata
Assignees
Labels
No labels