summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authorMikael Simberg <mikael.simberg@iki.fi>2023-07-12 13:38:57 +0200
committerGitHub <noreply@github.com>2023-07-12 13:38:57 +0200
commit7f2be62ff2a91becd1bdd832e723d8ae170779d6 (patch)
tree6fb88880a63eefab22629481ebcb2e5f4a0bc58a /var
parentca16066eef2fc8ee053e0e94174f47b3702846da (diff)
downloadspack-7f2be62ff2a91becd1bdd832e723d8ae170779d6.tar.gz
spack-7f2be62ff2a91becd1bdd832e723d8ae170779d6.tar.bz2
spack-7f2be62ff2a91becd1bdd832e723d8ae170779d6.tar.xz
spack-7f2be62ff2a91becd1bdd832e723d8ae170779d6.zip
Add conflict for hpx on ARM (#38812)
HPX requires use of Boost.Context on ARM.
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/hpx/package.py9
1 files changed, 7 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/hpx/package.py b/var/spack/repos/builtin/packages/hpx/package.py
index f28360c2f6..15a0f9961a 100644
--- a/var/spack/repos/builtin/packages/hpx/package.py
+++ b/var/spack/repos/builtin/packages/hpx/package.py
@@ -195,8 +195,13 @@ class Hpx(CMakePackage, CudaPackage, ROCmPackage):
# https://github.com/spack/spack/pull/17654
# https://github.com/STEllAR-GROUP/hpx/issues/4829
depends_on("boost+context", when="+generic_coroutines")
- _msg_generic_coroutines = "This platform requires +generic_coroutines"
- conflicts("~generic_coroutines", when="platform=darwin", msg=_msg_generic_coroutines)
+
+ _msg_generic_coroutines_platform = "This platform requires +generic_coroutines"
+ conflicts("~generic_coroutines", when="platform=darwin", msg=_msg_generic_coroutines_platform)
+
+ _msg_generic_coroutines_target = "This target requires +generic_coroutines"
+ conflicts("~generic_coroutines", when="target=aarch64:", msg=_msg_generic_coroutines_target)
+ conflicts("~generic_coroutines", when="target=arm:", msg=_msg_generic_coroutines_target)
# Patches APEX
patch("git_external.patch", when="@1.3.0 instrumentation=apex")