Skip to content

Commit f46598a

Browse files
committed
defining +jax as a variant for py-deephyper
1 parent ed897c9 commit f46598a

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

packages/py-deephyper/package.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ class PyDeephyper(PythonPackage):
2727
variant("nas", default=False, description="Build with Neural Architecture Search dependencies")
2828
variant("autodeuq", default=False, description="Build with Automated Deep Ensemble dependencies")
2929
variant("hps-tl", default=False, description="Build with Hyperparameter Tuning with Transfer Learning dependencies")
30+
variant("jax", default=False, description="Build with JAX dependencies")
3031
variant("mpi", default=False, description="Build with MPI dependencies")
3132
variant("ray", default=False, description="Build with Ray dependencies")
3233
variant("redis", default=False, description="Build with Redis dependencies")
@@ -49,8 +50,10 @@ class PyDeephyper(PythonPackage):
4950
depends_on("[email protected]:", type=("build", "run"))
5051
depends_on("py-pyyaml", type=("build", "run"))
5152
depends_on("py-tinydb", type=("build", "run"))
52-
depends_on("[email protected]:", type=("build", "run"))
53-
depends_on("[email protected]:", type=("build", "run"))
53+
54+
with when ("+jax"):
55+
depends_on("[email protected]:", type=("build", "run"))
56+
depends_on("[email protected]:", type=("build", "run"))
5457

5558
with when("+nas"):
5659
depends_on("py-tensorflow@2:", type=("build", "run"))

0 commit comments

Comments
 (0)