openjdk: add v21_35 (#40699)
* openjdk: add v21+35 * add provides java@21 * Update var/spack/repos/builtin/packages/openjdk/package.py Co-authored-by: Wouter Deconinck <wdconinc@gmail.com> --------- Co-authored-by: Wouter Deconinck <wdconinc@gmail.com>
This commit is contained in:
parent
3e6e9829da
commit
3c57440c10
1 changed files with 7 additions and 0 deletions
|
@ -18,6 +18,12 @@
|
|||
# format returned by platform.system() and 'arch' by platform.machine()
|
||||
|
||||
_versions = {
|
||||
"21.0.0_35": {
|
||||
"Linux-x86_64": (
|
||||
"82f64c53acaa045370d6762ebd7441b74e6fda14b464d54d1ff8ca941ec069e6",
|
||||
"https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21%2B35/OpenJDK21U-jdk_x64_linux_hotspot_21_35.tar.gz",
|
||||
)
|
||||
},
|
||||
"17.0.8.1_1": {
|
||||
"Linux-x86_64": (
|
||||
"c25dfbc334068a48c19c44ce39ad4b8427e309ae1cfa83f23c102e78b8a6dcc0",
|
||||
|
@ -348,6 +354,7 @@ class Openjdk(Package):
|
|||
|
||||
version(ver, sha256=pkg[0], url=pkg[1], preferred=is_preferred)
|
||||
|
||||
provides("java@21", when="@21.0:21")
|
||||
provides("java@17", when="@17.0:17")
|
||||
provides("java@16", when="@16.0:16")
|
||||
provides("java@11", when="@11.0:11")
|
||||
|
|
Loading…
Reference in a new issue