WarpX: Disable CCache (#42434)
https://github.com/ECP-WarpX/WarpX/pull/4637
This commit is contained in:
parent
35630c219d
commit
3d3d075496
@ -225,6 +225,10 @@ def cmake_args(self):
|
|||||||
if "+sensei" in spec:
|
if "+sensei" in spec:
|
||||||
args.append(self.define("SENSEI_DIR", spec["sensei"].prefix.lib.cmake))
|
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
|
return args
|
||||||
|
|
||||||
@property
|
@property
|
||||||
|
Loading…
Reference in New Issue
Block a user