diff --git a/var/spack/repos/builtin/packages/pika/package.py b/var/spack/repos/builtin/packages/pika/package.py index 4472773b752..0384f4167a1 100644 --- a/var/spack/repos/builtin/packages/pika/package.py +++ b/var/spack/repos/builtin/packages/pika/package.py @@ -84,6 +84,7 @@ class Pika(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') + depends_on('boost+atomic+chrono+thread', when='@:0.3.0+generic_coroutines') _msg_generic_coroutines = 'This platform requires +generic_coroutines' conflicts('~generic_coroutines', when='platform=darwin', msg=_msg_generic_coroutines)