aboutsummaryrefslogtreecommitdiffstats
path: root/configure.py
diff options
context:
space:
mode:
Diffstat (limited to 'configure.py')
-rwxr-xr-xconfigure.py17
1 files changed, 8 insertions, 9 deletions
diff --git a/configure.py b/configure.py
index 1c2bd211b..8294b25fa 100755
--- a/configure.py
+++ b/configure.py
@@ -1249,15 +1249,16 @@ def choose_modules_to_use(modules, archinfo, options):
logging.info('Skipping, %s - %s' % (
reason, ' '.join(disabled_mods)))
- logging.info('Using MP module ' +
- ' '.join(filter(lambda m: m.startswith('mp_'), to_load)))
-
- logging.debug('Loading modules %s', ' '.join(sorted(to_load)))
-
- for mod in to_load:
+ for mod in sorted(to_load):
+ if mod.startswith('mp_'):
+ logging.info('Using MP module ' + mod)
+ if mod.startswith('simd_') and mod != 'simd_engine':
+ logging.info('Using SIMD module ' + mod)
if modules[mod].comment:
logging.info('%s: %s' % (mod, modules[mod].comment))
+ logging.debug('Loading modules %s', ' '.join(sorted(to_load)))
+
return [modules[mod] for mod in to_load]
"""
@@ -1644,9 +1645,7 @@ def main(argv = None):
if options.compiler is None:
if options.os == 'windows':
- if have_program('cl'):
- options.compiler = 'msvc'
- elif have_program('g++'):
+ if have_program('g++') and not have_program('cl'):
options.compiler = 'gcc'
else:
options.compiler = 'msvc'