diff options
author | Mikael Simberg <mikael.simberg@iki.fi> | 2024-06-26 14:50:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-26 14:50:44 +0200 |
commit | 52b8b3ed8d906bfcc7e942c566074c216c883873 (patch) | |
tree | 9478e408deeafdcf80c3d8405100d86ac5866467 | |
parent | 380030c59abeba7f9ed2740b7ce36355d4df5618 (diff) | |
download | spack-52b8b3ed8d906bfcc7e942c566074c216c883873.tar.gz spack-52b8b3ed8d906bfcc7e942c566074c216c883873.tar.bz2 spack-52b8b3ed8d906bfcc7e942c566074c216c883873.tar.xz spack-52b8b3ed8d906bfcc7e942c566074c216c883873.zip |
stdexec: Don't skip build stage on main since no longer header only (#44892)
-rw-r--r-- | var/spack/repos/builtin/packages/stdexec/package.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/stdexec/package.py b/var/spack/repos/builtin/packages/stdexec/package.py index 2d17bb1626..d18fcb8b08 100644 --- a/var/spack/repos/builtin/packages/stdexec/package.py +++ b/var/spack/repos/builtin/packages/stdexec/package.py @@ -24,5 +24,12 @@ class Stdexec(CMakePackage): conflicts("%gcc@:10") conflicts("%clang@:12") + @when("@:23.03") def build(self, spec, prefix): pass + + def cmake_args(self): + return [ + self.define("STDEXEC_BUILD_TESTS", self.run_tests), + self.define("STDEXEC_BUILD_EXAMPLES", False), + ] |