Skip to content

Commit 3c57440

Browse files
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 <[email protected]> --------- Co-authored-by: Wouter Deconinck <[email protected]>
1 parent 3e6e982 commit 3c57440

File tree

1 file changed

+7
-0
lines changed
  • var/spack/repos/builtin/packages/openjdk

1 file changed

+7
-0
lines changed

var/spack/repos/builtin/packages/openjdk/package.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,12 @@
1818
# format returned by platform.system() and 'arch' by platform.machine()
1919

2020
_versions = {
21+
"21.0.0_35": {
22+
"Linux-x86_64": (
23+
"82f64c53acaa045370d6762ebd7441b74e6fda14b464d54d1ff8ca941ec069e6",
24+
"https://github.com/adoptium/temurin21-binaries/releases/download/jdk-21%2B35/OpenJDK21U-jdk_x64_linux_hotspot_21_35.tar.gz",
25+
)
26+
},
2127
"17.0.8.1_1": {
2228
"Linux-x86_64": (
2329
"c25dfbc334068a48c19c44ce39ad4b8427e309ae1cfa83f23c102e78b8a6dcc0",
@@ -348,6 +354,7 @@ class Openjdk(Package):
348354

349355
version(ver, sha256=pkg[0], url=pkg[1], preferred=is_preferred)
350356

357+
provides("java@21", when="@21.0:21")
351358
provides("java@17", when="@17.0:17")
352359
provides("java@16", when="@16.0:16")
353360
provides("java@11", when="@11.0:11")

0 commit comments

Comments
 (0)