summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorBaptiste Jonglez <30461003+jonglezb@users.noreply.github.com>2021-01-20 20:30:39 +0100
committerGitHub <noreply@github.com>2021-01-20 13:30:39 -0600
commit95b974707ba40a44e9599dfc2eb36ae76f32eb97 (patch)
tree892d5339d6d0bbc6c909d0c76470f0b35a6a486b /var
parent43935b491791915f5261bc5e7d38a81befe38cf4 (diff)
downloadspack-95b974707ba40a44e9599dfc2eb36ae76f32eb97.tar.gz
spack-95b974707ba40a44e9599dfc2eb36ae76f32eb97.tar.bz2
spack-95b974707ba40a44e9599dfc2eb36ae76f32eb97.tar.xz
spack-95b974707ba40a44e9599dfc2eb36ae76f32eb97.zip
openjdk: Add ppc64le package (#21173)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/openjdk/package.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/openjdk/package.py b/var/spack/repos/builtin/packages/openjdk/package.py
index 74cf589ef3..5643c5d8de 100644
--- a/var/spack/repos/builtin/packages/openjdk/package.py
+++ b/var/spack/repos/builtin/packages/openjdk/package.py
@@ -16,6 +16,8 @@ import re
# format returned by platform.system() and 'arch' by platform.machine()
_versions = {
+ '11.0.9.1_1': {
+ 'Linux-ppc64le': ('d94b6b46a14ab0974b1c1b89661741126d8cf8a0068b471b8f5fa286a71636b1', 'https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.9.1%2B1/OpenJDK11U-jdk_ppc64le_linux_hotspot_11.0.9.1_1.tar.gz')},
'11.0.8_10': {
'Linux-x86_64': ('6e4cead158037cb7747ca47416474d4f408c9126be5b96f9befd532e0a762b47', 'https://github.com/AdoptOpenJDK/openjdk11-binaries/releases/download/jdk-11.0.8%2B10/OpenJDK11U-jdk_x64_linux_hotspot_11.0.8_10.tar.gz')},
'11.0.0-2020-01-01': {
@@ -53,8 +55,7 @@ class Openjdk(Package):
provides('java@9', when='@9.0:9.99')
provides('java@8', when='@1.8.0:1.8.999')
- conflicts('target=ppc64:', msg='openjdk is only available for x86_64 and aarch64')
- conflicts('target=ppc64le:', msg='openjdk is only available for x86_64 and aarch64')
+ conflicts('target=ppc64:', msg='openjdk is not available for ppc64 (big endian)')
# FIXME:
# 1. `extends('java')` doesn't work, you need to use `extends('openjdk')`