Skip to content

Commit

Permalink
neuron, coreneuron, nmodl: modern units by default
Browse files Browse the repository at this point in the history
  • Loading branch information
iomaganaris authored and olupton committed May 31, 2023
1 parent 1e393c7 commit ba4f8b1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion bluebrain/repo-bluebrain/packages/coreneuron/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ class Coreneuron(CMakePackage):
)
variant("sympy", default=False, description="Use NMODL with SymPy to solve ODEs")
variant("sympyopt", default=False, description="Use NMODL with SymPy Optimizations")
variant("legacy-unit", default=True, description="Enable legacy units")
variant("legacy-unit", default=False, description="Enable legacy units")

# Build with `ninja` instead of `make`
generator = "Ninja"
Expand Down
2 changes: 1 addition & 1 deletion bluebrain/repo-bluebrain/packages/nmodl/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Nmodl(CMakePackage):
version("0.5.0", tag="0.5")
version("0.4.0", tag="0.4")

variant("legacy-unit", default=True, description="Enable legacy units")
variant("legacy-unit", default=False, description="Enable legacy units")
variant("python", default=False, description="Enable python bindings")
variant("llvm", default=False, description="Enable llvm codegen")
variant("llvm_cuda", default=False, description="Enable llvm codegen with CUDA backend")
Expand Down
6 changes: 3 additions & 3 deletions bluebrain/repo-patches/packages/neuron/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class Neuron(CMakePackage):
patch("patch-v800-cmake-nvhpc.patch", when="@8.0.0%nvhpc^[email protected]:")

version("develop", branch="master")
version("9.0.a7", commit="67a672a")
version("9.0.a8", commit="67a672a")
version("9.0.a5", commit="522c866")
version("9.0.a4", commit="de2c927")
version("9.0.a3", commit="afce1ef")
Expand Down Expand Up @@ -90,7 +90,7 @@ class Neuron(CMakePackage):
multi=True,
values=("None", "olfactory", "channel-benchmark", "tqperf-heavy"),
)
variant("legacy-unit", default=True, description="Enable legacy units")
variant("legacy-unit", default=False, description="Enable legacy units")
variant("caliper", default=False, description="Add LLNL/Caliper support")

# extra variants from coreneuron recipe
Expand All @@ -102,7 +102,7 @@ class Neuron(CMakePackage):
variant("openmp", default=False, description="Enable OpenMP support", when="@9:")
variant("report", default=True, description="Enable SONATA reports")
variant("shared", default=True, description="Build shared library")
nmodl_variant_exists = "@9:9.0.a7 +coreneuron"
nmodl_variant_exists = "@9:9.0.a8 +coreneuron"
variant(
"nmodl",
default=True,
Expand Down

0 comments on commit ba4f8b1

Please sign in to comment.