summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2014-10-03Callpath build works when a tag is fetched from git.Todd Gamblin3-69/+172
2014-10-03Implement per-version attributes for flexible fetch policies.Todd Gamblin8-87/+273
- Tests pass with URL fetching and new scheme. - Lots of refactoring - Infrastructure is there for arbitrary fetch policies and more attribtues on the version() call. - Mirrors do not currently work properly, and they get in the way of a proper git fetch
2014-10-03Factor out URL fetching into URLFetchStrategyTodd Gamblin5-117/+310
- Added FetchStrategy class to Spack - Isolated pieces that need to be separate from Stage for git/svn/http - Added URLFetchStrategy for curl-based fetching.
2014-09-19Change git URL to https URL in all docs.Todd Gamblin2-2/+2
2014-09-19Fix for bug in create introduced by LLVM merge.Todd Gamblin1-13/+14
2014-09-18Merge branch 'features/llvm' into developTodd Gamblin7-27/+65
- merging parts of LLVM that can be built now. - need to wait for standalone builds for some of the others.
2014-09-18Better C++11 support, remove non-standalone llvm-compiler-rt.Todd Gamblin6-1/+157
- 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-18Support for pkg-config.Todd Gamblin1-1/+9
2014-09-17Add command to show packages added in particular git revisions.Todd Gamblin1-0/+124
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-16Merge branch 'develop' into features/fileutilsTodd Gamblin59-553/+4625
Conflicts: lib/spack/spack/packages.py
2014-09-16Some fixups for Adam's callpath and adept-utils packages.Todd Gamblin3-3/+3
- 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-08-22Add dependency prefixes to CMAKE_PREFIX_PATHDavid Beckingsale1-0/+4
2014-08-22Add spack cd and spack location commands.Todd Gamblin5-31/+138
- Better shell support for cd'ing into directories - Fix some csh weirdness with nested aliases.
2014-08-21Merge branch 'features/postgresql' into developTodd Gamblin3-26/+60
- 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-20Make EnvModule class use spec instead of package, fix using module of ↵Todd Gamblin4-27/+28
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-20Merge branch 'features/python-2.6-compatibility' into developTodd Gamblin43-184/+3372
- 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-18Merge pull request #19 in SCALE/spack from features/modules to developGeorge Todd Gamblin11-173/+491
# 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-17Bugfixes for csh environment modules.Todd Gamblin2-13/+29
2014-08-16Bugfixes, more consolidation of modules code.Todd Gamblin3-21/+49
- specific module classes use __metaclass__ to register themselves. - bugfixes in module writing.
2014-08-16Add csh/tcsh support for modulesTodd Gamblin1-0/+1
- csh scripting is a GIANT pain in the ass - hopefully the thin script layer doesn't get much more complex.
2014-08-16Consolidate most module code into spack.modules and spack.cmd.moduleTodd Gamblin10-282/+283
- 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-11Add options to stage to make it just print out stage dir.Todd Gamblin1-6/+36
2014-08-11Allow packages to add a dotkit() method and write custom parts of dotkits.Todd Gamblin1-5/+27
2014-08-11More robust symbol inclusion for 'from spack import *'Todd Gamblin1-18/+23
- 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-10Test cases pass; Spack supports Python 2.6!Todd Gamblin6-100/+102
2014-08-10cc supports Python 2.6Todd Gamblin2-3/+4
2014-08-10Get rid of Python 2.7 dict.viewkeys() call.Todd Gamblin1-1/+1
2014-08-10Remove dependency on Python2.7 OrderedDict, revise config parserTodd Gamblin2-44/+284
2014-08-10Add Python 2.7 functools.total_ordering to external modules.Todd Gamblin3-1/+33
- removing dependence on 2.7 - added it to pyqver2 ads well
2014-08-10Fix minor warning about Exception.message being deprecated.Todd Gamblin1-1/+2
2014-08-10Change dict comprehensions to dict() constructors.Todd Gamblin4-4/+4
2014-08-10Fix SPACK-27 & remove dependence on check_outputTodd Gamblin1-8/+17
- subprocess.check_output is python 2.7 only - Spack checks for existence of requested prefix, creates it if it does not exist.
2014-08-10Remvoe dependence on v2.7 argparse by including argparse.Todd Gamblin20-19/+2400
2014-08-10Add a test case to ensure that Spack is v2.6 compliant.Todd Gamblin2-1/+98
2014-08-10Add external package with pyqver2 toolTodd Gamblin2-0/+425
2014-08-09Minor tweaks after spec update.Todd Gamblin4-3/+29
- spack find -p works properly (get path from spec, not package) - directory layout and PackageDB normalize things automatically unless they're unknown packages (need to do this for spack find -l) - install test made robust to mock/main package conflicts
2014-08-09More spec improvementsTodd Gamblin5-63/+131
- Spec.copy() does not create superfluous nodes and preserves DAG connections. - Spec.normalize() doesn't create extra dependency nodes or throw out old ones like before. - Added better test cases for above changes. Minor things: - Fixed bug waiting to happen in PackageDB.get() - instances was keyed by name, not by spec, so caching wasn't really working at all. - removed unused PackageDB.compute_dependents function. - Fixed PackageDB.graph_dependencies() so that spack graph works again.
2014-08-08Add postorder traversal to specsTodd Gamblin3-61/+137
- Spec.preorder_traversal() is now Spec.traverse(). - Caller can supply order='pre' or order='post'
2014-08-08Clean up specs, spec comparison, and spec hashing.Todd Gamblin6-64/+312
- Spec comparison is now less strict - compares based on sorted list of dependencies but not their structure - Makes comparison easy when a spec is not normalized. - This makes the dep_hash consistent for specs read in from a directory layout. - Can now reliably read in a spec for which the package has gone away, and still be able to delete its install. - easy switching between git branches - Fixed latent bug in Spec.flat_dependencies() (was including root) - added a test for the directory layout so that this code will get more exercise.
2014-08-04Partial commit of more packages.Todd Gamblin5-27/+33
2014-08-04More descriptive error when package constructor fails.Todd Gamblin1-1/+13
- helps package_sanity test identify which package failed. - encountered while upgrading versions in Adam's packages to the new format.
2014-08-04cannot uninstall dtcmp because depends on dtcmpAdam Moody1-1/+1
2014-08-04Fixed up module supportDavid Beckingsale3-10/+11
2014-08-04Added inital module supportDavid Beckingsale5-0/+271
2014-08-04Merge pull request #20 in SCALE/spack from openss to developGeorge Todd Gamblin1-4/+6
# By Matthew LeGendre (2) and Todd Gamblin (1) # Via Todd Gamblin * commit 'd7a3c7e555bfd93fbf93ec55608d7fc6aa8052f8': Fix up Matt's openss packages. Add sqlite to spack Add libmonitor to spack. Still needs svn support for checkout
2014-08-04find and uninstall work when installed package is no longer in spack.Todd Gamblin4-14/+54
- Make switching between git branches easier. - Make future removal of packages easier.
2014-08-03Fix up Matt's openss packages.Todd Gamblin1-4/+6
2014-07-30Allow per-version URLs instead of one single URL per package.Todd Gamblin11-81/+189
2014-07-09Fix Jeff Keasler's issues and add parmetis package.v0.8Todd Gamblin3-7/+5
2014-07-09Fix for SPACK-35: Fortran not working properlyTodd Gamblin6-2/+7
- Spack needed symlinks in env for fortran compilers. - 'fc' is a bash bulitin, so can't use it for fortran compiler. - switched to 'f90' for this. - mpich 3 builds with fortran now. - enabled shared libs in mpich package