While the standard Mesonic way to configure OpenMP is by putting it in dependencies:, not by setting up flags,
can we still get them extracted in some way?
While Sage is built with Meson, we do support %%cython magic at the (i)Python prompt (a clone of https://ipython.org/ipython-doc/2/config/extensions/cythonmagic.html), which has to be configured with flags. Surely we can do our own platform detection,
but would rather use what Meson figures out via dependency('openmp') call.
Cf. sagemath/sage#40898
While the standard Mesonic way to configure OpenMP is by putting it in
dependencies:, not by setting up flags,can we still get them extracted in some way?
While Sage is built with Meson, we do support
%%cythonmagic at the (i)Python prompt (a clone of https://ipython.org/ipython-doc/2/config/extensions/cythonmagic.html), which has to be configured with flags. Surely we can do our own platform detection,but would rather use what Meson figures out via
dependency('openmp')call.Cf. sagemath/sage#40898