diff options
| author | Charles Harris <charlesr.harris@gmail.com> | 2018-04-01 12:17:57 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-04-01 12:17:57 -0600 |
| commit | 285b84b213a4b335dc4baed8090e033e67a7903f (patch) | |
| tree | 0f71aeb980a4ff6c7f5fa7ec0760ff86b1b5d823 | |
| parent | cf7b9b58ca58bdee45f31416fd92b99f74b0aa1e (diff) | |
| parent | 0a95dac39bbfb3aaedd99442a3ed2324afd97625 (diff) | |
| download | numpy-285b84b213a4b335dc4baed8090e033e67a7903f.tar.gz | |
Merge pull request #10834 from juliantaylor/opt-doc
DOC: note that NDEBUG should be set when OPT should increase optimization
| -rw-r--r-- | doc/source/user/building.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/source/user/building.rst b/doc/source/user/building.rst index b98f89c2d..76eb48487 100644 --- a/doc/source/user/building.rst +++ b/doc/source/user/building.rst @@ -132,6 +132,8 @@ Supplying additional compiler flags Additional compiler flags can be supplied by setting the ``OPT``, ``FOPT`` (for Fortran), and ``CC`` environment variables. +When providing options that should improve the performance of the code ensure +that you also set ``-DNDEBUG`` so that debugging code is not executed. Building with ATLAS support |
