diff options
| author | Rohit Goswami <rog32@hi.is> | 2022-03-21 11:43:56 +0000 |
|---|---|---|
| committer | Rohit Goswami <rog32@hi.is> | 2022-03-21 11:43:56 +0000 |
| commit | 4b73c2d37bea45228402330c4aa17390c7e893b6 (patch) | |
| tree | 495a4e74f173f08eda0f354f96d380c549818b0f /doc/source/f2py/buildtools | |
| parent | e96bf13c71ec0dc6d75245352ee414ca3e8253db (diff) | |
| download | numpy-4b73c2d37bea45228402330c4aa17390c7e893b6.tar.gz | |
ENH: Switch to a negative flag
Also remove FutureWarning and update documentation
Co-authored-by: Ralf Gommers <ralf.gommers@gmail.com>
Diffstat (limited to 'doc/source/f2py/buildtools')
| -rw-r--r-- | doc/source/f2py/buildtools/index.rst | 6 | ||||
| -rw-r--r-- | doc/source/f2py/buildtools/meson.rst | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/doc/source/f2py/buildtools/index.rst b/doc/source/f2py/buildtools/index.rst index 5121c3775..08e0763fe 100644 --- a/doc/source/f2py/buildtools/index.rst +++ b/doc/source/f2py/buildtools/index.rst @@ -80,8 +80,10 @@ Signature files .. note:: - To generate every possible input for a given standard (F77 or F90) - ``--empty-gen`` can be passed to ``f2py`` from NumPy version ``1.22.4``. + From NumPy ``1.22.4`` onwards, ``f2py`` will deterministically generate + wrapper files based on the input file Fortran standard (F77 or greater). + ``--no-empty-gen`` can be passed to ``f2py`` to restore the previous + behaviour of only generating wrappers when needed by the input . In theory keeping the above requirements in hand, any build system can be diff --git a/doc/source/f2py/buildtools/meson.rst b/doc/source/f2py/buildtools/meson.rst index 2c5a2395c..59a96ab45 100644 --- a/doc/source/f2py/buildtools/meson.rst +++ b/doc/source/f2py/buildtools/meson.rst @@ -85,8 +85,10 @@ for reasons discussed in :ref:`f2py-bldsys`. .. note:: - To generate every possible input for a given standard (F77 or F90) - ``--empty-gen`` can be passed to ``f2py`` from NumPy version ``1.22.4``. + From NumPy ``1.22.4`` onwards, ``f2py`` will deterministically generate + wrapper files based on the input file Fortran standard (F77 or greater). + ``--no-empty-gen`` can be passed to ``f2py`` to restore the previous + behaviour of only generating wrappers when needed by the input . However, we can augment our workflow in a straightforward to take into account files for which the outputs are known when the build system is set up. |
