summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2021-10-29 09:28:19 +0200
committerGitHub <noreply@github.com>2021-10-29 09:28:19 +0200
commitf610b506cdad8b8717bcecc3d9138136a26fa6b8 (patch)
tree8438fd5996ad6c4eda64d5c712e824f1959efe66
parent5a7496eb8207f407698cf821eb901b1460da0258 (diff)
downloadspack-f610b506cdad8b8717bcecc3d9138136a26fa6b8.tar.gz
spack-f610b506cdad8b8717bcecc3d9138136a26fa6b8.tar.bz2
spack-f610b506cdad8b8717bcecc3d9138136a26fa6b8.tar.xz
spack-f610b506cdad8b8717bcecc3d9138136a26fa6b8.zip
elfio: add minimum version requirements to cmake (#27033)
-rw-r--r--var/spack/repos/builtin/packages/elfio/package.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/elfio/package.py b/var/spack/repos/builtin/packages/elfio/package.py
index 72a937552a..84b45378a5 100644
--- a/var/spack/repos/builtin/packages/elfio/package.py
+++ b/var/spack/repos/builtin/packages/elfio/package.py
@@ -21,7 +21,9 @@ class Elfio(CMakePackage):
version('3.8', sha256='9553ce2b8d8aa2fb43f0e9be9bcbd10cd52f40b385110ea54173889c982f9ac4')
version('3.7', sha256='0af2452214c32639f8dbe520b31e03802be184581ab5ad65e99ed745274dbd5d')
- depends_on('cmake@3.10:', type='build')
+ # note, 3.10 is required on master it seems
+ depends_on('cmake@3.12:', when='@3.8:', type='build')
+ depends_on('cmake@3.12.4:', when='@3.7', type='build')
def cmake_args(self):
return [