Don't compile with OpenMP by default

This commit is contained in:
Matthew Honnibal 2017-10-27 10:16:58 +00:00
parent f6fef30adc
commit 642eb28c16

View File

@ -67,7 +67,7 @@ LINK_OPTIONS = {
# I don't understand this very well yet. See Issue #267
# Fingers crossed!
USE_OPENMP_DEFAULT = '1' if sys.platform != 'darwin' else None
USE_OPENMP_DEFAULT = '0' if sys.platform != 'darwin' else None
if os.environ.get('USE_OPENMP', USE_OPENMP_DEFAULT) == '1':
if sys.platform == 'darwin':
COMPILE_OPTIONS['other'].append('-fopenmp')