From 03ae2eb22314bea8f6440f8c6e279232fd30a382 Mon Sep 17 00:00:00 2001 From: yizeyi18 <119801373+yizeyi18@users.noreply.github.com> Date: Wed, 6 Dec 2023 23:55:40 +0800 Subject: dla-future: add a patch (#41409) * using std::int64_t needs include cstdint in gcc-13 Co-authored-by: Mikael Simberg --- var/spack/repos/builtin/packages/dla-future/package.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/var/spack/repos/builtin/packages/dla-future/package.py b/var/spack/repos/builtin/packages/dla-future/package.py index 5e90ac112e..1078b44ddf 100644 --- a/var/spack/repos/builtin/packages/dla-future/package.py +++ b/var/spack/repos/builtin/packages/dla-future/package.py @@ -124,6 +124,12 @@ class DlaFuture(CMakePackage, CudaPackage, ROCmPackage): depends_on("pika cuda_arch={0}".format(val), when="cuda_arch={0}".format(val)) depends_on("umpire cuda_arch={0}".format(val), when="cuda_arch={0}".format(val)) + patch( + "https://github.com/eth-cscs/DLA-Future/pull/1063/commits/efc9c176a7a8c512b3f37d079dec8c25ac1b7389.patch?full_index=1", + sha256="7f382c872d89f22da1ad499e85ffe9881cc7404c8465e42877a210a09382e2ea", + when="@:0.3 %gcc@13:", + ) + def cmake_args(self): spec = self.spec args = [] -- cgit v1.2.3-70-g09d2