summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorValentin Churavy <vchuravy@users.noreply.github.com>2022-06-10 02:48:35 -0700
committerGitHub <noreply@github.com>2022-06-10 11:48:35 +0200
commitcfc46504ac64049df98e5876396a59ccf3deebf9 (patch)
tree738ccd34c33f0da1963bcbcc0d746404ccbc1511 /var
parent163251aa65d7a3a97bebbc55169a7d5626e1b6cf (diff)
downloadspack-cfc46504ac64049df98e5876396a59ccf3deebf9.tar.gz
spack-cfc46504ac64049df98e5876396a59ccf3deebf9.tar.bz2
spack-cfc46504ac64049df98e5876396a59ccf3deebf9.tar.xz
spack-cfc46504ac64049df98e5876396a59ccf3deebf9.zip
enzyme: new version 0.0.32 (#31081)
Add LLDEnzyme to libs list
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/enzyme/package.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/enzyme/package.py b/var/spack/repos/builtin/packages/enzyme/package.py
index 451afd061e..1fabd06c08 100644
--- a/var/spack/repos/builtin/packages/enzyme/package.py
+++ b/var/spack/repos/builtin/packages/enzyme/package.py
@@ -25,6 +25,8 @@ class Enzyme(CMakePackage):
root_cmakelists_dir = 'enzyme'
version('main', branch='main')
+ version('0.0.32',
+ sha256='9d42e42f7d0faf9beed61b2b1d27c82d1b369aeb9629539d5b7eafbe95379292')
version('0.0.15',
sha256='1ec27db0d790c4507b2256d851b256bf7e074eec933040e9e375d6e352a3c159')
version('0.0.14',
@@ -39,7 +41,8 @@ class Enzyme(CMakePackage):
values=('Debug', 'Release', 'RelWithDebInfo', 'MinSizeRel')
)
- depends_on('llvm@7:12')
+ depends_on('llvm@7:12', when='@0.0.13:0.0.15')
+ depends_on('llvm@7:14', when='@0.0.32:') # TODO actual lower bound
depends_on('cmake@3.9:', type='build')
def cmake_args(self):
@@ -56,6 +59,9 @@ class Enzyme(CMakePackage):
'LLVMEnzyme-{0}'.format(ver),
'ClangEnzyme-{0}'.format(ver)
]
+ if self.version >= Version('0.0.32'): # TODO actual lower bound
+ libs.append('LLDEnzyme-{0}'.format(ver))
+
return find_libraries(libs, root=self.prefix, recursive=True)
def setup_dependent_build_environment(self, env, dependent_spec):