summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Cessenat <cessenat@gmail.com>2022-08-30 08:02:23 +0200
committerGitHub <noreply@github.com>2022-08-30 08:02:23 +0200
commit7f4799a4a2256d44520545a78b057564d9e305d9 (patch)
tree170a56888a799c92ffefad869121655fb8cf1b41
parenta09d4ffb4e9835f42d56baf92659242f6d21e16f (diff)
downloadspack-7f4799a4a2256d44520545a78b057564d9e305d9.tar.gz
spack-7f4799a4a2256d44520545a78b057564d9e305d9.tar.bz2
spack-7f4799a4a2256d44520545a78b057564d9e305d9.tar.xz
spack-7f4799a4a2256d44520545a78b057564d9e305d9.zip
visit: actually set the dev env for plugins again (#32427)
-rw-r--r--var/spack/repos/builtin/packages/visit/package.py5
1 files changed, 4 insertions, 1 deletions
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 @@ class Visit(CMakePackage):
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))