Apply CMake sccache helper to oneapi-math
This commit is contained in:
parent
c1916d3fb8
commit
3cdc6bf978
2 changed files with 4 additions and 0 deletions
|
|
@ -592,6 +592,9 @@ inline sycl::event submit_wait_on_events(sycl::queue q, const std::vector<sycl::
|
|||
oneapi-math-sycl-blas = modify prev.oneapi-math-sycl-blas (
|
||||
old: mkCmakeSccacheAttrs old
|
||||
);
|
||||
oneapi-math = modify prev.oneapi-math (
|
||||
old: mkCmakeSccacheAttrs old
|
||||
);
|
||||
oneapi-dpl =
|
||||
let
|
||||
version = "2022.11.1";
|
||||
|
|
|
|||
1
todo.md
1
todo.md
|
|
@ -32,6 +32,7 @@
|
|||
- The probe bypass must inspect `@responseFile` arguments as well, because the cc-wrapper often hides `CMakeFiles/CompilerId` paths inside response files before the inner `wrapped-sccache` sees them.
|
||||
- For CMake packages, the practical fallback is to export `SCCACHE_WRAPPED_COMPILER_PASSTHROUGH=1` for the whole `configurePhase` and unset it in `postConfigure`; caching matters in `buildPhase`, not in compiler-ID probes.
|
||||
- Apply the shared CMake helper to stalled subpackages too, not just top-level wrappers. `oneapi-math-sycl-blas` is one such case.
|
||||
- The same helper may also be needed on the outer package if the subpackage is fixed but the wrapper package then stalls at its own CMake configure.
|
||||
- Build the patched `sccache` package.
|
||||
- Run a minimal hello-world derivation with the new `sccacheStdenv` and confirm repeated compiles produce cache hits.
|
||||
- If that works, switch current consumers to the ccache-style path and remove obsolete wrapper-patching logic.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue