summaryrefslogtreecommitdiff
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2015-10-05Fix failure in spack.test.config.ConfigTest from incorrect compiler config ↵Matthew LeGendre1-2/+6
merging
2015-10-05Allow spack to build against external non-spack-installed packages.Matthew LeGendre8-41/+371
2015-10-05Fix type error with YAML config when merging lists from different configs.Matthew LeGendre1-17/+16
2015-10-05Update Spack mirror command to match docsMatthew LeGendre2-9/+8
2015-10-05Update docs for YAML configuration files and preferred concretizationMatthew LeGendre4-104/+91
2015-10-05Bug fixes from testing spack preferred packagesMatthew LeGendre1-4/+3
2015-10-05Use preferred package rules when concretize'ing specsMatthew LeGendre2-32/+38
2015-10-05Allow specs to be sorted based on preferred packages, versions, compilers, ↵Matthew LeGendre4-4/+222
variants and dependencies.
2015-10-05Allow long names in format string variablesMatthew LeGendre1-8/+63
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