Skip to content

Commit

Permalink
openjdk: add v21_35 (spack#40699)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
myan-rarcellino-nnl and wdconinc authored Apr 29, 2024
1 parent 3e6e982 commit 3c57440
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions var/spack/repos/builtin/packages/openjdk/package.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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")
Expand Down

0 comments on commit 3c57440

Please sign in to comment.