Commit graph

1115 commits

Author SHA1 Message Date
Todd Gamblin
f02af701e5 Merge pull request #113 from scalability-llnl/features/gflags
add gflags package
2015-09-23 00:29:50 -07:00
Todd Gamblin
5f826a0ab7 Merge pull request #114 from scalability-llnl/features/snappy
Features/snappy
2015-09-23 00:27:27 -07:00
Todd Gamblin
ba83dd56a1 Merge pull request #115 from scalability-llnl/features/lmdb
add lmdb package
2015-09-23 00:21:22 -07:00
Adam Moody
84823ed828 add lmdb package 2015-09-22 12:17:01 -07:00
Adam Moody
3ade141829 add leveldb package 2015-09-22 11:59:09 -07:00
Adam Moody
30acc6f2f0 add snappy package 2015-09-21 16:45:59 -07:00
Adam Moody
22ba02b22b add gflags package 2015-09-21 16:40:23 -07:00
Adam Moody
b5d7cd55ce add glog package 2015-09-21 16:30:11 -07:00
Adam Moody
e4e22ed17e add protobuf package 2015-09-21 16:19:50 -07:00
Todd Gamblin
d0e22b2240 Add ref counting to database. This does not handle removal properly yet. 2015-09-18 11:40:05 -07:00
Todd Gamblin
fb73979345 Allow custom timeout for database locking. 2015-09-17 16:09:59 -07:00
Todd Gamblin
e17ad6a684 Simplify lock context managers. 2015-09-17 01:05:19 -07:00
Todd Gamblin
ccf311c9c6 Several changes to DB implementation.
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-17 00:16:12 -07:00
Gregory Becker
cd23d2eaa2 Added spack fsck and re-read from glob if the database file does not exist. Allows older versions to smoothly upgrade to the database. 2015-09-15 14:20:19 -07:00
Justin Too
99ca0f3153 (Package) Add Doxygen (v1.8.10) 2015-09-11 20:29:18 +00:00
Rasmus Wriedt Larsen
b06117f77a Add fish (shell) package 2015-09-03 14:19:27 -07:00
Gregory Becker
9c8e46dc22 Added conservative locking to the spack commands that access the database at _index 2015-09-03 09:21:19 -07:00
Adam Moody
ac088bae6a update boost 2015-09-01 16:02:14 -07:00
Gregory Becker
c3246ee8ba Removed incorrect stage removal code from cleanup() in do_install() 2015-08-31 09:46:55 -07:00
Gregory Becker
f406fcb843 Fixed several issues from code review
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-31 09:38:38 -07:00
Todd Gamblin
c5c9ada7b0 Fix for GitHub #95
develop: compiler clang@unknown created for /usr/bin/clang-format
https://github.com/scalability-llnl/spack/issues/95
2015-08-27 02:04:58 -07:00
Todd Gamblin
6af49d41fd Add elfutils. 2015-08-27 00:10:53 -07:00
Todd Gamblin
13fd742610 Merge branch 'features/pidx' into develop 2015-08-26 23:48:52 -07:00
Todd Gamblin
babbc5bb45 Minor fix-ups for PIDX 2015-08-26 23:48:36 -07:00
Todd Gamblin
10bc981d0b Merge pull request #28 in SCALE/spack from bugfix/scipy to develop
# By Gregory L. Lee
# Via Gregory L. Lee
* commit '2c3e7a6f87ef5f8b5ba154b5a8b7da7a119f4a67':
  added graphviz dependency and dysect variant to STAT
  added graphviz and dependencies
  use filter_file instead of patch
  added lapack and blas deps, fixed gfortran compiler dependency
2015-08-26 22:12:14 -07:00
Gregory Becker
9345e78779 Fixed inaccurate comment in spec.py 2015-08-25 16:31:09 -07:00
Gregory Becker
ce8df65d7b Eliminated unnecessary differences in pull request 2015-08-25 16:28:55 -07:00
Gregory Becker
e32c59f805 Fixed file locking. Fix is slightly ugly (lock integer added) but it gets the job done
It avoids having to spin simply on the OSError.
2015-08-25 15:32:45 -07:00
Gregory Becker
4a2bd1753a Added dependency indices to database, ensuring correctly reconstructed specs from database
Began work on file locking, currently commented out.
2015-08-25 15:11:18 -07:00
Gregory L. Lee
2c3e7a6f87 added graphviz dependency and dysect variant to STAT 2015-08-25 11:48:12 -07:00
Gregory L. Lee
1c9c5a385d added graphviz and dependencies 2015-08-25 11:38:39 -07:00
Gregory L. Lee
689dbb8fb6 use filter_file instead of patch 2015-08-24 08:51:41 -07:00
Gregory Becker
fb1874165b Eliminated all calls that relied on finding all packages in the opt directory
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 17:00:39 -07:00
Gregory Becker
55f68bb2b0 Added hashes to the database 2015-08-21 13:04:27 -07:00
Gregory Becker
1da56e5290 Added a database of installed packages.
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-21 11:32:12 -07:00
Peer-Timo Bremer
40b21d7cbe Initial version of PIDX package 2015-08-17 15:38:12 -07:00
Gregory L. Lee
bd1cd83d71 added lapack and blas deps, fixed gfortran compiler dependency 2015-08-17 11:54:14 -07:00
Gregory L. Lee
92ea86dc36 moved lapack package to netlib-lapack 2015-08-14 16:30:35 -07:00
Gregory L. Lee
ec47ab16ce updated blas and lapack packages 2015-08-14 16:27:51 -07:00
Todd Gamblin
c8f65c1530 Fix 2.6 incompatibility 2015-08-13 00:21:02 -07:00
Todd Gamblin
a2b5b61e7f Add .mailmap file 2015-08-13 00:18:19 -07:00
Todd Gamblin
17c2a0d6f3 Merge pull request #92 from trws/flux-build
pre-alpha flux build and requisite dependencies
2015-08-13 00:02:49 -07:00
Todd Gamblin
58f848fa29 Merge pull request #94 from alfredo-gimenez/dev-pandas
Fixed py-pandas package
2015-08-13 00:00:35 -07:00
Todd Gamblin
6f75f5bd6a Merge pull request #88 from trws/git_depth_attempt
adding a fallback on failure with git --depth
2015-08-12 23:59:13 -07:00
Todd Gamblin
f34b04e555 Merge pull request #87 from alfredo-gimenez/develop
Added gui and cscope features to Vim package
2015-08-12 23:58:27 -07:00
Alfredo Gimenez
d6bf9c9887 Cscope vim variant depends on cscope 2015-08-07 07:58:04 -07:00
Alfredo Gimenez
d017c5080a Fixed py-pandas package 2015-08-07 00:03:14 -07:00
Alfredo Gimenez
067ecb90b9 Added cscope (dependency for vim+cscope) 2015-08-06 09:28:28 -07:00
Todd Gamblin
1792115b4d Use absolute paths to spack compiler wrappers in CC/CXX/F77/FC 2015-08-04 09:57:06 -07:00
Tom Scogland
7182671f8f pre-alpha flux build and requisite dependencies
NOTE: the ncurses package now installs *BOTH* versions, wide and non-wide
character for compatibility with packages that require either one.  It may be
desirable for this to be an option in the future.
2015-08-03 11:59:52 -07:00