Skip to content

Commit

Permalink
Fixed -qopenmp for future versions of icc.
Browse files Browse the repository at this point in the history
since -openmp is deprecated.
  • Loading branch information
thomashaener committed Jun 21, 2017
1 parent da8f149 commit 35ad38f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Expand Up @@ -114,7 +114,7 @@ def build_extensions(self):
if has_flag(self.compiler, '-fopenmp'):
openmp = '-fopenmp'
elif has_flag(self.compiler, '-qopenmp'):
openmp = '-openmp'
openmp = '-qopenmp'
if ct == 'msvc':
openmp = '' # supports only OpenMP 2.0

Expand Down

0 comments on commit 35ad38f

Please sign in to comment.