Skip to content

Commit 7a9782e

Browse files
authored
Merge pull request #3376 from SebastianAchilles/20240630102439_new_pr_boost
add RISC-V support to Boost easyblock
2 parents 357e3ce + c5099ea commit 7a9782e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

easybuild/easyblocks/b/boost.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
from easybuild.tools.filetools import apply_regex_substitutions, read_file, symlink, which, write_file
5454
from easybuild.tools.modules import get_software_root, get_software_version
5555
from easybuild.tools.run import run_cmd
56-
from easybuild.tools.systemtools import AARCH64, POWER, UNKNOWN
56+
from easybuild.tools.systemtools import AARCH64, POWER, RISCV64, UNKNOWN
5757
from easybuild.tools.systemtools import get_cpu_architecture, get_glibc_version, get_shared_lib_ext
5858

5959

@@ -326,6 +326,8 @@ def sanity_check_step(self):
326326
lib_mt_suffix += '-a64'
327327
elif get_cpu_architecture() == POWER:
328328
lib_mt_suffix += '-p64'
329+
elif get_cpu_architecture() == RISCV64:
330+
lib_mt_suffix += '-r64'
329331
else:
330332
lib_mt_suffix += '-x64'
331333

0 commit comments

Comments
 (0)