pub async fn ensure_installed(
spack: SpackInvocation,
spec: CLISpec,
) -> Result<FoundSpec, Error>
Expand description
Call spack install <spec>
and parse the result of spack find --json
.
The installation via spack install
will be cached using spack’s normal
caching mechanisms.