A flexible package manager that supports multiple versions, configurations, platforms, and compilers.
Go to file
John Jolly 46a751081d
gcc: Fix error 'size of array is negative' (#16969)
gcc 9.3.0 and glibc 2.31 (found in the base install of Ubuntu 20.04)
cause the gcc package to error during build with the error:

    "size of array 'assertion_failed__####' is negative"

Previous to this fix, the error was resolved for v8.1.0 <= gcc <= v9.2.0
via two patches.

This fix backports those patches for v5.3.0 <= gcc <= v7.4.0

Potentially these patches need to be backported to versions of gcc
before v5.3.0, but other compile issues need to be resolved for earlier
versions of gcc first.

Fixes #16968
2020-06-06 16:14:11 -05:00
.github Fix MacOS tests on develop 2020-05-09 17:41:57 -07:00
bin
etc/spack/defaults hdf: new version, variants and refactoring (#16469) 2020-05-25 19:20:04 -05:00
lib/spack spack dev-build: Do not mark -u builds in database (#16333) 2020-06-05 00:35:16 -07:00
share/spack commands: use a single ThreadPool for spack versions (#16749) 2020-06-05 00:08:32 -07:00
var/spack gcc: Fix error 'size of array is negative' (#16969) 2020-06-06 16:14:11 -05:00
.codecov.yml Add unit test on MacOS using Github Actions (#14220) 2020-05-09 13:35:14 -07:00
.coveragerc
.dockerignore
.flake8
.flake8_packages Spelling fixes (#15805) 2020-04-01 12:02:26 -05:00
.gitattributes
.gitignore Ignore __pycache__ directory (#16836) 2020-06-03 22:09:06 -05:00
.mailmap
.readthedocs.yml
.travis.yml travis: use bionic as default for Linux (#16521) 2020-05-12 13:56:01 -07:00
CHANGELOG.md Merge branch 'releases/v0.14' into develop 2020-04-15 15:27:00 -07:00
COPYRIGHT
LICENSE-APACHE
LICENSE-MIT
NOTICE
pytest.ini
README.md Add unit test on MacOS using Github Actions (#14220) 2020-05-09 13:35:14 -07:00

Spack Spack

Build Status Linux Builds macOS Builds (nightly) codecov Read the Docs Slack

Spack is a multi-platform package manager that builds and installs multiple versions and configurations of software. It works on Linux, macOS, and many supercomputers. Spack is non-destructive: installing a new version of a package does not break existing installations, so many configurations of the same package can coexist.

Spack offers a simple "spec" syntax that allows users to specify versions and configuration options. Package files are written in pure Python, and specs allow package authors to write a single script for many different builds of the same package. With Spack, you can build your software all the ways you want to.

See the Feature Overview for examples and highlights.

To install spack and your first package, make sure you have Python. Then:

$ git clone https://github.com/spack/spack.git
$ cd spack/bin
$ ./spack install zlib

Documentation

Full documentation is available, or run spack help or spack help --all.

Tutorial

We maintain a hands-on tutorial. It covers basic to advanced usage, packaging, developer features, and large HPC deployments. You can do all of the exercises on your own laptop using a Docker container.

Feel free to use these materials to teach users at your organization about Spack.

Community

Spack is an open source project. Questions, discussion, and contributions are welcome. Contributions can be anything from new packages to bugfixes, documentation, or even new core features.

Resources:

Contributing

Contributing to Spack is relatively easy. Just send us a pull request. When you send your request, make develop the destination branch on the Spack repository.

Your PR must pass Spack's unit tests and documentation tests, and must be PEP 8 compliant. We enforce these guidelines with Travis CI. To run these tests locally, and for helpful tips on git, see our Contribution Guide.

Spack uses a rough approximation of the Git Flow branching model. The develop branch contains the latest contributions, and master is always tagged and points to the latest stable release.

Code of Conduct

Please note that Spack has a Code of Conduct. By participating in the Spack community, you agree to abide by its rules.

Authors

Many thanks go to Spack's contributors.

Spack was created by Todd Gamblin, tgamblin@llnl.gov.

Citing Spack

If you are referencing Spack in a publication, please cite the following paper:

License

Spack is distributed under the terms of both the MIT license and the Apache License (Version 2.0). Users may choose either license, at their option.

All new contributions must be made under both the MIT and Apache-2.0 licenses.

See LICENSE-MIT, LICENSE-APACHE, COPYRIGHT, and NOTICE for details.

SPDX-License-Identifier: (Apache-2.0 OR MIT)

LLNL-CODE-647188