summaryrefslogtreecommitdiff
path: root/setupegg.py
diff options
context:
space:
mode:
authorNick Papior Andersen <nickpapior@gmail.com>2015-02-24 13:29:38 +0000
committerNick Papior Andersen <nickpapior@gmail.com>2015-02-24 13:29:38 +0000
commite87ad6eb8ff7d7705abb20d523e21c67e508b0e6 (patch)
treef7984e54c6c5d857a658d6a736ab8d7c83fa4226 /setupegg.py
parent63e0f6ac81b8bfabc74a441dbf08eeaead091fbb (diff)
downloadnumpy-e87ad6eb8ff7d7705abb20d523e21c67e508b0e6.tar.gz
ENH: Added tests to the extra options read in
A simple test (distutils/testing/test_system_info.py) to check that the options are read in correctly has been added. This test has a few faults: A) It does not allow strict library checks as that can be _very_ system dependent. B) It compiles some simple C-programs but does currently not link them to a shared library. C) As such the test does not check that the flags are actually used. To circumvent this one should: A) Make a library of the compiled sources. B) Check that a runtime_library_dirs is working by checking with ldd C) Make a preprocessor flag to check the output of two commands which should differ according to the flags in each block I am not too much into the distutils compiler suite. So I have not endeavoured on this path. - The current test shows that the flags are read in by the standard system_info object and can thus be considered a "stable" solution. - Added note of the 1.10 release schedule. - Corrected the site.cfg.example, added runtime_library_dirs to the OpenBLAS example where it seems appropriate. - Bugfix for the site.cfg.example (the [DEFAULT] block should be name [ALL]) This might have lead to some confusion, but many of the libraries are linked explicitly by their own sections, hence it might not have been caught.
Diffstat (limited to 'setupegg.py')
0 files changed, 0 insertions, 0 deletions