summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2018-04-01 12:17:57 -0600
committerGitHub <noreply@github.com>2018-04-01 12:17:57 -0600
commit285b84b213a4b335dc4baed8090e033e67a7903f (patch)
tree0f71aeb980a4ff6c7f5fa7ec0760ff86b1b5d823
parentcf7b9b58ca58bdee45f31416fd92b99f74b0aa1e (diff)
parent0a95dac39bbfb3aaedd99442a3ed2324afd97625 (diff)
downloadnumpy-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.rst2
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