summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2016-03-21Fix issue 573 where Spack was ignoring user's compiler preference in ↵Matthew LeGendre1-2/+2
concretization
2016-03-18Add docs for InstallError.Todd Gamblin1-0/+14
2016-03-18Make InstallError and ExternalPackageError visiible in packages.Todd Gamblin2-2/+10
2016-03-18Merge pull request #574 from LLNL/features/flattenerTodd Gamblin2-0/+32
Created flatten_dependencies function
2016-03-18changed function name and removed hardcoded libs dirGregory Becker2-5/+4
2016-03-18cleanupGregory Becker1-1/+0
2016-03-18Refactoring flat_installGregory Becker3-24/+33
2016-03-18Merge pull request #576 from adamjstewart/features/tarTodd Gamblin2-5/+4
Add support for .tar files
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-18Add additional suffixes for GCC compilerBen Morgan1-1/+2
2016-03-17Change sanity_check_[file|dir] to sanity_check_is_[file|dir], per #554Todd Gamblin2-23/+83
- Add documentation as well.
2016-03-16Fix grammar in mirrors documentationAdam J. Stewart1-1/+1
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-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-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
2016-03-10Merge branch 'mplegendre-features/external-packages' into developTodd Gamblin15-180/+975
2016-03-10cc : handle spaces in folders?alalazo1-1/+1
2016-03-10cc : converted indents to spacesalalazo1-1/+1
2016-03-10Fixed shell quoting errorMassimiliano Culpo1-1/+1
2016-03-10Merge branch 'develop' of https://github.com/LLNL/spack into fixes/intel_openmpiMassimiliano Culpo72-779/+1250
2016-03-10Add 'provders' back into packages.yaml schemaTodd Gamblin1-2/+11
2016-03-10Merge branch 'mplegendre-features/external-packages' into developTodd Gamblin15-180/+966
2016-03-10Refactored external packages slightly.Todd Gamblin4-84/+158
- Move `Spec.__cmp__` out of spec, into concretize as `cmp_specs`. - `Spec.__cmp__` was never called (except explicitly) due to rich comparison operators from `key_ordering` - Refactor `_find_other_spec` to free function `find_spec`. Add a test for it to make sure it works.
2016-03-10whitespace and formattingTodd Gamblin2-23/+23
2016-03-10Remove vestigial variants in directory name.Todd Gamblin1-5/+1
2016-03-10Minor tweaks to abi code.Todd Gamblin1-18/+18
2016-03-10remove unnecessary importTodd Gamblin1-1/+0
2016-03-10update mirror config documentation.Todd Gamblin1-5/+5
- mirrors.yaml uses Spack's OrderedDict rather than lists.
2016-03-09Fix #525: sbang handles symlinks & directories properly.Todd Gamblin1-11/+32
2016-03-09Add unit test for sbang patching.Todd Gamblin2-6/+100
2016-03-09Merge branch 'features/external-packages' of github.com:mplegendre/spack ↵Matthew LeGendre1-2/+2
into features/external-packages Conflicts: lib/spack/docs/site_configuration.rst
2016-03-09Update documentation for new packages.yaml config format.Matthew LeGendre2-53/+49
2016-03-09Fix problem with pure integer arguments in preferred versions list (e.g, 2 ↵Matthew LeGendre2-5/+6
instead of 2.7.3)
2016-03-09Fixes #524Todd Gamblin3-17/+49
- Had attempted to add more functionality by assigning different meanign None, True, and False values "keep_stage" (where False was "always delete"). - Turns out that's not really worth the complexity. Having the third "always delete" sense is hardly ever useful but makes the code hard to understand.