A flexible package manager that supports multiple versions, configurations, platforms, and compilers.
Go to file
Massimiliano Culpo d848559f70 Reworking of lapack_shared_libs and similar properties (#1682)
* Turned <provider>_libs into an iterable

Modifications :
- added class LibraryList + unit tests
- added convenience functions `find_libraries` and `dedupe`
- modifed non Intel blas/lapack providers
- modified packages using blas_shared_libs and similar functions

* atlas : added pthread variant

* intel packages : added lapack_libs and blas_libs

* find_library_path : removed unused function

* PR review : fixed last issues

* LibraryList : added test on __add__ return type

* LibraryList : added __radd__ fixed unit tests

fix : failing unit tests due to missing `self`

* cp2k and dependecies : fixed blas-lapack related statements in package.py
2016-09-21 12:27:59 -07:00
bin Keep dashes in command names, translate to underscores 2016-08-30 15:37:23 -05:00
etc/spack/defaults Add "default" configuration scope. 2016-07-19 17:10:17 -07:00
lib/spack Reworking of lapack_shared_libs and similar properties (#1682) 2016-09-21 12:27:59 -07:00
share/spack Add missing dependency for run-doc-tests (#1691) 2016-09-08 09:02:38 -07:00
var/spack Reworking of lapack_shared_libs and similar properties (#1682) 2016-09-21 12:27:59 -07:00
.coveragerc Move args to .coveragerc 2016-05-10 00:51:08 -07:00
.flake8 Some flake8 settings weren't documented 2016-08-30 15:20:03 -05:00
.gitignore lmod : added support for the creation of hierarchical lua module files (#1723) 2016-09-20 02:26:25 -07:00
.mailmap Update mailmap 2016-02-03 11:47:48 -07:00
.travis.yml Install graphviz before build. 2016-08-30 20:17:12 -07:00
LICENSE Correct LLNL LGPL license template for clarity. 2016-05-11 21:22:25 -07:00
README.md Fixed broken link in README (#1733) 2016-09-06 14:52:44 -07:00

image

Build Status Coverage Status

Spack is a package management tool designed to support multiple versions and configurations of software on a wide variety of platforms and environments. It was designed for large supercomputing centers, where many users and application teams share common installations of software on clusters with exotic architectures, using libraries that do not have a standard ABI. Spack is non-destructive: installing a new version does not break existing installations, so many configurations can coexist on the same system.

Most importantly, Spack is simple. It offers a simple spec syntax so that users can specify versions and configuration options concisely. Spack is also simple for package authors: package files are written in pure Python, and specs allow package authors to write a single build script for many different builds of the same package.

See the Feature Overview for examples and highlights.

To install spack and install your first package:

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

Documentation

Full documentation for Spack is the first place to look.

See also:

Get Involved!

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

Mailing list

If you are interested in contributing to spack, the first step is to join the mailing list. We're using a Google Group for this, and you can join it here:

Contributions

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.

Before you send a PR, your code should pass the following checks:

  • Your contribution will need to pass the spack test command. Run this before submitting your PR.

  • Also run the share/spack/qa/run-flake8-tests script to check for PEP8 compliance. To encourage contributions and readability by a broad audience, Spack uses the PEP8 coding standard with a few exceptions.

We enforce these guidelines with Travis CI.

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.

Authors

Many thanks go to Spack's contributors.

Spack was originally written by Todd Gamblin, tgamblin@llnl.gov.

Citing Spack

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

Release

Spack is released under an LGPL license. For more details see the LICENSE file.

LLNL-CODE-647188