Skip to content

Commit

Permalink
Merge pull request #3323 from bedroge/java_riscv
Browse files Browse the repository at this point in the history
add RISC-V support to Java easyblock
  • Loading branch information
SebastianAchilles committed May 8, 2024
2 parents cc1a417 + 88b5dc4 commit a0b1cd7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion easybuild/easyblocks/j/java.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
from easybuild.tools.config import build_option
from easybuild.tools.filetools import adjust_permissions, change_dir, copy_dir, copy_file, remove_dir, which
from easybuild.tools.run import run_cmd
from easybuild.tools.systemtools import AARCH64, POWER, X86_64, get_cpu_architecture, get_shared_lib_ext
from easybuild.tools.systemtools import AARCH64, POWER, RISCV64, X86_64, get_cpu_architecture, get_shared_lib_ext
from easybuild.tools.utilities import nub


Expand All @@ -54,6 +54,8 @@ def __init__(self, *args, **kwargs):
jdkarch = 'aarch64'
elif myarch == POWER:
jdkarch = 'ppc64le'
elif myarch == RISCV64:
jdkarch = 'riscv64'
elif myarch == X86_64:
jdkarch = 'x64'
else:
Expand Down

0 comments on commit a0b1cd7

Please sign in to comment.