Modules§
- declarative
- High-level API for build scripts that consumes
[package.metadata.spack]
. - metadata
- prefix
- wasm
- Utilities for building code with wasm support via emscripten.
Functions§
- ensure_
installed - Call
spack install <spec>
and parse the result ofspack find --json
. - ensure_
prefix - Call
ensure_installed
, then return its installation root prefix from withinopt/spack/...
. - safe_
create_ dir_ all_ ioerror - Like
fs::create_dir_all
, except handles concurrent calls among multiple threads or processes. Originally lifted from rustc, then from pants.