From 47c85059fbf6762af4da585414a97bfed8c3c0bb Mon Sep 17 00:00:00 2001 From: albestro <9337627+albestro@users.noreply.github.com> Date: Fri, 29 Jan 2021 16:51:28 +0100 Subject: [PATCH] it seems like there was a bug in the version of APEX that we set by default in 1.5.x (#21391) --- var/spack/repos/builtin/packages/hpx/package.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/var/spack/repos/builtin/packages/hpx/package.py b/var/spack/repos/builtin/packages/hpx/package.py index 84109f7190..391371c1de 100644 --- a/var/spack/repos/builtin/packages/hpx/package.py +++ b/var/spack/repos/builtin/packages/hpx/package.py @@ -166,4 +166,8 @@ def cmake_args(self): self.define('OTF2_ROOT', spec['otf2'].prefix), ] + # it seems like there was a bug in the default version of APEX in 1.5.x + if spec.satisfies("@:1.5"): + args += [self.define('HPX_WITH_APEX_TAG', "v2.3.0")] + return args