Module utils

Source

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 of spack find --json.
ensure_prefix
Call ensure_installed, then return its installation root prefix from within opt/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.