py-scikit-learn: update OpenMP flag (#13683)
This commit is contained in:
parent
3eb19b142f
commit
38da69346c
@ -79,7 +79,7 @@ def setup_build_environment(self, env):
|
||||
# https://scikit-learn.org/stable/developers/advanced_installation.html#mac-osx
|
||||
elif self.spec.satisfies('@0.21: %clang platform=darwin +openmp'):
|
||||
env.append_flags(
|
||||
'CPPFLAGS', '-Xpreprocessor -fopenmp')
|
||||
'CPPFLAGS', self.compiler.openmp_flag)
|
||||
env.append_flags(
|
||||
'CFLAGS', self.spec['llvm-openmp'].headers.include_flags)
|
||||
env.append_flags(
|
||||
|
Loading…
Reference in New Issue
Block a user