Commit graph

3476 commits

Author SHA1 Message Date
scheibelp
a65c37f15d Override partial installs by default (#3530)
* Package install remove prior unfinished installs

Depending on how spack is terminated in the middle of building a
package it may leave a partially installed package in the install
prefix. Originally Spack treated the package as being installed if
the prefix was present, in which case the user would have to
manually remove the installation prefix before restarting an
install. This commit adds a more thorough check to ensure that a
package is actually installed. If the installation prefix is present
but Spack determines that the install did not complete, it removes
the installation prefix and starts a new install; if the user has
enabled --keep-prefix, then Spack reverts to its old behavior.

* Added test for partial install handling

* Added test for restoring DB

* Style fixes

* Restoring 2.6 compatibility

* Relocated repair logic to separate function

* If --keep-prefix is set, package installs will continue an install from an existing prefix if one is present

* check metadata consistency when continuing partial install

* Added --force option to make spack reinstall a package (and all dependencies) from scratch

* Updated bash completion; removed '-f' shorthand for '--force' for install command

* dont use multiple write modes for completion file
2017-04-19 21:59:18 -07:00
Adam J. Stewart
9bd6d21322 Add variant to mvapich2 to set size of rank bits (#3886) 2017-04-19 21:31:21 -07:00
Adam J. Stewart
3c0c0f3457 binutils should link to Spack zlib installation (#3914) 2017-04-19 21:29:27 -07:00
Adam J. Stewart
f51af42bc6 Add latest version of HOOMD-blue (#3889) 2017-04-19 21:24:32 -07:00
Adam J. Stewart
f4858cb7a7 Rework Spack's Mercurial support (#3834)
* Add tests to mercurial package

* Add support for --insecure with mercurial fetching

* Install man pages and tab-completion scripts

* Add tests and latest version for all deps

* Flake8 fix

* Use certifi module to find CA certificate

* Flake8 fix

* Unset PYTHONPATH when running hg

* svn_fetch should use to svn-test, not hg-test

* Drop Python 3 support in Mercurial

Python 3 support is a work in progress and isn't currently
recommended:

https://www.mercurial-scm.org/wiki/SupportedPythonVersions

* Test both secure and insecure hg fetching

* Test both secure and insecure git and svn fetching
2017-04-19 18:59:04 -07:00
Jimmy Tang
53763f7698 Sox (#3908)
* Initial add of flac

* Initial add of id3lib

* Initial add of the opus codec

* Initial add of sox audio processing tools

* Cleanup spec files to be inline with current standard

* Fix pep8 compliance

* Remove un-needed configuration
2017-04-19 16:21:13 -05:00
George Hartzell
a3dff31b07 Add info for sqlite@3.18.0 (#3913) 2017-04-19 16:15:21 -05:00
Mark Olesen
22a966d010 add lines missed in rebase (adios +bzip2) (#3907) 2017-04-19 09:36:46 -05:00
Milton Woods
9b6b91b0b9 ncl: capture more dependencies (#3902)
* ncl: add depends_on statements for bison, flex and libiconv

* ncl: depends on flex for building and linking

* ncl: links with -ll, so requires flex with variant '+lex'

* ncl: depends on szip; external hdf5 may not provide it
2017-04-19 06:55:22 -05:00
Milton Woods
b00a12565c pango: depends on libxft when +X, disable libxft support when ~X (#3899) 2017-04-19 06:54:06 -05:00
George Hartzell
13fef18244 Ensure sbin is prepended to PATH in modulefiles (#3843) 2017-04-19 06:51:04 -05:00
Denis Davydov
eaefaaba5b espresso: add 6.1.0 (#3881)
* espresso: fix missing dependency on elpa, add 6.1.0

* override default libs of elpa to get shared always
2017-04-19 12:34:42 +02:00
Milton Woods
13911f1b46 gdbm: GNU dbm package for manipulating hashed databases (#3895) 2017-04-19 09:32:00 +02:00
George Hartzell
a0b19d50c5 Disable parallel builds for vim (#3893)
* Disable parallel builds

The install step creates a bunch of links to the vim binary, e.g.
`view`.  When run with -j greater than 1 there are silent failures.

Running w/out parallelism seems to fix it.

* Only constrain the install phase to be -j 1

Thanks @adamjstewart!
2017-04-18 20:46:09 -05:00
Javier
687f5e78ae Adding new python package: py-simplejson (#3883)
* Adding new python package: py-simplejson

* Adding setuptools dependency

* Fixing typo
2017-04-18 12:02:55 -05:00
Christoph Junghans
2a3fc6c404 charm: set sane default (#3865)
see https://github.com/LLNL/spack/pull/3852#pullrequestreview-32996651
for details
2017-04-18 12:02:41 -05:00
Denis Davydov
ce714b5641 ocotpus and arpack-ng: fix arpack bug and add libs to arpack-ng (#3875)
* ocotpus and arpack-ng: fix arpack bug and add libs to arpack-ng

also rename the variant to be consistent with other packages

* fix a bug

* flake8
2017-04-18 11:50:10 -05:00
George Hartzell
afbe81b455 Add version info for git-lfs v2.0.2 (#3885) 2017-04-18 11:48:53 -05:00
Kelly (KT) Thompson
fad4ce21cc Provide version 3.8.0 of CMake. (#3882) 2017-04-18 10:59:59 -05:00
Javier
7ed99a4c86 Adding new package: sas (#3877) 2017-04-18 07:07:07 -05:00
Denis Davydov
5558bec14e ape: constrain libxc version (#3876) 2017-04-18 07:03:48 -05:00
Mark Olesen
c65d0775cf ADIOS - add bzip2 transport, python patch not applicable to adios 1.9.0 (#3874) 2017-04-18 07:00:39 -05:00
sknigh
d17b5eb2b9 Added expat dependency to apr-util (#3871) 2017-04-18 06:57:49 -05:00
健美猫
4e95525280 Add patched openfst-1.4.1 and kaldi@c024e8 required by CNTK. (#3806) 2017-04-18 06:56:18 -05:00
Denis Davydov
fc938962fa octave: add 4.2.1 (#3872)
Also switch to arpack-ng, which is maintained and has bugfixes,
whereas the original arpack code is abandoned.
2017-04-18 06:55:11 -05:00
Denis Davydov
89f531c18a gmsh: add 3.0.1 (#3873) 2017-04-18 11:30:17 +02:00
Adam J. Stewart
6d7b386199 Add a py-fiscalyear package (#3864)
* Add a py-fiscalyear package

* Declare supported Python versions
2017-04-17 16:46:52 -05:00
Adam J. Stewart
ebf30d95cd Add latest numpy release (#3869) 2017-04-17 15:45:52 -05:00
Denis Davydov
0ed18de836 opneblas: fix compilation with clang (#3862)
* opneblas: fix compilation with clang

* indentation
2017-04-17 09:16:18 -05:00
Michael Kuhn
3331c042af Fix udunits2 (#3809) 2017-04-17 09:15:02 -05:00
Adam J. Stewart
cc747d6b6f Remove redundant cmake dependencies (#3860) 2017-04-16 12:23:26 -05:00
Christoph Junghans
675a67e2ca random123: put uniform.hpp in right subfolder (#3858) 2017-04-16 08:47:46 -05:00
Christoph Junghans
a3378ccd3d charm: add support for shared linking (#3859) 2017-04-16 08:47:00 -05:00
Christoph Junghans
fdc8f71a5c trilinos: allow to compile exodus (#3857) 2017-04-15 21:57:44 -05:00
Christoph Junghans
1d514f48bc random123: install uniform.hpp as well (#3856) 2017-04-15 21:57:19 -05:00
Erik Schnetter
62fb1ad990 hpx5: Add patch to select Spack compiler on Cray (#3798) 2017-04-14 22:38:22 -05:00
Christoph Junghans
caad110757 New package: flecsi (#3780)
* New package: flecsi

* make fetch independent of #3779
2017-04-14 17:56:36 -05:00
healther
bd6a90742c Add package gccxml (#3836)
* Add package gccxml

* Fix spec undefinedwq

* fix versions

* fix patch when statement

* fix flake8...
2017-04-14 17:54:19 -05:00
Christoph Junghans
7d655f77ee New package: boost-mpl-cartesian_product (#3841) 2017-04-14 17:53:35 -05:00
Christoph Junghans
9e693336ad New package: tut (#3844) 2017-04-14 17:52:57 -05:00
George Hartzell
2ed2469b11 Add a package for FLASh (bioinformatics) (#3848)
Add a package for FLASh.
2017-04-14 17:51:36 -05:00
Adam J. Stewart
acad217cba Add a py-pkgconfig package (#3815) 2017-04-14 13:14:45 -05:00
George Hartzell
a4311f242a vim wasn't linking against ncurses (#3838)
See #3829.  Vim's configure was searching for ncurses
instead of ncursesw.
2017-04-14 13:13:36 -05:00
Christoph Junghans
9626a042f8 New package: PEGTL (#3839) 2017-04-14 13:13:15 -05:00
Christoph Junghans
ef64734192 New package: pstreams (#3840) 2017-04-14 12:18:49 -05:00
Jean-Paul Pelteret
a0217747d0 Readline package: Add ncurses library directory to link line. (#3802)
Resolves a issue with finding the ncurses library on MacOS.
2017-04-14 12:17:45 -05:00
Christoph Junghans
9922c374aa New package: MAD's numdiff (#3811) 2017-04-14 11:18:32 -05:00
Adam J. Stewart
5ce0126c91 Prevent users from building Score-P on macOS (#3825)
* Prevent users from building Score-P on macOS

* Add link to original reporting issue
2017-04-14 08:38:34 -07:00
Adam J. Stewart
3f21b82815 Add variant to mvapich2 to control thread level (#3832) 2017-04-14 08:14:19 -07:00
Adam J. Stewart
331f42b991 Convert Image-Magick to AutotoolsPackage (#3828) 2017-04-14 08:13:47 -07:00