summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2016-03-18Add support for .tar filesAdam J. Stewart2-5/+4
2016-03-18added error class for error that should never come upGregory Becker1-0/+7
2016-03-18Created flatten_dependencies function that dummy packages can use to create ↵Gregory Becker1-0/+18
sane install environments.
2016-03-18env modifications : added a validation rulealalazo2-3/+33
2016-03-18modules : added formats mappingalalazo1-1/+4
2016-03-18modules : turned category into a property (logic can be extended later)alalazo1-4/+11
2016-03-18modules : fixed bug in `modify_module` argumentsalalazo1-1/+1
2016-03-18PYTHONPATH : python patches methods for its extensionsalalazo5-21/+19
2016-03-18Add additional suffixes for GCC compilerBen Morgan1-1/+2
2016-03-18Merge branch 'develop' of https://github.com/LLNL/spack into ↵alalazo3-17/+99
features/env_objects_flying_around
2016-03-17Import recent changesErik Schnetter1-120/+65
2016-03-17Merge branch 'develop' into correct-ccErik Schnetter84-1183/+2893
# Conflicts: # lib/spack/env/cc
2016-03-17Change sanity_check_[file|dir] to sanity_check_is_[file|dir], per #554Todd Gamblin2-23/+83
- Add documentation as well.
2016-03-17python : implemented possible solutionalalazo1-1/+10
2016-03-17package : added documentationalalazo1-14/+21
2016-03-17environment : added caller informationalalazo2-4/+31
2016-03-17environment : simplified hierarchy according to comments in reviewalalazo5-44/+24
2016-03-17package : split `environment_modifications` into `setup_environment` and ↵alalazo3-8/+10
`setup_dependent_environment`. package : renamed `module_modifications` to `modify_module` for consistency
2016-03-17modules : restored previous logic for path inspectionalalazo1-23/+31
2016-03-16Fix grammar in mirrors documentationAdam J. Stewart1-1/+1
2016-03-16modules : removed dead codealalazo1-139/+66
2016-03-16tclmodules : added hooks to process EnvironmentModifications objectsalalazo1-42/+109
2016-03-16environment : simplified modification of the environmentalalazo5-40/+46
2016-03-16Merge branch 'develop' of https://github.com/LLNL/spack into ↵alalazo12-152/+253
features/env_objects_flying_around
2016-03-15Add sanity check paths to packages; fix #505Todd Gamblin1-2/+24
2016-03-15Merge pull request #549 from LLNL/bugfix/gh538-less-greedy-concretizeMatthew LeGendre6-120/+222
Bugfix/gh538 less greedy concretize
2016-03-15Fix #551: version bug in `spack create`Todd Gamblin1-3/+3
- `spack create` now sets a proper version in generated file, based on the filename, even if it can't find any tarballs for the package.
2016-03-15test : fix for python 2.6alalazo1-1/+1
2016-03-15package : optimized importsalalazo1-22/+15
2016-03-15environment : added test, modified docsalalazo4-43/+79
2016-03-15package : renamed `setup_dependent_environment` to `module_modifications`alalazo2-4/+4
2016-03-15package : added `environment_modifications`alalazo2-3/+8
2016-03-15environment : refactoreded set_build_environment_variablesalalazo2-27/+32
2016-03-15environment : refactoreded set_compiler_environment_variablesalalazo4-18/+47
2016-03-14environment : added machinery to collect modifications to the environment ↵alalazo3-1/+209
and apply them later
2016-03-14Make concretization less greedy: add backtracking for virtuals.Todd Gamblin3-112/+174
- `_expand_virtual_packages` now gets a candidate list and will try all the candidates. - Good news: If the first virtual in the list conflicts with something else in the spec, we'll keep trying until we find a good one. - Bad news: Only looks as far as the next normalize(); can't see conflicts further ahead than that if they're inevitable some other virtual expansion. - Refactor `concretize.py` to keep all the nasty spec graph stitching in `spec.py`. This is more similar to before externals support. - `concretize.py` now just returns a list of candidates sorted by ABI compatibility to `_expand_virtual_packages`, and `spec.py` handles testing the candidates. - Refactor the way external paths are handled in `config.py` and `concretize.py`: - previously, `spec_externals` returned spec/path pairs. Now it returns specs with `external` set. Makes code in `concretize.py` more natural.
2016-03-14Add some tests for packages with multiple virtual dependencies.Todd Gamblin1-1/+28
- Added mock `hypre` package, depends on `lapack` and `blas`. - test cases where some packages provide both `lapack` and `blas`, but others do not.
2016-03-14Add `package_class` method to spec.Todd Gamblin3-5/+18
- Shouldn't call .package from within things like normalize() and concretize() beacuse spec may be inconsistent. - Add `.package_class` property so that we can get at package metadata without constructing a Package with a Spec. - should be faster than `.package` was, anyway. Use where possible.
2016-03-14Optimize __eq__ and __ne__ in key_orderingTodd Gamblin1-2/+2
- use `is` when possible before calling `_cmp_key()`
2016-03-13Fixed typo in typo fix.Elizabeth F1-1/+1
2016-03-13Fixed typo bug. Made error comment more explicitElizabeth F1-2/+2
2016-03-11Merge pull request #536 from adamjstewart/fixes/doc_typosbecker332-7/+7
Documentation typo fixes
2016-03-11Documentation typo fixesAdam J. Stewart2-7/+7
2016-03-11Invert and rename the `nobuild` option in package.yaml configs to `buildable`.Matthew LeGendre4-22/+21
2016-03-11build_environment : fixed minor spelling errors and a few style issuesalalazo1-19/+18
2016-03-10Merge pull request #532 from mplegendre/bugfix/ordering_satisfiesTodd Gamblin1-7/+10
Fix issue with preferred satisfies not being respected
2016-03-10Fix issue with preferred satisfies not being respectedMatthew LeGendre1-7/+10
2016-03-10Merge pull request #531 from mplegendre/bugfix/github-530Todd Gamblin1-1/+1
Fix type error that was causing mis-ordering of compiler versions
2016-03-10Fix type error that was causing mis-ordering of compiler versionsMatthew LeGendre1-1/+1
2016-03-10Indentation change.Todd Gamblin1-11/+11