Todd Gamblin
c44db0133f
Fix SPACK-41: Optional deps work with complex condition chains.
2015-05-12 11:45:48 -07:00
Todd Gamblin
cd5fa128c5
Work on SPACK-41: Optional dependencies work for simple conditions.
...
- 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-12 09:56:59 -07:00
Todd Gamblin
ef9deeccd1
Merge branch 'features/yaml-spec' into features/optional-deps
2015-05-10 19:28:47 -07:00
Todd Gamblin
09fff39990
Merge remote-tracking branch 'origin/features/variants' into features/optional-deps
2015-05-10 18:59:56 -07:00
Todd Gamblin
13ff1a9bf6
Remove debug print in link_tree
2015-05-10 18:53:09 -07:00
Todd Gamblin
b4a26c496c
Better hash output in find.
2015-05-10 18:48:42 -07:00
Todd Gamblin
43e5465592
Fix bug in directory layout hidden files()
2015-05-10 17:56:27 -07:00
Todd Gamblin
3c49487424
Doc tweak.
...
- add LLNL release number to new RTD theme.
2015-05-10 13:11:03 -07:00
Todd Gamblin
25af6478c5
Fix SPACK-67: 'spack help stage' was broken.
...
- remove spurious mutually exclusive group from subparser.
2015-05-10 12:46:33 -07:00
Todd Gamblin
793b842f99
tests for variant concretization
2015-05-10 12:28:25 -07:00
Todd Gamblin
535c1fac87
SPACK-56: fix Variant concretization.
...
- 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-10 12:25:07 -07:00
Todd Gamblin
3b1898b8e4
Fix SPACK-40: Finish adding variant directive.
...
- 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-10 12:24:03 -07:00
Todd Gamblin
c105a8d42a
Small updates to directives.
2015-05-10 12:24:03 -07:00
Todd Gamblin
1f8ce403dc
Modularize directives. Now each directive specifies its storage.
2015-05-10 12:24:03 -07:00
Todd Gamblin
0944ba120c
relations are now "directives", and code is cleaned up.
2015-05-10 12:24:03 -07:00
Todd Gamblin
5d2ee893c4
Remove TODOs for full DAG information.
...
- specs on disk now include full DAG info
- no need for normalize() kludges() anymore.
2015-05-10 11:45:12 -07:00
Todd Gamblin
29e833dfef
extensions file now in YAML format
2015-05-10 02:56:50 -07:00
Todd Gamblin
2f3b0481de
YamlDirectoryLayout now working.
2015-05-09 16:35:02 -05:00
Todd Gamblin
9412fc8083
restore some disabled git tests.
2015-05-09 16:12:04 -05:00
Todd Gamblin
8e87b2176a
Updated Sphinx RTD documentation theme supports 4 levels
2015-05-09 13:35:05 -05:00
Todd Gamblin
d6a5266976
Fix 'ç' in François's name.
2015-05-09 13:30:09 -05:00
Todd Gamblin
5b32101ef2
Merge branch 'features/xl-support' into develop
2015-05-07 01:54:30 -05:00
François Bissey
3cfbc0520a
Basic support for IBM XL compilers
2015-05-07 01:54:18 -05:00
Todd Gamblin
42c88aa3ca
Merge branch 'features/diy' into develop
2015-05-07 01:53:26 -05:00
Todd Gamblin
1d0975bac6
Bugfixes for yaml specs.
2015-05-05 14:24:46 -07:00
Todd Gamblin
d687962b74
Add test for YAML specs.
2015-05-05 13:18:44 -07:00
Todd Gamblin
53e8e44a8b
Make YAML specs more human readable.
2015-05-05 13:06:41 -07:00
Todd Gamblin
bbc973cc5f
Merge pull request #41 from cyrush/code_chk_pkgs
...
added simple spack package files for uncrustify and cppcheck
2015-05-01 11:07:34 -07:00
Cyrus Harrison
8c4fe6d249
added simple spack package files for uncrustify and cppcheck
2015-04-30 22:42:53 -07:00
Todd Gamblin
278e70e533
Specs to/from YAML are working.
2015-04-29 01:47:09 -07:00
Todd Gamblin
13132c6b97
Add YAML to Spack.
2015-04-28 23:15:13 -07:00
Todd Gamblin
1d6524f299
Merge branch 'develop' of github.com:scalability-llnl/spack into develop
2015-04-14 15:12:11 -07:00
Todd Gamblin
5c04b3c480
Fix for GitHub #30 and SPACK-70.
2015-04-14 15:11:41 -07:00
Todd Gamblin
8b14a46201
documentation updates
2015-04-14 15:11:01 -07:00
Todd Gamblin
c1be1a362b
Update mailing list info to Googele Groups.
2015-04-13 11:02:13 -07:00
Todd Gamblin
97a20cac58
Merge pull request #29 from alfredo-gimenez/develop
...
MemAxes and Mitos updates to remove VTK dependency.
2015-04-09 20:19:05 -07:00
Alfredo Gimenez
0f5b26c9cd
MemAxes and Mitos
2015-04-09 14:46:33 -07:00
Todd Gamblin
314120212d
Complete diy command.
2015-04-08 00:22:46 -07:00
Todd Gamblin
5077a2a343
Add a DIY stage class.
2015-04-08 00:22:34 -07:00
Todd Gamblin
ab40d0b1a4
Factor edit_package function out of edit command.
2015-04-08 00:22:07 -07:00
Todd Gamblin
c4a6d04131
Start of DIY command.
2015-04-08 00:20:53 -07:00
Todd Gamblin
203fd861aa
Allow spack install -j to throttle make jobs.
2015-04-07 22:21:19 -07:00
Todd Gamblin
37a5c3b09f
Version bump for adept-utils
2015-04-01 00:05:26 -07:00
Todd Gamblin
634abdbcea
Merge pull request #26 from mplegendre/binutils
...
Binutils as spack package
2015-03-30 20:39:35 -07:00
Matthew LeGendre
89731d4a7d
Add binutils as a gcc dependency so it doesn't use the system linker/assembler.
2015-03-30 14:23:02 -07:00
Todd Gamblin
2b9dd718ae
Merge pull request #25 from mplegendre/qtfix
...
Fix for QT with gcc 4.9 build error
2015-03-27 17:48:51 -07:00
Matthew LeGendre
50687e08cb
Fix QT with gcc 4.9 build error where QT's -Wl,--no-undefined interfered with gcc's implicit libgcc_s.so library
2015-03-27 17:32:37 -07:00
Todd Gamblin
ad62b93df9
Merge pull request #23 from mplegendre/rpath_cleanup
...
Only convert -L<path> to -Wl,-rpath,<path> in compiler scripts if <path>...
2015-03-27 14:14:49 -07:00
Matthew LeGendre
a4cce9eb69
Only convert -L<path> to -Wl,-rpath,<path> in compiler scripts if <path> 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-27 13:58:57 -07:00
Todd Gamblin
c10773503b
Merge branch 'benjaminwalters-develop' into features/blas
...
Conflicts:
var/spack/packages/lapack/package.py
2015-03-26 00:31:34 -07:00