diff options
author | Rocco Meli <r.meli@bluemail.ch> | 2023-09-21 20:31:17 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-21 20:31:17 +0200 |
commit | aa87c747f9d748548cdc463012dacba44ff43b8d (patch) | |
tree | 8027df8ddef103109f35c23ba1273a5441cf2aff | |
parent | 9210b193983efd8dcf3538c975e216c242177dcb (diff) | |
download | spack-aa87c747f9d748548cdc463012dacba44ff43b8d.tar.gz spack-aa87c747f9d748548cdc463012dacba44ff43b8d.tar.bz2 spack-aa87c747f9d748548cdc463012dacba44ff43b8d.tar.xz spack-aa87c747f9d748548cdc463012dacba44ff43b8d.zip |
Add missing platform in Charm++ (#40051)
Add missing `linux` platform in Charm++ when building for `arm8`.
-rw-r--r-- | var/spack/repos/builtin/packages/charmpp/package.py | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/charmpp/package.py b/var/spack/repos/builtin/packages/charmpp/package.py index 91876fbb13..43ef0d5bbc 100644 --- a/var/spack/repos/builtin/packages/charmpp/package.py +++ b/var/spack/repos/builtin/packages/charmpp/package.py @@ -187,9 +187,7 @@ class Charmpp(Package): ("linux", "ppc", "pami"): "pami-linux-ppc64le", ("linux", "ppc", "verbs"): "verbs-linux-ppc64le", ("linux", "arm", "netlrts"): "netlrts-linux-arm7", - ("linux", "arm", "multicore"): "multicore-arm7", ("linux", "aarch64", "netlrts"): "netlrts-linux-arm8", - ("linux", "aarch64", "multicore"): "multicore-arm8", ("win", "x86_64", "mpi"): "mpi-win-x86_64", ("win", "x86_64", "multicore"): "multicore-win-x86_64", ("win", "x86_64", "netlrts"): "netlrts-win-x86_64", @@ -203,10 +201,22 @@ class Charmpp(Package): versions.update({("linux", "i386", "multicore"): "multicore-linux"}) versions.update({("linux", "i386", "netlrts"): "netlrts-linux"}) versions.update({("linux", "i386", "uth"): "uth-linux"}) + versions.update( + { + ("linux", "arm", "multicore"): "multicore-arm7", + ("linux", "aarch64", "multicore"): "multicore-arm8", + } + ) else: versions.update({("linux", "i386", "mpi"): "mpi-linux-i386"}) versions.update({("linux", "i386", "multicore"): "multicore-linux-i386"}) versions.update({("linux", "i386", "netlrts"): "netlrts-linux-i386"}) + versions.update( + { + ("linux", "arm", "multicore"): "multicore-linux-arm7", + ("linux", "aarch64", "multicore"): "multicore-linux-arm8", + } + ) if (plat, mach, comm) not in versions: raise InstallError( |