diff options
author | Julian Taylor <jtaylor.debian@googlemail.com> | 2017-04-05 21:56:08 +0200 |
---|---|---|
committer | Julian Taylor <jtaylor.debian@googlemail.com> | 2017-04-10 17:35:58 +0200 |
commit | a448495dbef6809b2837e07c4fc9c2657e1d67a2 (patch) | |
tree | 7f1e2cfd358870a00161d3494ba2dee439b6c026 /numpy/distutils/tests/test_system_info.py | |
parent | 38e152a4272f79772b48f7232fc7f3a8ebbf61a6 (diff) | |
download | numpy-a448495dbef6809b2837e07c4fc9c2657e1d67a2.tar.gz |
ENH: automatically determine compile dependencies
Use these dependencies to avoid unnecessary recompilations of unchanged
files.
Diffstat (limited to 'numpy/distutils/tests/test_system_info.py')
-rw-r--r-- | numpy/distutils/tests/test_system_info.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/distutils/tests/test_system_info.py b/numpy/distutils/tests/test_system_info.py index 3576de814..73b841692 100644 --- a/numpy/distutils/tests/test_system_info.py +++ b/numpy/distutils/tests/test_system_info.py @@ -65,7 +65,8 @@ def have_compiler(): cmd = compiler.compiler # Unix compilers except AttributeError: try: - compiler.initialize() # MSVC is different + if not compiler.initialized: + compiler.initialize() # MSVC is different except DistutilsError: return False cmd = [compiler.cc] |