New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
BUG: build graph non-determinism #19167
Comments
I suspect that adding |
Thanks for the report. 0.13.2 is the |
So I tracked it down to these two rules which should reproduce anywhere (may need a
|
Thanks! Yes, this is a clear bug. I've had on my wish/idea list for a long time to build every target separately to smoke out issues like these. Here's how I reproduce it, from a clean repo:
Meson is good at automatically adding dependencies, but it will miss the ones that come through a |
I'm unsure of how many places need this added, but I suppose grepping |
I think it's only the places that use the output of a |
Generating the source for `_ellip_harm_2` requires the `cython_special` module to already be compiled. Add a dependency for this. Note that it now must be a custom target because generators do not support extra dependencies. Fixes: scipy#19167
Generating the source for `_ellip_harm_2` requires the `cython_special` module to already be compiled. Add a dependency for this. Note that it now must be a custom target because generators do not support extra dependencies. Fixes: scipy#19167
Generating the source for `_ellip_harm_2` requires the `cython_special.pxd` header to be generated. So add a dependency for this. Closes scipygh-19167 Co-authored-by: Ralf Gommers <ralf.gommers@gmail.com>
Generating the source for `_ellip_harm_2` requires the `cython_special.pxd` header to be generated. So add a dependency for this. Closes gh-19167 Co-authored-by: Ralf Gommers <ralf.gommers@gmail.com>
Describe your issue.
It seems that some Cython code needs more dependencies specified. Namely, some Cython generation requires
from scipy.special cimport cython_special
to work. While trying toninja -k0
in order toninja -j1
to isolate the error message, the problem went away. This tells me that dependencies probably just need better ordered.Reproducing Code Example
Error message
SciPy/NumPy/Python version and system information
The text was updated successfully, but these errors were encountered: