summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2019-06-05refactor: make Package.name consistent with other class attributesTodd Gamblin2-11/+18
- The 'name' attribute for packages was being set in DirectiveMeta, which wasn't consistent with other class properties (like fullname, etc.) - Move it to be a class property of `PackageMeta`, and add the corresponding property method wrapper on `PackageBase`
2019-06-05refactor: make PackageBase.possible_dependencies() a class method.Todd Gamblin1-4/+5
2019-06-05add C standard flags to compiler classes (#11618)Justin S7-0/+90
* add c99_flag, c11_flag to compiler class * implement c99_flag, c11_flag for gcc * implement c99_flag, c11_flag for arm * implement c99_flag for cce * implement c99_flag, c11_flag for clang * implement c99_flag, c11_flag for intel * implement c99_flag, c11_flag for xl
2019-06-04Add Google Benchmark version 1.5.0 (#11626)Andrew Gaspar1-1/+3
2019-06-04Revert "Git: patch to make git relocatable with buildcache. (#11596)" (#11625)Patrick Gartung2-58/+0
This reverts commit 30ec13f37584ad2934ecdf5a4e86d93d35b3a76c.
2019-06-04modules: set permissions based on package configuration (#11337)Greg Becker5-52/+99
Previously, module files were not set with the same permissions as the package installation. For world-readable packages, this would not cause a problem. For group readable packages, it does: ``` packages: mypackage: permissions: group: mygroup read: group write: group ``` In this case, the modulefile is unreadable by members of the group other than the one who installed it. Add logic to the modulefile writers to set the permissions based on the configuration in `packages.yaml`
2019-06-04Buildcache relocate.py error fix (#11616)Patrick Gartung3-5/+5
* Add a trailing / if file --mime does not return a mimetype with a / in it * Flake8
2019-06-04hotspot: new package at 6.0 (#11610)Justin S1-0/+21
2019-06-03mesa: Revert updated meson build and restore autotools build (#11595)Chuck Atkins4-130/+68
Due to the large number of issues this migration has caused, this rolls back to the older autotools build. However, it still keeps the updates wrt variants and virtual packages.
2019-05-31Git: patch to make git relocatable with buildcache. (#11596)Patrick Gartung2-0/+58
* Apply patch to git to make it search for config files from its current location instead of the locations hard coded at install. * Add provenance info for patch * Pass needed flags to make * Environment variables need because of relocation
2019-05-31Build cache: relocate path to spack/bin/sbang in text files. (#11592)Patrick Gartung3-13/+35
* Build cache: relocate path to spack/bin/sbang in text files. * Found in testing. * update packaging test * Make sbang replacement including #!/bin/bash. Add an additional spack prefix replacement to fix stage directory references. * flake8 * Use buildinfo.get() so old buildcaches without buildinfo['spackprefix'] can be read.
2019-05-31Package/tau/tau 2.28.1 update (#11591)sameershende2-2/+14
* Updating the TAU package with 2.28 and public repo * Cleaning up TAU package and fixing binutils to install extras The extras variant will install the extra ELF headers needed by the TAU package. The TAU package has been cleaned up and extended. * Adding some comments to the changes in binutils * Adding correct python support, finding include and lib paths. * Added PDT 3.25.1. * Added TAU v2.28.1 with libdwarf and libelf. * When +libdwarf is activated, +libelf is not automatically activated. It checks separately for libelf.
2019-05-30alan: new package at 2.1.1 (#11593)Justin S1-0/+19
2019-05-30Adds the aml memory management library. (#11590)Valentin Reis1-0/+21
AML is a collection of building blocks for explicit memory management on complex architectures. https://xgitlab.cels.anl.gov/argo/aml https://argo-aml.readthedocs.io/en/latest/
2019-05-30r-randomglm: new package at 1.02-1 (#11589)Justin S1-0/+21
2019-05-30Revbayes update (#11559)Nick Booher1-3/+6
* revbayes: new version * revbayes: pep8
2019-05-30mathematica: new package at 12.0.0 (#11509)Justin S1-0/+39
* mathematica: new package at 12.0.0 * mathematica: add missing os import * mathematica: fix url format
2019-05-29precice: add version 1.5.0 (#11577)Frédéric Simonis1-0/+1
2019-05-29Xrootd: set PYTHON_EXECUTABLE with +python variant (#11581)Patrick Gartung1-0/+5
* Xrootd: set PYTHON_EXECUTABLE with +python variant When building with python3 PYTHON_EXECUTABLE needs to be set for deprecated FindPythonInterp to work as expected. * Add comment * Flake8 * More flake8 * Update package.py * typo
2019-05-29ROOT: set PYTHON_EXECUTABLE (#11583)Patrick Gartung1-2/+2
Per @adamjstewart use spec['python'].command.path
2019-05-29py-flye: new package at 2.4.2 (#11584)Justin S1-0/+18
* py-flye: new package at 2.4.2 * py-flye: better python version constraint
2019-05-29ROSE: add version 0.9.10.0, update to Autotools, add variants (#9484)Justin Too2-52/+248
* Also add versions 0.9.9.104, 0.9.9.52, 0.9.9.0, and 'develop' * Replace version 0.9.7 with 0.9.7.0 * Update Rose to be an Autotools package * Update boost dependency to 1.60.0 or later (previously 1.47.0) * Add EDG binary identifiers for ROSE versions installing from archives (rather than git) * Add variants for mvapich2 backend, c++11, debug symbols, optimization, and ROSE-based projects (codethorn, autopar, and polyopt) * Remove patch add_spack_compiler_recognition
2019-05-29New versions and bugfixes for the ACTS package (#11578)Hadrien G1-3/+11
* Improve C++ standard computation in ACTS package * Use a more clever strategy for aligning ACTS cxxstd with ROOT cxxstd * Add new ACTS releases * ACTS is not compatible with the new Boost CMake build system yet * Explain why Boost 1.70 does not work currently
2019-05-29Add LSF dependency for OpenMPI (#11532)Dustin Wheeler2-0/+26
* Add LSF package, which cannot be installed by Spack and must be system-installed. The package install will fail if no external LSF is registered in packages.yaml (LSF may not be installed in a well-known location and the external entry helps Spack locate it for dependents). * Add LSF dependency to OpenMPI when schedulers=lsf is chosen
2019-05-29Add newer Google Benchmark version (#11580)Patrick Gartung1-0/+1
2019-05-29ROOT: Set PYTHON_EXECUTABLE with +python variant (#11579)Patrick Gartung1-0/+5
* ROOT: Set PYTHON_EXECUTABLE with +python variant After cmake v3.12 FindPythonInterp used by llvm subsystem is deprecated. Setting -DPYTHON_EXECUTABLE=path_to_python fixes this error: 1 error found in build log: 118 -- Doxygen disabled. 119 -- Go bindings disabled. 120 -- LLVM host triple: x86_64-unknown-linux-gnu 121 -- LLVM default target triple: x86_64-unknown-linux-gnu 122 -- Building with -fPIC 123 -- Found PythonInterp: /usr/bin/python2.7 >> 124 CMake Error at interpreter/llvm/src/CMakeLists.txt:613 (if): 125 if given arguments: 126 127 "VERSION_LESS" "2.7" 128 129 Unknown arguments specified 130 * Flake8 * Update var/spack/repos/builtin/packages/root/package.py Co-Authored-By: Javier Cervantes <javiercvilla@gmail.com>
2019-05-29vtkm: fix the directory cmake looks for the source code (#11576)Kenneth Moreland1-2/+1
Previously, the vtkm package was adding a "../" option to the cmake command line. I suppose this was supposed to be pointing to the source code, but did not. Rather, Spack correctly adds the source directory as the first argument to cmake. However, because ../ was added, it used that as the source directory instead. Simply remove this argument to make CMake work correctly.
2019-05-28Catch: 2.8.0 (#11570)Axel Huebl1-0/+1
Add the latest Catch2 release.
2019-05-28GnuTLS by default depends on Guile, added a guile variant. Updated GnuTLS to ↵mathsen1-0/+8
3.6.8 (#11571)
2019-05-28petsc: add version 3.11.2 (#11572)Satish Balay1-0/+1
2019-05-28dealii: add 9.1.1 (#11573)Denis Davydov1-0/+1
2019-05-28Add support for new unittest-cpp package (#11575)Daryl W. Grunau1-0/+21
* bump eospac version * Revert "bump eospac version" This reverts commit 835b1f822d8c083f6ab9eb17222c00409e8eb3da. * Add support for new package: unittest-cpp
2019-05-28Cap the maximum number of build jobs (#11373)Massimiliano Culpo6-20/+55
* config:build_jobs now controls the number of parallel jobs to spawn during builds, but cannot ever exceed the number of cores on the machine. * The default is set to 16 or the number of available cores, whatever is lowest. * Updated docs to reflect the changes done to limit parallel builds
2019-05-27commands: completion for new --update and --header options (#11566)Todd Gamblin1-2/+2
2019-05-27docs: set gettext_uuid to False to reduce churn (#11567)Todd Gamblin2-1/+2
- `gettext_uuid=True` makes every commit update every .pot file in spack/localized-docs, and speeds up the internationalized doc build slightly. - Optimize for less repository churn, and use `python-levenshtein` to accelerate the build instead.
2019-05-27mirror create: non-zero return code (#8585)Axel Huebl1-0/+2
`mirror create` should return a non-zero return code if errors occured.
2019-05-26r-geomorph: new version (#11556)Levi Baber1-1/+2
2019-05-26Add a new version for gnutls. (#11546)健美猞猁1-0/+2
* Update URL and add a new version. * Fix flake8 issues. * Remove newly-added duplicate url_for_version.
2019-05-26py-markdown: new version (#11548)Levi Baber1-1/+5
2019-05-26Add new versions for intel-mkl-dnn. (#11549)健美猞猁1-1/+4
* Add new versions for intel-mkl-dnn. * Remove the last trailing line. * Update url and set 0.19 as preferred.
2019-05-26r-emmli: new package (#11557)Levi Baber1-0/+18
2019-05-26Update GnuPG and associated packages (#11564)Olaf Mersmann4-1/+6
* libassuan: Update to v2.5.3 * gnupg: Update to v2.2.15 * libgpg-error: Update to v1.36 * libgcrypt: Update to v1.8.4
2019-05-26New Package: sl (#11565)Axel Huebl1-0/+25
Add the sl program.
2019-05-26link_tree: add option to merge link trees with relative targetsTodd Gamblin2-40/+90
- previous version of link trees would only do absolute symlinks - this version can do relative links using merge(relative=True)
2019-05-26docs: make docs build relocatable for localized buildsTodd Gamblin21-50/+59
- make all Spack paths relative to a `_spack_root` symlink, so that we can easily relocate the docs build *outside* lib/spack/docs - set some useful defaults for gettext translation variables in conf.py - update `relativeinclude` and other references to the spack root in the RST files to use _spack_root
2019-05-26docs: remove legacy import for Sphinx 1.7Todd Gamblin1-6/+1
2019-05-26docs: match ReadTheDocs; use -W (warnings as errors) with SphinxTodd Gamblin1-1/+1
2019-05-26commands: add --update option to `spack list`Todd Gamblin5-96/+171
- Add a `--update FILE` option to `spack list` - Output is written to the file only if any package is newer than the file - Simplify the code in docs/conf.py using this new option
2019-05-26commands: Add --header and --update options to `spack commands`Todd Gamblin4-54/+143
The Spack documentation currently hard-codes some functionality in `conf.py`, which makes the doc build less "pluggable" for things like localized doc builds. In particular, we unconditionally generate an index of commands and a package list as part of the docs, but those should really only be done if things are not up to date. This commit does the following: - Add `--header` option to `spack commands` so that it can do the work of prepending text to its output. - Add `--update FILE` option to `spack commands` that makes it generate a new command index *only* if FILE is out of date w.r.t. commands in the Spack source. - Simplify code in `conf.py` to use these options and only update the command index when needed.
2019-05-26docs: Use HDF5 as the example package for `spack graph`Todd Gamblin2-13/+17