Todd Gamblin
87b87199f2
Fix for SPACK-43: compiler finding fails gracefully on unknown error.
2014-10-22 01:08:08 -07:00
Todd Gamblin
8fd4d32408
Use external argparse in spack list, for 2.6 compatibility.
2014-10-10 09:45:48 -07:00
Todd Gamblin
dd2cea4107
Add available versions to generated package list documentation.
2014-10-08 14:08:11 -07:00
Todd Gamblin
36a87f5bf9
Update documentation to add an auto-generated list of packages.
2014-10-08 03:08:40 -07:00
Todd Gamblin
319b37af0e
Add spack edit -c option to edit commands.
2014-10-08 03:08:40 -07:00
Todd Gamblin
ff546358f3
Update docs to use new version format.
2014-10-08 03:08:40 -07:00
Todd Gamblin
1c60b3967d
Add simple fnmatch filtering to spack list.
2014-10-06 14:11:19 -07:00
Todd Gamblin
720ced4c2e
Add test for URL version substitution.
2014-09-30 00:09:11 -07:00
Todd Gamblin
13eca0357f
Bugfix for version substitution.
2014-09-29 23:30:48 -07:00
Todd Gamblin
921a5b5bcc
Make fetch fail on 404.
2014-09-29 23:28:16 -07:00
Todd Gamblin
26495ddce9
Reverse sort output versions in spack checksum
2014-09-29 23:27:40 -07:00
Todd Gamblin
e4613a60cf
Fix for spack cd -i.
2014-09-29 22:43:40 -07:00
Todd Gamblin
a8ed1ec414
Minor argparse improvement.
2014-09-29 20:00:00 -07:00
Todd Gamblin
3bd52678be
MPICH sets MPI compilers to use real compilers and not spack wrappers.
2014-09-27 21:36:42 -07:00
Todd Gamblin
5cc508393a
gfortran version detection brokenon debian.
2014-09-27 16:19:56 -07:00
Todd Gamblin
d7984c7540
Update checksum to print new version syntax.
2014-09-27 15:33:27 -07:00
Todd Gamblin
608191bd8c
Find custom list_urls depending on the archive URL (e.g. github releases)
2014-09-27 15:32:44 -07:00
Todd Gamblin
2de2d4bea7
Modify MPI installs to work without fortran.
2014-09-23 14:59:30 -07:00
Todd Gamblin
7380de8ee3
Change git URL to https URL in all docs.
2014-09-19 09:55:13 -07:00
Todd Gamblin
39acca4b43
Fix for bug in create introduced by LLVM merge.
2014-09-19 09:42:07 -07:00
Todd Gamblin
fa5594e13f
Merge branch 'features/llvm' into develop
...
- merging parts of LLVM that can be built now.
- need to wait for standalone builds for some of the others.
2014-09-18 23:30:32 -07:00
Todd Gamblin
9165a000a3
Better C++11 support, remove non-standalone llvm-compiler-rt.
...
- LLVM non-standalone add-ons are difficult to build outside LLVM.
- May have to wait for future versions of LLVM to build some of these
2014-09-18 23:22:03 -07:00
Todd Gamblin
4a19fa793e
Support for pkg-config.
2014-09-18 01:42:01 -07:00
Todd Gamblin
68274ee657
Add command to show packages added in particular git revisions.
...
spack pkg list [rev] list packages for revision.
spack pkg diff [rev1] [rev2] diff bt/w packages in rev1 and rev2
spack pkg added [rev1] [rev2] pkgs added since rev1
spack pkg removed [rev1] [rev2] pkgs removed since rev2
2014-09-17 15:48:13 -07:00
Todd Gamblin
881fdb66ae
Merge branch 'develop' into features/fileutils
...
Conflicts:
lib/spack/spack/packages.py
2014-09-16 23:53:44 -07:00
Todd Gamblin
a4c8e945c7
Some fixups for Adam's callpath and adept-utils packages.
...
- Make spack packages RPATH *ALL* dependencies (i.e. the whole tree)
- prevents callpath link from finding wrong libelf -- always uses the one dyninst used.
2014-09-16 21:59:46 -07:00
David Beckingsale
42ca6c8bfc
Add dependency prefixes to CMAKE_PREFIX_PATH
2014-08-22 14:45:44 -07:00
Todd Gamblin
d87a652582
Add spack cd and spack location commands.
...
- Better shell support for cd'ing into directories
- Fix some csh weirdness with nested aliases.
2014-08-22 11:00:19 -07:00
Todd Gamblin
eb5efed421
Merge branch 'features/postgresql' into develop
...
- add spack cd command.
- Fix bug in modules hook
Conflicts:
lib/spack/spack/cmd/stage.py
lib/spack/spack/hooks/dotkit.py
share/spack/setup-env.bash
2014-08-21 22:59:39 -07:00
Todd Gamblin
5a9ef130ea
Make EnvModule class use spec instead of package, fix using module of non-present package.
...
- Using the spec doesn't require the package to be there.
- Restore ability to use non-present packages (which was broken)
2014-08-20 11:43:03 -07:00
Todd Gamblin
8cc2298181
Merge branch 'features/python-2.6-compatibility' into develop
...
- Changed 'import argparse' to 'from external import argparse' in conflicts.
Conflicts:
lib/spack/spack/cmd/dotkit.py
lib/spack/spack/cmd/unuse.py
lib/spack/spack/cmd/use.py
2014-08-20 09:30:40 -07:00
George Todd Gamblin
42e27d04c1
Merge pull request #19 in SCALE/spack from features/modules to develop
...
# By Todd Gamblin (4) and David Beckingsale (2)
# Via Todd Gamblin
* commit 'b601fd08caf21b5fc11e6998a5ebd20a04ac57ad':
Bugfixes for csh environment modules.
Bugfixes, more consolidation of modules code.
Add csh/tcsh support for modules
Consolidate most module code into spack.modules and spack.cmd.module
Fixed up module support
Added inital module support
2014-08-18 23:11:02 -07:00
Todd Gamblin
b601fd08ca
Bugfixes for csh environment modules.
2014-08-17 01:41:32 -07:00
Todd Gamblin
22bec329c1
Bugfixes, more consolidation of modules code.
...
- specific module classes use __metaclass__ to register themselves.
- bugfixes in module writing.
2014-08-16 22:22:53 -07:00
Todd Gamblin
776560f8ce
Add csh/tcsh support for modules
...
- csh scripting is a GIANT pain in the ass
- hopefully the thin script layer doesn't get much more complex.
2014-08-16 14:58:15 -07:00
Todd Gamblin
221cf6acb9
Consolidate most module code into spack.modules and spack.cmd.module
...
- One file with all the module classes (spack/modules.py)
- Has an EnvModule superclass that does most of the work and consolidates common code
- Subclasses have specializations for different module systems (TclModule, Dotkit)
- One command (spack module) for all the types of modules to use
- the one command is used by the scripts, only need to maintain in one place
- has some subcommands for different module types, but they're handled mostly generically.
- Consolidate zsh support into a single setup-env.sh script.
2014-08-16 14:53:57 -07:00
Todd Gamblin
5a3803de39
Add options to stage to make it just print out stage dir.
2014-08-11 22:47:23 -07:00
Todd Gamblin
0bba101ff9
Allow packages to add a dotkit() method and write custom parts of dotkits.
2014-08-11 22:47:22 -07:00
Todd Gamblin
113afe860e
More robust symbol inclusion for 'from spack import *'
...
- avoid errors where some symbols aren't exported to packages.
- reduce the number of places each symbol needs to be mentioned in
an __all__ list
2014-08-11 22:47:22 -07:00
Todd Gamblin
48d5281e3a
Test cases pass; Spack supports Python 2.6!
2014-08-10 18:07:20 -07:00
Todd Gamblin
7082b0a59a
cc supports Python 2.6
2014-08-10 18:07:20 -07:00
Todd Gamblin
696e80c62f
Get rid of Python 2.7 dict.viewkeys() call.
2014-08-10 18:05:52 -07:00
Todd Gamblin
d95e7ecfe1
Remove dependency on Python2.7 OrderedDict, revise config parser
2014-08-10 17:56:36 -07:00
Todd Gamblin
d86a638099
Add Python 2.7 functools.total_ordering to external modules.
...
- removing dependence on 2.7
- added it to pyqver2 ads well
2014-08-10 17:54:39 -07:00
Todd Gamblin
ca328a6993
Fix minor warning about Exception.message being deprecated.
2014-08-10 17:52:46 -07:00
Todd Gamblin
a41a19d14d
Change dict comprehensions to dict() constructors.
2014-08-10 16:04:41 -07:00
Todd Gamblin
5a5da817a1
Fix SPACK-27 & remove dependence on check_output
...
- subprocess.check_output is python 2.7 only
- Spack checks for existence of requested prefix, creates it if it does not exist.
2014-08-10 11:52:17 -07:00
Todd Gamblin
7714d08e2e
Remvoe dependence on v2.7 argparse by including argparse.
2014-08-10 11:48:07 -07:00
Todd Gamblin
17895bd6fd
Add a test case to ensure that Spack is v2.6 compliant.
2014-08-10 11:46:14 -07:00
Todd Gamblin
8ab793a3a6
Add external package with pyqver2 tool
2014-08-10 11:45:32 -07:00