diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2018-04-01 17:59:15 +0200 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2018-04-01 18:00:06 +0200 |
commit | 0a95dac39bbfb3aaedd99442a3ed2324afd97625 (patch) | |
tree | 386a8edd8d27ba5ee2fb498c45b7d8a1d7daa33f /doc/source/user | |
parent | 0440fb1a5578643e526d254762eee70e4859fb5d (diff) | |
download | numpy-0a95dac39bbfb3aaedd99442a3ed2324afd97625.tar.gz |
DOC: note that NDEBUG should be set when OPT should increase optimization
Diffstat (limited to 'doc/source/user')
-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 |