summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPat Riehecky <3534830+jcpunk@users.noreply.github.com>2021-09-29 09:19:38 -0500
committerGitHub <noreply@github.com>2021-09-29 14:19:38 +0000
commite45979d39af134e080aa82c095e0c7a700f9bedb (patch)
tree364a32a4d060143eb8ff4e5b1960f345a7747e62
parented54d6c9268abeda97062011f29e3f7de807d48b (diff)
downloadspack-e45979d39af134e080aa82c095e0c7a700f9bedb.tar.gz
spack-e45979d39af134e080aa82c095e0c7a700f9bedb.tar.bz2
spack-e45979d39af134e080aa82c095e0c7a700f9bedb.tar.xz
spack-e45979d39af134e080aa82c095e0c7a700f9bedb.zip
Added OpenJDK 16.0.2 (#26322)
-rw-r--r--var/spack/repos/builtin/packages/openjdk/package.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/openjdk/package.py b/var/spack/repos/builtin/packages/openjdk/package.py
index 7f2df9bde3..68c7eb215a 100644
--- a/var/spack/repos/builtin/packages/openjdk/package.py
+++ b/var/spack/repos/builtin/packages/openjdk/package.py
@@ -17,6 +17,10 @@ from spack.util.prefix import Prefix
# format returned by platform.system() and 'arch' by platform.machine()
_versions = {
+ '16.0.2': {
+ 'Linux-x86_64': ('6c714ded7d881ca54970ec949e283f43d673a142fda1de79b646ddd619da9c0c', 'https://download.java.net/java/GA/jdk16.0.2/d4a915d82b4c4fbb9bde534da945d746/7/GPL/openjdk-16.0.2_linux-x64_bin.tar.gz'),
+ 'Linux-aarch64': ('1ffb9c7748334945d9056b3324de3f797d906fce4dad86beea955153aa1e28fe', 'https://download.java.net/java/GA/jdk16.0.2/d4a915d82b4c4fbb9bde534da945d746/7/GPL/openjdk-16.0.2_linux-aarch64_bin.tar.gz'),
+ },
'11.0.12_7': {
'Linux-x86_64': ('8770f600fc3b89bf331213c7aa21f8eedd9ca5d96036d1cd48cb2748a3dbefd2', 'https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.12%2B7/OpenJDK11U-jdk_x64_linux_hotspot_11.0.12_7.tar.gz'),
'Linux-aarch64': ('105bdc12fcd54c551e8e8ac96bc82412467244c32063689c41cee29ceb7452a2', 'https://github.com/adoptium/temurin11-binaries/releases/download/jdk-11.0.12%2B7/OpenJDK11U-jdk_aarch64_linux_hotspot_11.0.12_7.tar.gz'),
@@ -60,6 +64,7 @@ class Openjdk(Package):
if pkg:
version(ver, sha256=pkg[0], url=pkg[1])
+ provides('java@16', when='@16.0:16.99')
provides('java@11', when='@11.0:11.99')
provides('java@10', when='@10.0:10.99')
provides('java@9', when='@9.0:9.99')