summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2015-10-12Adding command testinstall. See "spack testinstall -h" for documentation.Peter Scheibel1-0/+129
Still need to add output formatting (in a commonly parse-able format like Junit or TAP). May want to adjust how the build log is accessed in case of a build failure.
2015-10-12Fix bug in colify color handling.Todd Gamblin1-14/+4
2015-09-27an ordered database testGregory Becker2-1/+106
2015-09-27Remove enabled variants from install prefix.Todd Gamblin1-6/+1
- these make the prefix too long in many cases. - users can figure out which install is which by querying.
2015-09-27Remove special characters (@, %, +, ~, etc) from stage nameTodd Gamblin1-2/+9
2015-09-18Add ref counting to database. This does not handle removal properly yet.Todd Gamblin6-55/+183
2015-09-17Allow custom timeout for database locking.Todd Gamblin1-4/+6
2015-09-17Simplify lock context managers.Todd Gamblin10-43/+49
2015-09-17WIP for Matt's branchTodd Gamblin8-38/+66
2015-09-17Several changes to DB implementation.Todd Gamblin6-140/+221
1. Database stores a file version, so we can add to it in the future. 2. Database indexed by hashes and not numerical indexes. 3. Specs built by database have consistent hashes and it's checked. 4. minor naming and whitespace changes.
2015-09-15Added spack fsck and re-read from glob if the database file does not exist. ↵Gregory Becker2-4/+57
Allows older versions to smoothly upgrade to the database.
2015-09-03Added conservative locking to the spack commands that access the database at ↵Gregory Becker8-86/+104
_index
2015-08-31Removed incorrect stage removal code from cleanup() in do_install()Gregory Becker1-8/+0
2015-08-31Fixed several issues from code reviewGregory Becker2-82/+184
Most importantly wrote the Lock, Read_Lock_Instance, and Write_Lock_Instance classes in lock.py Updated the locking in database.py TODO: Lock on larger areas
2015-08-27Fix for GitHub #95Todd Gamblin1-3/+21
develop: compiler clang@unknown created for /usr/bin/clang-format https://github.com/scalability-llnl/spack/issues/95
2015-08-25Fixed inaccurate comment in spec.pyGregory Becker1-1/+0
2015-08-25Eliminated unnecessary differences in pull requestGregory Becker3-3/+1
2015-08-25Fixed file locking. Fix is slightly ugly (lock integer added) but it gets ↵Gregory Becker1-18/+31
the job done It avoids having to spin simply on the OSError.
2015-08-25Added dependency indices to database, ensuring correctly reconstructed specs ↵Gregory Becker2-25/+78
from database Began work on file locking, currently commented out.
2015-08-24Save progress. import gov.llnl.spack.mpich works.Todd Gamblin12-227/+431
2015-08-21Eliminated all calls that relied on finding all packages in the opt directoryGregory Becker11-95/+121
Replaced them all with references to the database Implemented caching in the database. The database now only re-reads data if the database file exists and was changed since this file last wrote to it. Added the installed_db field to the spack instance Left the call to all_specs from testdirectory_layout.py for now.
2015-08-21Added hashes to the databaseGregory Becker1-12/+19
2015-08-21Added a database of installed packages.Gregory Becker4-3/+175
No methods use the database so far. Also, a bug fix: Previous version did not remove the staging directory on a failed install This led to spack refusing to uninstall dependencies of the failed install Added to cleanup() to blow away the staging directory on failed install.
2015-08-16Save changes to external repo integrationTodd Gamblin6-178/+321
2015-08-16Better `@memoized` decorator.Todd Gamblin1-8/+25
2015-08-16Add more options to `spack edit`Todd Gamblin1-14/+21
2015-08-16Add 'spack packagerepo create' commandMatthew LeGendre2-8/+47
2015-08-16Record package repo origins in .spec filesMatthew LeGendre3-20/+46
2015-08-16Add packagerepos to spack, allowing for creating multiple package repositories.Matthew LeGendre6-48/+342
2015-08-12Merge pull request #88 from trws/git_depth_attemptTodd Gamblin1-3/+12
adding a fallback on failure with git --depth
2015-08-04Use absolute paths to spack compiler wrappers in CC/CXX/F77/FCTodd Gamblin1-4/+4
2015-07-27adding a fallback on failure with git --depthTom Scogland1-3/+12
Certain remote protocols don't support the `--depth` option. Since this can't be checked by URL type or in any sane way locally, this version attempts to clone git repositories with the --depth option, and if that fails attempts the clone again without it.
2015-07-24Add Python version test to detect {} in version strings.Todd Gamblin2-8/+21
- {} is not compatible with Python 2.6
2015-07-23Fix Python 2.6 compatibility issue.Todd Gamblin2-9/+20
2015-07-16Fix ProviderIndex.update(), which didn't remove stale providers.Todd Gamblin1-1/+10
2015-07-16Update concretize to check for more changes and iterate further.Todd Gamblin3-29/+65
2015-07-14Fix mangled error message.Todd Gamblin1-2/+2
2015-07-14Fix regression of install -j.Todd Gamblin1-0/+4
2015-07-13Add test to check packages for Python2.6 compatibility, as well as core.Todd Gamblin1-2/+15
2015-07-02add env. var. in modules: LIBRARY_PATH and PKG_CONFIG_PATHFlorent Pruvost1-1/+5
2015-07-02Merge branch 'features/toggle-build-output' into developTodd Gamblin1-15/+78
2015-07-02Better python template for 'spack create'Todd Gamblin3-19/+128
2015-06-20Fix bug in uninstall (regression in 0fc3b58)Todd Gamblin2-15/+35
2015-06-20log_output now allows echo to be toggled wtih 'v' keyTodd Gamblin1-15/+78
2015-06-13Fix for `git pull --tags` when using git 1.7.1Todd Gamblin2-2/+11
- Added `ignore_errors` option to `Executable.__call__` - Can avoid raising errors on *specific* error return values.
2015-06-13Fix for repos with many tagsTom Scogland1-1/+8
Ensures all tags are ready before checkout, using `--branch` if possible and an extra pull if that is not available. Also adds `--depth 1` to create shallow clones if the git version is sufficient. Fixes #64.
2015-06-13removing vestigial lines from a previous commitTom Scogland1-4/+0
2015-06-11Small ruby enhancement and tmuxinator packageTom Scogland1-0/+7
It is currently less painful to pull the source from github, compile it into a gem, then install the gem, than it is to download a gem and install it. This still lacks an activation mechanism, but `spack use tmuxinator` is functional.
2015-06-07Try a little harder in concretize_version() -- concretize unsafe versions too.Todd Gamblin1-4/+20
- This can result in the user being prompted to download an unsafe version. - Avoids overly strict errors when something *could* be satisfiable but we don't know about hte version.
2015-06-07Add some comments b/c I didn't understand my own test.Todd Gamblin1-0/+3