From 7f4799a4a2256d44520545a78b057564d9e305d9 Mon Sep 17 00:00:00 2001 From: Olivier Cessenat Date: Tue, 30 Aug 2022 08:02:23 +0200 Subject: [PATCH] visit: actually set the dev env for plugins again (#32427) --- var/spack/repos/builtin/packages/visit/package.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/visit/package.py b/var/spack/repos/builtin/packages/visit/package.py index 8519e1606f..4d706e5393 100644 --- a/var/spack/repos/builtin/packages/visit/package.py +++ b/var/spack/repos/builtin/packages/visit/package.py @@ -81,6 +81,7 @@ class Visit(CMakePackage): variant("vtkm", default=False, description="Enable VTK-m support") variant("conduit", default=True, description="Enable Conduit support") variant("mfem", default=True, description="Enable MFEM support") + variant("plugins", default=True, description="Enable plugin development (xml2cmake)") patch("spack-changes-3.1.patch", when="@3.1.0:3.2.2") patch("spack-changes-3.0.1.patch", when="@3.0.1") @@ -211,9 +212,11 @@ def cmake_args(self): self.define("VISIT_JPEG_DIR", spec["jpeg"].prefix), self.define("VISIT_USE_GLEW", False), self.define("VISIT_CONFIG_SITE", "NONE"), - self.define("VISIT_INSTALL_THIRD_PARTY", False), ] + # Provide the plugin compilation environment so as to extend VisIt + args.append(self.define_from_variant("VISIT_INSTALL_THIRD_PARTY", "plugins")) + if "@3.1: platform=darwin" in spec: args.append(self.define("FIXUP_OSX", False))