diff options
-rw-r--r-- | var/spack/repos/builtin/packages/claw/package.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/var/spack/repos/builtin/packages/claw/package.py b/var/spack/repos/builtin/packages/claw/package.py index 3cdae9f699..18ea7f69b8 100644 --- a/var/spack/repos/builtin/packages/claw/package.py +++ b/var/spack/repos/builtin/packages/claw/package.py @@ -15,6 +15,7 @@ class Claw(CMakePackage): git = 'https://github.com/claw-project/claw-compiler.git' maintainers = ['clementval'] + version('2.0', commit='53e705b8bfce40a5c5636e8194a7622e337cf4f5', submodules=True) version('1.2.3', commit='eaf5e5fb39150090e51bec1763170ce5c5355198', submodules=True) version('1.2.2', commit='fc27a267eef9f412dd6353dc0b358a05b3fb3e16', submodules=True) version('1.2.1', commit='939989ab52edb5c292476e729608725654d0a59a', submodules=True) @@ -22,7 +23,8 @@ class Claw(CMakePackage): version('1.1.0', commit='16b165a443b11b025a77cad830b1280b8c9bcf01', submodules=True) depends_on('cmake@3.0:', type='build') - depends_on('java@7:') + depends_on('java@8:', when="@2.0:") + depends_on('java@7:', when="@1.1.0:1.2.3") depends_on('ant@1.9:') depends_on('libxml2') depends_on('bison') |