diff options
author | Dmitri Smirnov <dmixsmi@gmail.com> | 2021-04-27 22:09:16 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-27 21:09:16 -0500 |
commit | b23b126013e0579b7a524dcd442f57f4be32480d (patch) | |
tree | b13f4b8b002d56a291c6b51c4a22e657506bf7bf | |
parent | 985e101507560c52aa060cdb8d5ef838fbe9cea7 (diff) | |
download | spack-b23b126013e0579b7a524dcd442f57f4be32480d.tar.gz spack-b23b126013e0579b7a524dcd442f57f4be32480d.tar.bz2 spack-b23b126013e0579b7a524dcd442f57f4be32480d.tar.xz spack-b23b126013e0579b7a524dcd442f57f4be32480d.zip |
root: Add variant for veccore option (#23237)
-rw-r--r-- | var/spack/repos/builtin/packages/root/package.py | 5 |
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'), |