Skip to content

getting OpenMP flags from Meson(-python) after OpenMP detection #839

@dimpase

Description

@dimpase

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions