py-scipy: re-apply scipy/scipy#14935 workaround (#39555)
* re-apply scipy/scipy#14935 workaround * restrict to %intel and eliminate Version() check --------- Co-authored-by: Daryl W. Grunau <dwg@lanl.gov>
This commit is contained in:
parent
04d55b7600
commit
b370ecfbda
1 changed files with 2 additions and 3 deletions
|
@ -193,8 +193,7 @@ def setup_build_environment(self, env):
|
|||
env.set("NPY_DISTUTILS_APPEND_FLAGS", "1")
|
||||
|
||||
# https://github.com/scipy/scipy/issues/14935
|
||||
if self.spec.satisfies("%intel ^py-pythran") or self.spec.satisfies("%oneapi ^py-pythran"):
|
||||
if self.spec["py-pythran"].version < Version("0.12"):
|
||||
if self.spec.satisfies("%intel ^py-pythran"):
|
||||
env.set("SCIPY_USE_PYTHRAN", "0")
|
||||
|
||||
# Pick up BLAS/LAPACK from numpy
|
||||
|
|
Loading…
Reference in a new issue