summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/exago/package.py
diff options
context:
space:
mode:
authorCameron Rutherford <robert.rutherford@pnnl.gov>2022-08-03 17:21:58 -0400
committerGitHub <noreply@github.com>2022-08-03 15:21:58 -0600
commit3a62f3aeae198053b58d088b801a00c9495f6587 (patch)
treebdba1b785973d71503e1b8461c4246aa41a6da23 /var/spack/repos/builtin/packages/exago/package.py
parent43be9a1ac1b22b1cd8af00fc6fbe7cf115d1bc45 (diff)
downloadspack-3a62f3aeae198053b58d088b801a00c9495f6587.tar.gz
spack-3a62f3aeae198053b58d088b801a00c9495f6587.tar.bz2
spack-3a62f3aeae198053b58d088b801a00c9495f6587.tar.xz
spack-3a62f3aeae198053b58d088b801a00c9495f6587.zip
ExaGO: disable Python with rocm+ipopt. HiOp: fix umpire+raja costraints. RAJA: fix option naming for 0.14.0 (#31880)
Diffstat (limited to 'var/spack/repos/builtin/packages/exago/package.py')
-rw-r--r--var/spack/repos/builtin/packages/exago/package.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/exago/package.py b/var/spack/repos/builtin/packages/exago/package.py
index 37db1a8ae6..b85f72e9d8 100644
--- a/var/spack/repos/builtin/packages/exago/package.py
+++ b/var/spack/repos/builtin/packages/exago/package.py
@@ -36,6 +36,9 @@ class Exago(CMakePackage, CudaPackage, ROCmPackage):
variant("raja", default=False, description="Enable/Disable RAJA")
variant("python", default=True, description="Enable/Disable Python bindings")
conflicts("+python", when="@:1.3.0", msg="Python bindings require ExaGO 1.4")
+ conflicts(
+ "+python", when="+ipopt+rocm", msg="Python bindings require -fPIC with Ipopt for rocm."
+ )
# Solver options
variant("hiop", default=False, description="Enable/Disable HiOp")
@@ -72,7 +75,7 @@ class Exago(CMakePackage, CudaPackage, ROCmPackage):
depends_on("petsc@3.16.0:3.16", when="@1.3.0:")
depends_on("petsc~mpi", when="~mpi")
- depends_on("py-pytest", type=("build", "run"), when="@1.4.1:")
+ depends_on("py-pytest", type=("build", "run"), when="@1.4.1:+python")
for arch in CudaPackage.cuda_arch_values:
cuda_dep = "+cuda cuda_arch={0}".format(arch)