build vs Spack
build
build.pypa.ioSpack
spack.ioSide by side
| Figure | build | Spack |
|---|---|---|
| Price from | — | Free |
| Free plan | — | Yes |
| Free trial | — | — |
| Open source | — | — |
| Windows | Yes | Yes |
| macOS | Yes | Yes |
| Linux | Yes | Yes |
| API | Yes | — |
| Self-hosted | — | Yes |
| Plans published | 0 | 1 |
| Spec score · Python Package Managers | 7.8 (#11) | 8.1 (#8) |
| Integrations | The CI/CD guide gives examples for GitHub Actions, GitLab CI, CircleCI, Travis CI, Azure Pipelines, Jenkins, Docker, and tox. | Spack's services page lists GitLab, CDash, Grafana, Prometheus, and Metabase. |
| Purpose | build is a Python packaging frontend that reads pyproject.toml and invokes build backends to create distribution packages. | Spack is a package manager that makes installing scientific software easy on supercomputers, Linux, macOS, and Windows. |
| Security | The installation guide says attestations are available for releases after 1.2.1 and documents verification with the gh CLI. | The project repository links to a security policy. |
Plans
In their own words
Spack
Spack is a package manager for installing scientific software on supercomputers, Linux, macOS, and Windows. It is designed for large supercomputing centers that share software across clusters and varied architectures, and is available at free. Users can choose package versions, compiler choices, target architectures, and compile-time options, while controlling direct and transitive dependencies. Spack can build stacks that combine Python or R packages with C, C++, or Fortran libraries. Each distinct package and dependency configuration receives its own prefix, so different builds can coexist without a new installation disrupting an existing one. Software can be installed to a user-selected directory without administrator privileges. Spack primarily builds customized software from source and also supports binary installation through build caches. It supports lockfiles, environment management, and private registries. Package recipes are Python scripts, and the `spack create` command generates starter boilerplate. The project is distributed under either the MIT license or Apache License 2.0, at the user's option.