Skip to content

Commit

Permalink
..
Browse files Browse the repository at this point in the history
  • Loading branch information
dweindl committed May 15, 2024
1 parent 57e82f1 commit b75abc7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion python/sdist/amici/setup.template.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,10 @@ def get_extension() -> CMakeExtension:
else:
os.environ["CMAKE_BUILD_PARALLEL_LEVEL"] = "1"

debug_build = os.getenv("AMICI_DEBUG", "").lower() in ["1", "true"]
debug_build = os.getenv("ENABLE_AMICI_DEBUGGING", "").lower() in [
"1",
"true",
]

return CMakeExtension(
name="model_ext",
Expand Down
5 changes: 4 additions & 1 deletion python/sdist/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,10 @@ def get_extensions():
],
)
# AMICI
debug_build = os.getenv("AMICI_DEBUG", "").lower() in ["1", "true"]
debug_build = os.getenv("ENABLE_AMICI_DEBUGGING", "").lower() in [
"1",
"true",
]
amici_ext = CMakeExtension(
name="amici",
install_prefix="amici",
Expand Down

0 comments on commit b75abc7

Please sign in to comment.