forked from numpy/numpy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BUILD, DOC: fix 14518, add release note
- Loading branch information
Showing
2 changed files
with
19 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
Add options to quiet build configuration and build with ``-Werror`` | ||
------------------------------------------------------------------- | ||
Added two new configuration options. During the ``build_src`` subcommand, as | ||
part of configuring NumPy, the files ``_numpyconfig.h`` and ``config.h`` are | ||
created by probing support for various runtime functions and routines. | ||
Previously, the very verbose compiler output during this stage clouded more | ||
important information. By default the output is silenced. Running ``runtests.py | ||
--debug-configure`` will add ``-v`` to the ``build_src`` subcommand, which | ||
will restore the previous behaviour. | ||
|
||
Adding ``CFLAGS=-Werror`` to turn warnings into errors would trigger errors | ||
during the configuration. Now ``runtests.py --warn-error`` will add | ||
``--warn-error`` to the ``build`` subcommand, which will percolate to the | ||
``build_ext`` and ``build_lib`` subcommands. This will add the compiler flag | ||
to those stages and turn compiler warnings into errors while actually building | ||
NumPy itself, avoiding the ``build_src`` subcommand compiler calls. | ||
|
||
(`gh-14527 <https://github.com/numpy/numpy/pull/14527>`__) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters