Skip to content

Commit

Permalink
change -openmp to -qopenmp if icc is used as -openmp is interpreted a…
Browse files Browse the repository at this point in the history
…s -o penmp when using clang or gcc
  • Loading branch information
Damian S. Steiger committed Jun 18, 2017
1 parent 22259a1 commit 95cf89a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def build_extensions(self):
openmp = ''
if has_flag(self.compiler, '-fopenmp'):
openmp = '-fopenmp'
elif has_flag(self.compiler, '-openmp'):
elif has_flag(self.compiler, '-qopenmp'):
openmp = '-openmp'
if ct == 'msvc':
openmp = '' # supports only OpenMP 2.0
Expand Down

0 comments on commit 95cf89a

Please sign in to comment.