Skip to content

Commit

Permalink
Include meson ninja extra options to scipy
Browse files Browse the repository at this point in the history
  • Loading branch information
Micket committed Dec 11, 2024
1 parent 6ea2af3 commit b1cef7e
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions easybuild/easyblocks/s/scipy.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,15 +51,17 @@ class EB_scipy(FortranPythonPackage, PythonPackage, MesonNinja):
"""Support for installing the scipy Python package as part of a Python installation."""

@staticmethod
def extra_options():
def extra_options(extra_vars=None):
"""Easyconfig parameters specific to scipy."""
extra_vars = ({
extra_vars = PythonPackage.extra_options(extra_vars=extra_vars)
extra_vars = MesonNinja.extra_options(extra_vars=extra_vars)
extra_vars.update({
'enable_slow_tests': [False, "Run scipy test suite, including tests marked as slow", CUSTOM],
'ignore_test_result': [None, "Run scipy test suite, but ignore test failures (True/False/None). Default "
"(None) implies True for scipy < 1.9, and False for scipy >= 1.9", CUSTOM],
})

return PythonPackage.extra_options(extra_vars=extra_vars)
return extra_vars

def __init__(self, *args, **kwargs):
"""Set scipy-specific test command."""
Expand Down

0 comments on commit b1cef7e

Please sign in to comment.