summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/root/package.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/root/package.py b/var/spack/repos/builtin/packages/root/package.py
index df260e26fd..455e87263f 100644
--- a/var/spack/repos/builtin/packages/root/package.py
+++ b/var/spack/repos/builtin/packages/root/package.py
@@ -167,6 +167,8 @@ class Root(CMakePackage):
description='Enable Vc for adding new types for SIMD programming')
variant('vdt', default=True,
description='Enable set of fast and vectorisable math functions')
+ variant('veccore', default=False,
+ description='Enable support for VecCore SIMD abstraction library')
variant('vmc', default=False,
description='Enable the Virtual Monte Carlo interface')
variant('x', default=True,
@@ -259,6 +261,7 @@ class Root(CMakePackage):
depends_on('unuran', when='+unuran')
depends_on('vc', when='+vc')
depends_on('vdt', when='+vdt')
+ depends_on('veccore', when='+veccore')
depends_on('libxml2', when='+xml')
depends_on('xrootd', when='+xrootd')
depends_on('xrootd@:4.99.99', when='@:6.22.03 +xrootd')
@@ -420,7 +423,7 @@ class Root(CMakePackage):
define_from_variant('unuran'),
define_from_variant('vc'),
define_from_variant('vdt'),
- define('veccore', False),
+ define_from_variant('veccore'),
define_from_variant('vmc'),
define_from_variant('webui', 'root7'), # requires root7
define_from_variant('x11', 'x'),