diff options
author | Wouter Deconinck <wdconinc@gmail.com> | 2023-08-22 10:20:19 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-22 11:20:19 -0400 |
commit | 9f1a30d3b563efe3bbc7c7459fac461e0082498d (patch) | |
tree | e5d6fe8a9f3333f8a6a635d97f4ff6e74360ad06 /var | |
parent | 1340995249cd535c8353ab8f2a3c8352777e24c1 (diff) | |
download | spack-9f1a30d3b563efe3bbc7c7459fac461e0082498d.tar.gz spack-9f1a30d3b563efe3bbc7c7459fac461e0082498d.tar.bz2 spack-9f1a30d3b563efe3bbc7c7459fac461e0082498d.tar.xz spack-9f1a30d3b563efe3bbc7c7459fac461e0082498d.zip |
veccore: new variant vc (#39542)
* veccore: new variants umesimd and vc
* veccore: remove variant umesimd again
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/veccore/package.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/veccore/package.py b/var/spack/repos/builtin/packages/veccore/package.py index afcf1cba08..41a8116b34 100644 --- a/var/spack/repos/builtin/packages/veccore/package.py +++ b/var/spack/repos/builtin/packages/veccore/package.py @@ -31,3 +31,11 @@ class Veccore(CMakePackage): version("0.4.1", sha256="59ffe668c061acde89afb33749f4eb8bab35dd5f6e51f632758794c1a745aabf") version("0.4.0", sha256="0a38b958c92647c30b5709d17edaf39d241b92b988f1040c0fbe24932b42927e") version("0.3.2", sha256="d72b03df00f5e94b2d07f78ab3af6d9d956c19e9a1fae07267b48f6fc8d7713f") + + variant("vc", default=False, description="Enable Vc backend") + + depends_on("vc@1.2.0:", when="@0.2.0: +vc") + depends_on("vc@1.3.3:", when="@0.6.0: +vc") + + def cmake_args(self): + return [self.define_from_variant("VC", "vc")] |