diff options
author | zschulte <schulte.zach@gmail.com> | 2019-07-22 14:11:45 -0400 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2019-07-22 13:11:45 -0500 |
commit | db7127c56dd03118dff94cb4e86027074c9aa9aa (patch) | |
tree | ee0b93ec9d49aa454c5b86a64c9ea6b634d6d02e | |
parent | 58c84423b1b7433caa1a48460265681c06c38e68 (diff) | |
download | spack-db7127c56dd03118dff94cb4e86027074c9aa9aa.tar.gz spack-db7127c56dd03118dff94cb4e86027074c9aa9aa.tar.bz2 spack-db7127c56dd03118dff94cb4e86027074c9aa9aa.tar.xz spack-db7127c56dd03118dff94cb4e86027074c9aa9aa.zip |
openjdk (#10446)
* openjdk
* Removing preferred from latest and adding a few lines for readability.
* Remove bad whitesapce
* removing formatting changes
* stable url for openjdk 1.8
* remove extra blank line
* actual binary
-rw-r--r-- | var/spack/repos/builtin/packages/openjdk/package.py | 20 |
1 files changed, 18 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/openjdk/package.py b/var/spack/repos/builtin/packages/openjdk/package.py index 82e44e304d..567155db67 100644 --- a/var/spack/repos/builtin/packages/openjdk/package.py +++ b/var/spack/repos/builtin/packages/openjdk/package.py @@ -11,12 +11,28 @@ class Openjdk(Package): """The free and opensource java implementation""" homepage = "https://jdk.java.net" - url = "https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz" - version('11.0.1', sha256='7a6bb980b9c91c478421f865087ad2d69086a0583aeeb9e69204785e8e97dcfd') + version( + "11.0.2", + sha256="99be79935354f5c0df1ad293620ea36d13f48ec3ea870c838f20c504c9668b57", + url="https://download.java.net/java/GA/jdk11/9/GPL/openjdk-11.0.2_linux-x64_bin.tar.gz", + ) + + version( + "11.0.1", + sha256="7a6bb980b9c91c478421f865087ad2d69086a0583aeeb9e69204785e8e97dcfd", + url="https://download.java.net/java/GA/jdk11/13/GPL/openjdk-11.0.1_linux-x64_bin.tar.gz", + ) + + version( + "1.8.0_202-b08", + sha256="533dcd8d9ca15df231a1eb392fa713a66bca85a8e76d9b4ee30975f3823636b7", + url="https://github.com/AdoptOpenJDK/openjdk8-binaries/releases/download/jdk8u202-b08/OpenJDK8U-jdk_x64_linux_openj9_8u202b08_openj9-0.12.0.tar.gz", + ) provides('java') provides('java@11', when='@11.0:11.99') + provides('java@8', when='@1.8.0:1.8.999') conflicts('target=ppc64', msg='openjdk is only available for x86_64') conflicts('target=ppc64le', msg='openjdk is only available for x86_64') |