Gregory L. Lee
655ab60beb
use installed property to check package existence
2014-04-14 15:22:03 -07:00
Gregory L. Lee
2aa859e0cf
fixed installed dependents and uninstall error message
2014-04-14 15:22:03 -07:00
Gregory L. Lee
d224718d96
copy config header files to prefix/include
2014-04-14 15:22:02 -07:00
Todd Gamblin
50f74c117e
Fix for SPACK-22: Consistent dependency hashing.
...
The dependency hash wasn't being generated in a consistent way: when
read from .spec file in the install directory, the spec DAG was not
normalized, but when generated on install, it was. Thus the same
spec can have two possible hashes, which is obviously not good.
In this commit:
- Added a dep_hash function to spec, which should be used to get the
dependency hash in all cases. This function normalizes the spec
before generating the hash.
- removed sha1 functions from Spec and DependencyHash. The one on
Spec is not needed and is confusing (it hashed the whole spec, not
just hash the deps) and the one on DependencyHash wasn't guaranteed
to be safe because it can't normalize its parent spec before
hashing.
Hopefully this makes things consistent and easy.
2014-04-14 14:11:58 -07:00
Todd Gamblin
9fa99030eb
Print compiler correctly.
2014-04-14 13:53:40 -07:00
Todd Gamblin
1f9dfeb9b5
Clean up find command, move code to utils.
2014-04-14 12:53:23 -07:00
Todd Gamblin
1e51daab08
Fix broken calls into colify.
2014-04-14 09:42:53 -07:00
Todd Gamblin
79c5dd0952
Fix SPACK-21: stage names are too long
...
Stage names now hash dependencies like install prefixes.
2014-04-13 17:32:22 -07:00
Todd Gamblin
59a3b8dc67
Make SSL verification failures recommend spack -k
...
- Adds optional long message to SpackError
- tty now wraps long message text.
2014-04-13 16:38:15 -07:00
Todd Gamblin
980c1f0e47
Update docs for new package structure.
2014-03-16 17:05:24 -07:00
Todd Gamblin
81dc27bf41
Move packages and mock packages to /var/spack
2014-03-16 17:05:15 -07:00
Todd Gamblin
566dc037e7
Add a test for package names
2014-03-16 15:24:03 -07:00
Todd Gamblin
8b1c760ea3
Modify create and edit to work with new package format.
2014-03-16 15:23:44 -07:00
Todd Gamblin
b8b334e86c
New, more consistent package directory structure.
...
- Packages now live in <package_name>/package.py
- spack.packages refactored to use a PackageDB object instead of
monolithic module.
- Implementation of mock_packages_test.py is greatly simplified
- Added test to exercise install/uninstall code because that wasn't
covered by existing tests and kept breaking.
2014-03-16 14:51:03 -07:00
Todd Gamblin
74ec74d73c
Integrate & clean up packages from LLNL hackathon.
2014-03-15 19:46:41 -07:00
Todd Gamblin
61fc2317d8
Merge branch 'openmpi' into next
2014-03-15 16:00:50 -07:00
Todd Gamblin
f6ea9406c3
Merge branch 'scr' into next
2014-03-15 16:00:20 -07:00
Todd Gamblin
a3beb688e1
Merge branch 'spindle' into next
...
- Fixed conflicting changes to env/cc
- TODO: get rid of small hack in cc for machines with no CC
2014-03-15 13:08:20 -07:00
Todd Gamblin
bb00f2a7a0
Merge branch 'stat' into next
2014-03-15 12:57:41 -07:00
Todd Gamblin
27093790dc
Merge branch 'launchmon' into next
2014-03-15 12:57:34 -07:00
Adam Moody
2588e023ec
patches for openmpi 1.6.5
2014-03-15 09:11:44 -07:00
Adam Moody
b207c6779b
adding scr
2014-03-15 08:58:18 -07:00
Todd Gamblin
9d01df9e8a
Moving utilities to a common LLNL package.
2014-03-14 16:21:15 -07:00
Gregory L. Lee
e38e79417b
cleaned up fixmes in package
2014-03-14 13:19:54 -07:00
Gregory L. Lee
6a185dfb24
launchmon dependency added as comment, need Jira SPACK-21 fixed
2014-03-14 12:56:40 -07:00
Gregory L. Lee
f0f0c99c55
launchmon dependency added as comment, need Jira SPACK-20 fixed
2014-03-14 12:54:28 -07:00
Gregory L. Lee
7b28ee2cd2
Merge branch 'launchmon' of ssh://cz-stash.llnl.gov:7999/scale/spack into stat
2014-03-14 12:05:12 -07:00
Gregory L. Lee
759d33ac5b
fixes for launchmon build
2014-03-14 12:04:27 -07:00
Matthew LeGendre
cfbf348982
Fix spindle launchmon dependency
2014-03-14 12:04:18 -07:00
Matthew LeGendre
6147d52f2d
Merge branch 'version_opt' into spindle
2014-03-14 11:33:37 -07:00
Matthew LeGendre
40cda9fa9c
Fix issue when compiler wrappers ran gcc -V
2014-03-14 11:22:09 -07:00
Gregory L. Lee
839cef0950
fix branch
2014-03-14 11:13:23 -07:00
Gregory L. Lee
9cbf5bc311
added workaround to libtool bug + config using non-spack launchmon
2014-03-14 11:06:23 -07:00
Gregory L. Lee
b104c3efce
initial stat creation
2014-03-14 08:42:08 -07:00
Gregory L. Lee
37d30f4886
removed curl -k hack after rebase with spack -k fix
2014-03-14 08:42:08 -07:00
Gregory L. Lee
f1f5a5a0bf
workarounds for bugs
2014-03-14 08:42:08 -07:00
Adam Moody
940dd829da
adding pmgr_collective
2014-03-14 08:42:08 -07:00
Todd Gamblin
47f0edcbe4
Add str() calls around messages in tty
2014-03-14 08:42:08 -07:00
Matthew LeGendre
db92db1c7a
Use unzip to unpackage .zip files
2014-03-14 08:42:07 -07:00
Todd Gamblin
40dda596a0
Support github URLs
2014-03-14 08:42:07 -07:00
Adam Moody
ab8e79fc2d
change rename to move in mirror creation
2014-03-14 08:42:07 -07:00
Gregory L. Lee
26b86db8a4
added mrnet and graphlib
2014-03-14 08:42:07 -07:00
Todd Gamblin
8d3a1b472c
Added a -k/--insecure option to make curl not check certs.
2014-03-14 08:42:07 -07:00
Gregory L. Lee
e8bf148e08
initial stat creation
2014-03-14 08:40:57 -07:00
Matthew LeGendre
008d7a3162
Change spindle package to use hardcoded LaunchMON path
2014-03-13 17:04:02 -07:00
Matthew LeGendre
6f43da74ed
Merge branch 'master' into spindle
2014-03-13 16:52:21 -07:00
Matthew LeGendre
bb9c5a19cf
Add build fix patch to launchmon
2014-03-13 16:38:34 -07:00
Gregory L. Lee
0668cf1ab1
removed curl -k hack after rebase with spack -k fix
2014-03-13 16:11:51 -07:00
Gregory L. Lee
c2f4943822
Merge branch 'master' of ssh://cz-stash.llnl.gov:7999/scale/spack into stat
2014-03-13 16:10:05 -07:00
Todd Gamblin
7d655b5407
Add force_url option to launchmon for unversioned URL
2014-03-13 16:09:42 -07:00