Commit graph

7221 commits

Author SHA1 Message Date
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
Todd Gamblin
360b307f68 Save progress. import gov.llnl.spack.mpich works. 2015-08-24 09:14:16 -07:00
Gregory L. Lee
689dbb8fb6 use filter_file instead of patch 2015-08-24 08:51:41 -07:00
Jim Galarowicz
24c609b6df Updates to the Krell related product packages. 2015-08-22 09:34:44 -05: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
Cyrus Harrison
8821715377 add version-based url map for cmake, provide md5 for cmake 3.3.1 2015-08-19 14:18:02 -07:00
Jim Galarowicz
fe9959d4da Merge remote-tracking branch 'upstream/develop' into develop 2015-08-18 08:05:25 -05: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
Todd Gamblin
a2f2e6a4ff Save changes to external repo integration 2015-08-16 12:54:02 -07:00
Todd Gamblin
92f398a897 Better @memoized decorator. 2015-08-16 12:50:39 -07:00
Todd Gamblin
da98b07624 Add more options to spack edit 2015-08-16 12:50:39 -07:00
Matthew LeGendre
e58ee88a63 Add 'spack packagerepo create' command 2015-08-16 12:50:39 -07:00
Matthew LeGendre
7ea328659f Record package repo origins in .spec files 2015-08-16 12:50:39 -07:00
Matthew LeGendre
c7b8d09c7f Add packagerepos to spack, allowing for creating multiple package repositories. 2015-08-16 12:48:32 -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
Todd Gamblin
7d80983362 Merge pull request #91 from nolta/patch-1
add missing gmp dependency to mpfr package
2015-08-01 14:01:10 -07:00
Mike Nolta
7ebb4fcedc add missing gmp dependency to mpfr package 2015-08-01 16:00:13 -04:00
Tom Scogland
016eef6a16 adding the bear compilation database generator 2015-07-29 14:21:03 -07:00
Tom Scogland
9174c06598 adding a fallback on failure with git --depth
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-27 14:03:04 -07:00
Todd Gamblin
27ca697b43 Add Python version test to detect {} in version strings.
- {} is not compatible with Python 2.6
2015-07-24 14:22:28 -07:00
Todd Gamblin
1e2f421faa Fix Python 2.6 compatibility issue. 2015-07-23 17:01:55 -07:00