Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-10-27 | Build database working with simple transaction support; all tests passing. | Todd Gamblin | 12 | -230/+645 | |
2015-10-27 | Fix stupid lock bug. | Todd Gamblin | 3 | -41/+53 | |
- Code simplification ignored case where exception was raised. - If LockError was raised, read and write counts were incremented erroneously. - updated lock test. | |||||
2015-10-27 | Lock acquires return True/False depending on whether they got POSIX lock. | Todd Gamblin | 1 | -4/+15 | |
2015-10-24 | Working Lock class, now uses POSIX fcntl locks, extensive unit test. | Todd Gamblin | 3 | -84/+350 | |
- llnl.util.lock now uses fcntl.lockf instead of flock - purported to have more NFS compatibility. - Added an extensive test case for locks. - tests acquiring, releasing, upgrading, timeouts, shared, & exclusive cases. | |||||
2015-10-24 | Add a multiprocess Barrier class to use for testing parallel code. | Todd Gamblin | 1 | -1/+49 | |
2015-09-27 | an ordered database test | Gregory Becker | 2 | -1/+106 | |
2015-09-18 | Add ref counting to database. This does not handle removal properly yet. | Todd Gamblin | 6 | -55/+183 | |
2015-09-17 | Allow custom timeout for database locking. | Todd Gamblin | 1 | -4/+6 | |
2015-09-17 | Simplify lock context managers. | Todd Gamblin | 10 | -43/+49 | |
2015-09-17 | Several changes to DB implementation. | Todd Gamblin | 6 | -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-15 | Added spack fsck and re-read from glob if the database file does not exist. ↵ | Gregory Becker | 2 | -4/+57 | |
Allows older versions to smoothly upgrade to the database. | |||||
2015-09-03 | Added conservative locking to the spack commands that access the database at ↵ | Gregory Becker | 8 | -86/+104 | |
_index | |||||
2015-08-31 | Removed incorrect stage removal code from cleanup() in do_install() | Gregory Becker | 1 | -8/+0 | |
2015-08-31 | Fixed several issues from code review | Gregory Becker | 2 | -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-25 | Fixed inaccurate comment in spec.py | Gregory Becker | 1 | -1/+0 | |
2015-08-25 | Eliminated unnecessary differences in pull request | Gregory Becker | 3 | -3/+1 | |
2015-08-25 | Fixed file locking. Fix is slightly ugly (lock integer added) but it gets ↵ | Gregory Becker | 1 | -18/+31 | |
the job done It avoids having to spin simply on the OSError. | |||||
2015-08-25 | Added dependency indices to database, ensuring correctly reconstructed specs ↵ | Gregory Becker | 2 | -25/+78 | |
from database Began work on file locking, currently commented out. | |||||
2015-08-21 | Eliminated all calls that relied on finding all packages in the opt directory | Gregory Becker | 11 | -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-21 | Added hashes to the database | Gregory Becker | 1 | -12/+19 | |
2015-08-21 | Added a database of installed packages. | Gregory Becker | 4 | -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-12 | Merge pull request #88 from trws/git_depth_attempt | Todd Gamblin | 1 | -3/+12 | |
adding a fallback on failure with git --depth | |||||
2015-08-04 | Use absolute paths to spack compiler wrappers in CC/CXX/F77/FC | Todd Gamblin | 1 | -4/+4 | |
2015-07-27 | adding a fallback on failure with git --depth | Tom Scogland | 1 | -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-24 | Add Python version test to detect {} in version strings. | Todd Gamblin | 2 | -8/+21 | |
- {} is not compatible with Python 2.6 | |||||
2015-07-23 | Fix Python 2.6 compatibility issue. | Todd Gamblin | 2 | -9/+20 | |
2015-07-16 | Fix ProviderIndex.update(), which didn't remove stale providers. | Todd Gamblin | 1 | -1/+10 | |
2015-07-16 | Update concretize to check for more changes and iterate further. | Todd Gamblin | 3 | -29/+65 | |
2015-07-14 | Fix mangled error message. | Todd Gamblin | 1 | -2/+2 | |
2015-07-14 | Fix regression of install -j. | Todd Gamblin | 1 | -0/+4 | |
2015-07-13 | Add test to check packages for Python2.6 compatibility, as well as core. | Todd Gamblin | 1 | -2/+15 | |
2015-07-02 | add env. var. in modules: LIBRARY_PATH and PKG_CONFIG_PATH | Florent Pruvost | 1 | -1/+5 | |
2015-07-02 | Merge branch 'features/toggle-build-output' into develop | Todd Gamblin | 1 | -15/+78 | |
2015-07-02 | Better python template for 'spack create' | Todd Gamblin | 3 | -19/+128 | |
2015-06-20 | Fix bug in uninstall (regression in 0fc3b58) | Todd Gamblin | 2 | -15/+35 | |
2015-06-20 | log_output now allows echo to be toggled wtih 'v' key | Todd Gamblin | 1 | -15/+78 | |
2015-06-13 | Fix for `git pull --tags` when using git 1.7.1 | Todd Gamblin | 2 | -2/+11 | |
- Added `ignore_errors` option to `Executable.__call__` - Can avoid raising errors on *specific* error return values. | |||||
2015-06-13 | Fix for repos with many tags | Tom Scogland | 1 | -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-13 | removing vestigial lines from a previous commit | Tom Scogland | 1 | -4/+0 | |
2015-06-11 | Small ruby enhancement and tmuxinator package | Tom Scogland | 1 | -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-07 | Try a little harder in concretize_version() -- concretize unsafe versions too. | Todd Gamblin | 1 | -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-07 | Add some comments b/c I didn't understand my own test. | Todd Gamblin | 1 | -0/+3 | |
2015-06-07 | SPACK-38: Allow specs to be indexed by virtual dependencies. | Todd Gamblin | 4 | -17/+121 | |
- The following now work differently: spec['mpi'] spec['blas'] This can return a spec for openmpi, mpich, mvapich, etc., EVEN if the spec is already concretized. This means that in a package that `depends_on('mpi')`, you can do `spec['mpi']` to see what it was concretized to. This should simplify MPI and BLAS packages. 'mpi' in spec 'blas' in spec Previously, if the spec had been concretized, these would be `False` because there was not a dependency in the DAG with either of these names. These will now be `True` even if the spec has been concretized. So, e.g., this will print "YES" s = Spec('callpath ^mpich') if 'mpi' in spec: print "YES" - Similarly, this will be True: Spec('mpich').satisfies('mpi') - Because of the way virtual dependencies are currently implemented, the above required some fiddling around with `package.py` so that it would never call `Spec.__contains__` (and result in endless recursion). - This should be fixed by allowing virutal dependnecies to have their own package class. - This would allow a quicker check for vdeps, without a call to `all_packages`. - For the time being, `package.py` shouldn't call `__contains__` | |||||
2015-06-06 | Executables now have a useful __str__ function. | Todd Gamblin | 1 | -0/+5 | |
2015-06-06 | Cleanup and consolidate error handling | Todd Gamblin | 3 | -10/+20 | |
2015-06-06 | Add FileFilter convenience class to llnl.util.filesystem. | Todd Gamblin | 1 | -1/+10 | |
2015-06-06 | Removed autosave files from previous commit. | Saravan Pantham | 2 | -229/+0 | |
2015-06-06 | Fixed BLAS and Lapack installations | Saravan Pantham | 3 | -1/+229 | |
2015-06-01 | Fix #48: Ignore hidden files when deciding how to stage. | Todd Gamblin | 1 | -5/+14 | |
- Expanding archvies like MAGMA 1.6.2 creates extra hidden files that confuse Spack's staging mechanism. - Added a special case to ignore hidden files when checking whether the tarball exploded. | |||||
2015-06-01 | Add -S/--stages option to spack cd/spack location. | Todd Gamblin | 1 | -0/+5 | |
- can now change dir to top-level stage |