Skip to content

Commit

Permalink
Merge branch 'develop' into 5.0.x
Browse files Browse the repository at this point in the history
  • Loading branch information
boegel committed May 22, 2024
2 parents f7abe00 + 743662d commit 0d9457f
Show file tree
Hide file tree
Showing 5 changed files with 491 additions and 114 deletions.
5 changes: 3 additions & 2 deletions easybuild/easyblocks/c/clang.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,20 +49,21 @@
from easybuild.tools.filetools import apply_regex_substitutions, change_dir, mkdir, symlink, which
from easybuild.tools.modules import get_software_root
from easybuild.tools.run import run_shell_cmd
from easybuild.tools.systemtools import AARCH32, AARCH64, POWER, X86_64
from easybuild.tools.systemtools import AARCH32, AARCH64, POWER, RISCV64, X86_64
from easybuild.tools.systemtools import get_cpu_architecture, get_os_name, get_os_version, get_shared_lib_ext
from easybuild.tools.environment import setvar

# List of all possible build targets for Clang
CLANG_TARGETS = ["all", "AArch64", "AMDGPU", "ARM", "CppBackend", "Hexagon", "Mips",
"MBlaze", "MSP430", "NVPTX", "PowerPC", "R600", "Sparc",
"MBlaze", "MSP430", "NVPTX", "PowerPC", "R600", "RISCV", "Sparc",
"SystemZ", "X86", "XCore"]

# Mapping of EasyBuild CPU architecture names to list of default LLVM target names
DEFAULT_TARGETS_MAP = {
AARCH32: ['ARM'],
AARCH64: ['AArch64'],
POWER: ['PowerPC'],
RISCV64: ['RISCV'],
X86_64: ['X86'],
}

Expand Down
Loading

0 comments on commit 0d9457f

Please sign in to comment.