WarpX: Disable CCache (#42434)

https://github.com/ECP-WarpX/WarpX/pull/4637
This commit is contained in:
Axel Huebl
2024-02-02 02:02:00 -08:00
committed by GitHub
parent 35630c219d
commit 3d3d075496

View File

@@ -225,6 +225,10 @@ def cmake_args(self):
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