summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2015-10-15Always run with verbose output (so eliminate it as an option). Also remove otherPeter Scheibel1-22/+1
commented options.
2015-10-15Changing name of file requires changing function name to be invoked as a commandPeter Scheibel1-1/+1
2015-10-15Change name of file to conform to conventions.Peter Scheibel1-0/+0
2015-10-15Edit function names to conform to naming conventions.Peter Scheibel1-7/+7
2015-10-15Only install 1 top-level package with testinstall. Otherwise if multiplePeter Scheibel1-10/+6
packages are specified and a prior one fails, it will prevent any of the others from succeeding (and generating test output) even if they don't share dependencies.
2015-10-15spack: split spack_root from prefixBen Boeckel1-6/+8
A foundation for allowing runtime configuring of the prefix.
2015-10-13Make sure to generate output for dependencies as if they were separate tests:Peter Scheibel1-20/+51
the original intent was to generate output as if each package was a unit test, but I noticed that I was only generating test output for top-level packages.
2015-10-13Add spec YAML format to test output.Peter Scheibel1-8/+11
2015-10-13Add forgotten file from previous commit.Todd Gamblin1-0/+5
2015-10-12Don't create test output for any package that was already installed.Peter Scheibel1-11/+11
2015-10-121. Added Junit XML formatPeter Scheibel1-16/+34
2. Specify output to a file vs. a directory 3. Use [1] and [2] to write an XML file tracking success of package installs in Junit XML format
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-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-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-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