summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2015-05-18YAML config files for compilers and mirrorsMatthew LeGendre8-529/+382
2015-05-12SPACK-41: More tests to ensure that constrain() reports changes.Todd Gamblin2-3/+65
2015-05-12SPACK-41: bugfix for nonconvergent normalize()Todd Gamblin2-5/+7
- constrain() wasn't reporting changes properly.
2015-05-12Add debug handler to print a stacktrace on Ctrl-C in debug mode.Todd Gamblin1-0/+52
2015-05-12Fix SPACK-41: Optional deps work with complex condition chains.Todd Gamblin2-53/+98
2015-05-12Work on SPACK-41: Optional dependencies work for simple conditions.Todd Gamblin8-159/+302
- Can depend conditionally based on variant, compiler, arch, deps, etc - normalize() is not iterative yet: no chaining depends_ons - really need a SAT solver, but iterative will at least handle simple cases. - Added "strict" option to Spec.satisfies() - strict checks that ALL of other's constraints are met (not just the ones self shares) - Consider splitting these out into two methods: could_satisfy() and satisfies() - didn't do this yet as it would require changing code that uses satisfies() - Changed semantics of __contains__ to use strict satisfaction (SPACK-56) - Added tests for optional dependencies. - The constrain() method on Specs, compilers, versions, etc. now returns whether the spec changed as a result of the call.
2015-05-10Merge branch 'features/yaml-spec' into features/optional-depsTodd Gamblin32-197/+6198
2015-05-10Merge remote-tracking branch 'origin/features/variants' into ↵Todd Gamblin15-304/+505
features/optional-deps
2015-05-10Remove debug print in link_treeTodd Gamblin1-1/+0
2015-05-10Better hash output in find.Todd Gamblin2-16/+32
2015-05-10Fix bug in directory layout hidden files()Todd Gamblin2-2/+5
2015-05-10Doc tweak.Todd Gamblin2-3/+7
- add LLNL release number to new RTD theme.
2015-05-10Fix SPACK-67: 'spack help stage' was broken.Todd Gamblin1-2/+0
- remove spurious mutually exclusive group from subparser.
2015-05-10tests for variant concretizationTodd Gamblin2-12/+44
2015-05-10SPACK-56: fix Variant concretization.Todd Gamblin5-23/+107
- Variant concretization is tricky: - During concretization, a spec without variants (e.g., mpich) means "don't care". So, Spec('mpich').satisfies('mpich+debug') is true because it *could* still be built that way. - After concretization, a spec without a particular variant means "don't know", as that wasn't part of the spec, so the opposite relationship is true. Assume 'spec' is already installed: spec.satisfies('mpich+debug') this is false beacuse the `debug` variant didn't exist when spec was built, so we can't satisfy the explicit request for +debug.
2015-05-10Fix SPACK-40: Finish adding variant directive.Todd Gamblin3-14/+53
- Variants are now declarable in packages using the variant() directive. - Variants are checked - you can't just ask for a random variant, it has to be declared. - conditional logic (@when, if, '+debug' in spec, etc.) still required in package to implement variant.
2015-05-10Small updates to directives.Todd Gamblin2-11/+18
2015-05-10Modularize directives. Now each directive specifies its storage.Todd Gamblin3-108/+143
2015-05-10relations are now "directives", and code is cleaned up.Todd Gamblin5-82/+82
2015-05-10Remove TODOs for full DAG information.Todd Gamblin4-25/+3
- specs on disk now include full DAG info - no need for normalize() kludges() anymore.
2015-05-10extensions file now in YAML formatTodd Gamblin3-38/+69
2015-05-09YamlDirectoryLayout now working.Todd Gamblin6-134/+114
2015-05-09restore some disabled git tests.Todd Gamblin1-3/+3
2015-05-09Updated Sphinx RTD documentation theme supports 4 levelsTodd Gamblin28-110/+299
2015-05-09Fix 'ç' in François's name.Todd Gamblin1-1/+1
2015-05-07Basic support for IBM XL compilersFrançois Bissey3-5/+102
2015-05-07Merge branch 'features/diy' into developTodd Gamblin5-22/+162
2015-05-05Bugfixes for yaml specs.Todd Gamblin3-3/+18
2015-05-05Add test for YAML specs.Todd Gamblin2-1/+67
2015-05-05Make YAML specs more human readable.Todd Gamblin2-41/+58
2015-04-29Specs to/from YAML are working.Todd Gamblin2-2/+102
2015-04-28Add YAML to Spack.Todd Gamblin18-0/+5796
2015-04-14Fix for GitHub #30 and SPACK-70.Todd Gamblin1-7/+42
2015-04-14documentation updatesTodd Gamblin3-47/+57
2015-04-08Complete diy command.Todd Gamblin1-4/+40
2015-04-08Add a DIY stage class.Todd Gamblin1-0/+33
2015-04-08Factor edit_package function out of edit command.Todd Gamblin1-19/+24
2015-04-08Start of DIY command.Todd Gamblin3-3/+69
2015-04-07Allow spack install -j to throttle make jobs.Todd Gamblin3-16/+39
2015-03-27Merge pull request #23 from mplegendre/rpath_cleanupTodd Gamblin2-1/+5
Only convert -L<path> to -Wl,-rpath,<path> in compiler scripts if <path>...
2015-03-27Only convert -L<path> to -Wl,-rpath,<path> in compiler scripts if <path> ↵Matthew LeGendre2-1/+5
points into the spack install area This specifically fixes problems with building gcc, as build and system directories were turning in in gcc library rpaths.
2015-03-24Add some options to spec command.Todd Gamblin1-3/+10
2015-03-15Add google analytics to docs.Todd Gamblin1-0/+11
2015-03-12SPACK-18: simpler build error messagesTodd Gamblin1-8/+24
Suppress python stack trace on build error UNLESS in debug mode (spack -d). Now spack shows errors with a single red arrow, and it's easier to find the actual build output.
2015-03-12Remove superfluous env scripts (avoid specifically named ones).Todd Gamblin4-4/+0
2015-03-12Add install_tree, force_symlink helper functions.Todd Gamblin3-103/+125
2015-02-25Minor doc tweak.Todd Gamblin1-2/+3
2015-02-24Spell check docsTodd Gamblin5-48/+48
2015-02-24SPACK-62: fix for site docs.Todd Gamblin1-1/+51
2015-02-24SPACK-59: Documentation updates, bugfix in fetching.Todd Gamblin14-224/+585