Skip to content

Commit

Permalink
Skip installing odes on macos
Browse files Browse the repository at this point in the history
  • Loading branch information
arjxn-py committed Jun 19, 2023
1 parent 213b9bf commit 33e1229
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ def run_pybamm_requires(session):
session.env[
"LD_LIBRARY_PATH"
] = f"{homedir}/.local/lib:{session.env.get('LD_LIBRARY_PATH')}"
if sys.platform != "win32" or sys.platform != "darwin":
if sys.platform != "win32":
session.install("wget", "cmake")
session.run("python", "scripts/install_KLU_Sundials.py")
if not os.path.exists("./pybind11"):
Expand Down Expand Up @@ -48,7 +48,7 @@ def run_integration(session):
"LD_LIBRARY_PATH"
] = f"{homedir}/.local/lib:{session.env.get('LD_LIBRARY_PATH')}"
session.install("-e", ".[dev]")
if sys.platform == "linux" or sys.platform == "darwin":
if sys.platform == "linux":
session.install("scikits.odes")
session.run("python", "run-tests.py", "--integration")

Expand All @@ -67,7 +67,7 @@ def run_unit(session):
"LD_LIBRARY_PATH"
] = f"{homedir}/.local/lib:{session.env.get('LD_LIBRARY_PATH')}"
session.install("-e", ".")
if sys.platform == "linux" or sys.platform == "darwin":
if sys.platform == "linux":
session.run("pybamm_install_jax")
session.install("scikits.odes")
session.run("python", "run-tests.py", "--unit")
Expand Down

0 comments on commit 33e1229

Please sign in to comment.