From f017f586df418ac94cb734b68bb03ec6c1fa9eda Mon Sep 17 00:00:00 2001 From: Chris White Date: Mon, 24 Jul 2023 10:54:18 -0700 Subject: [PATCH] add conflict for +parmetis when ~mpi (#39050) --- var/spack/repos/builtin/packages/conduit/package.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/var/spack/repos/builtin/packages/conduit/package.py b/var/spack/repos/builtin/packages/conduit/package.py index cb6b5aefe1..85b93788d6 100644 --- a/var/spack/repos/builtin/packages/conduit/package.py +++ b/var/spack/repos/builtin/packages/conduit/package.py @@ -184,6 +184,8 @@ class Conduit(CMakePackage): depends_on("py-sphinx-rtd-theme", when="+python+doc", type="build") depends_on("doxygen", when="+doc+doxygen") + conflicts("+parmetis", when="~mpi", msg="Parmetis support requires MPI") + # Tentative patch for fj compiler # Cmake will support fj compiler and this patch will be removed patch("fj_flags.patch", when="%fj")