-
Notifications
You must be signed in to change notification settings - Fork 5
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
Tracking issue for Meson support of submodules #22
Comments
I will be working on adding |
I will pick up |
Indeed. Sounds good. I will have a go at |
I will work on |
We have a working CI job now. |
Note - I can keep working on adding modules along with other things as that part happens quickly (mostly everything is setup already, just |
Next module - |
Sounds great, thanks @czgdp1807! |
@Smit-create do you want to add Meson support to To start, I suggest:
|
Yes, I will refer to the docs and try to take it up. Thanks! |
|
Yes, will pick that up next.
Thanks, I will look at them. |
Hi. Once I complete |
All submodules complete! I'm going to have a go at squashing the last Cython related dependency issues, and then (fingers crossed) the whole test suite will run. |
So far this tracking issue focused on what we need specifically for SciPy. There's a number of related things that are in flight, so let me add a summary of what and who here:
|
I think I've an idea of where to start with this, the basics are in the commit message referenced in the issue. No idea of how this will go with cython devs though. And I ran out of time with this before the start of the teaching term, will come back to it at some point unless someone beats me to it. |
That sounds like a ways away. Reading ev-br/mc_lib@818f466, it may not be that hard. @ev-br do you think this is feasible for an intern new to Cython & build stuff to tackle? |
Yup, this is very much doable. The main challenges seem to be non-technical : (1) plumb this through to the |
Why can't it be plumbed through the See my comment (and surrounding discussion) at mesonbuild/meson#8706 (comment)
It could possibly be made to work, but tbh I'd expect a cython implementation of depfile support should, for the sake of thoroughness, add that option to both executables -- and this should hopefully not be harder than adding it to just one. |
I agree with @eli-schwartz, that seems like a nonstarter. |
There seem to be at least two differing opinons on this :-). cython/cython#1214 (comment) |
It's not clear to me that the concerns raised there are relevant to emitting dependency rules for rerunning cython in order to transpile .pxd into .cpp |
I indeed don't think those concerns are relevant. |
I have re-read the Cython docs, and this bit at the top of the "source files and compilation" page isn't quite complete: There are two ways of compiling from the command line.
That would mean that However, that is not what |
IIRC the Using the |
Thanks @swallan. I will add a code comment to note this in the next update for |
I had a look at where we are at and what are actual release blockers for
Everything else is nice to have:
|
PR now merged to meson git master in the middle of the 0.62.0 development cycle. |
Nice, we're progressing nicely: we're down to sdist/wheel builds (almost there, some macOS and Windows testing left to do), test/improve MKL support, and some CI job porting as release blockers. |
I opened scipy#16293 for remaining items. I think we're good here, this issue served its purpose, so I'll close it. Thanks everyone. |
Here is a list to keep track of where we are with adding Meson support. An "
x
" means "has ameson.build
file that's mostly complete; someTODO
orFIXME
items may be left")._lib
cluster
constants
fft
fftpack
integrate
interpolate
io
linalg
misc
ndimage
odr
optimize
signal
sparse
sparse.linalg
sparse.csgraph
spatial
special
stats
When picking up a new module, let's comment here to avoid double work.
Other topics worth tracking separately:
cython
CLI to properly support generated Cython code (Cython build issues in combination with generated sources #31) UPDATE: fixed by splitting out build rules; we'd still like to get Cython does not respect dependency for generating.pyx.c
file mesonbuild/meson#8961 fixed so we can simplify ourmeson.build
files..pxi
/.pxd
files (Cython dependency handling in .pxd and .pxi files mesonbuild/meson#9049) - UPDATE: done in Cython master, backported to 0.29.x and released in0.29.27
, needs support in Mesoncython --cplus
correctly (see Don't userun_command
for buildingcython --cplus
code #25)linalg.pxd
(e.g. incluster/
andoptimize/_lsq/
)dev.py
interface similar toruntests.py
aarch64
)The text was updated successfully, but these errors were encountered: