diff options
author | Axel Huebl <axel.huebl@plasma.ninja> | 2024-02-02 02:02:00 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-02 11:02:00 +0100 |
commit | 3d3d0754963411dac5e525feda0e7a524056ffcb (patch) | |
tree | eb0528c95f255847077931b0f4582e8acc92e409 /var | |
parent | 35630c219d33892cdfc88ff3408fd592dd1a0956 (diff) | |
download | spack-3d3d0754963411dac5e525feda0e7a524056ffcb.tar.gz spack-3d3d0754963411dac5e525feda0e7a524056ffcb.tar.bz2 spack-3d3d0754963411dac5e525feda0e7a524056ffcb.tar.xz spack-3d3d0754963411dac5e525feda0e7a524056ffcb.zip |
WarpX: Disable CCache (#42434)
https://github.com/ECP-WarpX/WarpX/pull/4637
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/warpx/package.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/warpx/package.py b/var/spack/repos/builtin/packages/warpx/package.py index 1b9cc4b727..07068f950a 100644 --- a/var/spack/repos/builtin/packages/warpx/package.py +++ b/var/spack/repos/builtin/packages/warpx/package.py @@ -225,6 +225,10 @@ class Warpx(CMakePackage): if "+sensei" in spec: args.append(self.define("SENSEI_DIR", spec["sensei"].prefix.lib.cmake)) + # WarpX uses CCache by default, interfering with Spack wrappers + ccache_var = "CCACHE_PROGRAM" if spec.satisfies("@:24.01") else "WarpX_CCACHE" + args.append(self.define(ccache_var, False)) + return args @property |