Commit graph

10648 commits

Author SHA1 Message Date
George Hartzell
cff6255e56 Use GitHub URL for pigz, supports > 1 release (#8339)
The URL that we were using for pigz only provides the current
version.  When the author released v2.4 the package became
uninstallable (unless you have the tarball cached).

It turns out that their are tarballs of the tagged source tree
available on GitHub and they're sufficient to build things (no
additional bits needed).

This commit switches the URL to the GitHub archive URL.

Sadly, this changes the v2.3.4 digest, but that version was no longer
available/install-able anyway, so "net-net we're still in positive
territory".
2018-05-31 20:28:08 -05:00
George Hartzell
610835e646 Add missing expand=False for v2.18.3 (#8342)
Installing the current version of Picard fails with:

```
==> Error: Unable to parse extension from https://github.com/broadinstitute/picard/releases/download/2.18.3/picard.jar.

If this URL is for a tarball but does not include the file extension
in the name, you can explicitly declare it with the following syntax:

    version('1.2.3', 'hash', extension='tar.gz')

If this URL is for a download like a .jar or .whl that does not need
to be expanded, or an uncompressed installation script, you can tell
Spack not to expand it with the following syntax:

    version('1.2.3', 'hash', expand=False)
```

Fix it, but adding `expand=False`, like the other versions.
2018-05-31 20:24:33 -05:00
George Hartzell
a6867d5cd5 binary caching: skip check if old and new paths are identical (#8281)
Fixes #8217

Trying to relocate a distribution when the new and old paths are
equal leads to failure, because the test that ensures that no
unrelocated bits are left over always fails. As an example, this
occurs if a user installs a package, generates a binary with it
using 'spack buildcache', uninstalls it, and then attempts to
reinstall into the same spack installation using the generated
binary package.

This updates the relocation check to accept the presence of the
old prefix in binaries if the package is being reinstalled into
its original location.
2018-05-31 16:01:32 -07:00
Sinan
59633d5c95 fix missing -lrt for Centos6, issue: #7552 (#7597)
* fix missing -lrt for Centos6, issue: #7552

* fix missing -lrt for Centos6, issue: #7552

* fix using make() as opposed to patching

* remove patch, as the fix is provided withing package.py instead

* make flake8 happy
2018-05-31 15:24:38 -05:00
Denis Davydov
939eedcb37 improve Advanced Compiler Configuration part of tutorial (#8325) 2018-05-31 10:28:38 -07:00
Massimiliano Culpo
4e15d6f41b latte: specify blas and lapack explicitly (#8327) 2018-05-31 05:54:39 -06:00
scheibelp
43114c2e06 more-flexible user-specified dependency constraints (#8162)
* allow user to constrain dependencies that are added conditionally

* remove check for not-visited deps from normalize, move it to concretize. The check now runs after the concretization loop completes (so an error is only reported if the user-mentioned spec doesnt appear anywhere in the dag)

* remove separate full_spec_deps variable; rename spec_deps to all_spec_deps to clarify that it merges user-specified dependencies with derived dependencies

* add unit test to confirm new functionality
2018-05-30 11:07:13 -07:00
Eric
55e42dca2c trimgalore: Use perl from env (#8318) 2018-05-30 12:31:05 -05:00
Eric
5c56f2467b fastqc: Add version 0.11.7 (#8319) 2018-05-30 12:30:50 -05:00
Todd Gamblin
1a677e30f3
config: add spack config blame command (#8081)
- `spack config blame` is similar to `spack config get`, but it prints
  out the config file and line number that each line of the merged
  configuration came from.

- This is a debugging tool for understanding where Spack config settings
  come from.

- add tests for config blame
2018-05-30 10:25:22 -07:00
Adam J. Stewart
87223a531b
Document specs with multiple version ranges (#8284) 2018-05-30 10:36:56 -05:00
George Hartzell
be8077367d Update package: add info for emacs@26.1 (#8302)
* Update package: add info for emacs@26.1

In addition to the digest, it needs gnutls (perhaps there's a way to
turn it off, but it seems like a Good Thing to encourage, so...).

* Clean up tls variant handling

- Don't to specify the dependency for @26.1:, just need to fix what's
  already there.
- Don't assume that configure will DTRT w.r.t. gnutls when it's
  discovered in the environmnet, use explicit configure switches.
- Clean up some unnecessary dependencies when +tls.  Why would you
  need libxpm when building +tls?  Will ask the original author about
  this.

* Use append when adding configure switches

* Add dependency on pcre

When one builds +X, Spack's pcre is pulled into the build via
the X dependencies.  When one builds without it, the build discovers
and links against the system library.

We might as well just depend on it and have a consistent outcome.
2018-05-30 10:36:20 -05:00
Daryl W. Grunau
97206cb60a paraview: set PARAVIEW_VTK_DIR in spack_env and run_env (#8308) 2018-05-30 10:35:39 -05:00
George Hartzell
8eb0f50219 Add info for bedops@v2.4.35 (#8310) 2018-05-29 14:46:42 -05:00
jthies
39415f57da new version: Phist 1.6.0 (#8312)
* gmp: add oldish version 5.1.3 with checksum

* new version phist 1.6.0
2018-05-29 14:46:12 -05:00
David Beckingsale
7559a808bc Add umpire package (#8229)
* Add umpire package

* Style fixes

* Add package URL
2018-05-29 14:41:09 -05:00
Michael Kuhn
064ae1e6e0 perl: Fix build on Fedora 28 (#8305) 2018-05-29 10:28:58 -05:00
Michael Kuhn
8af37d5d64 python: Update to 2.7.15 (#8306)
2.7.14 does not compile with GCC 8, see https://bugs.python.org/issue33374.
2018-05-29 10:28:32 -05:00
Michael Kuhn
79d529e9ab nasm: Fix compilation with GCC 8 (#8307) 2018-05-29 10:28:17 -05:00
nvarini
ff4f92fec7 Quantum espresso (#8183)
Changed the name from espresso to more appropriate quantum-espresso. Added github mirror.
2018-05-29 17:27:05 +02:00
Sajid Ali
80564fae5d py-pillow : update version and fix jpeg dependency (#8300)
* 	modified:   package.py

* as requested.
2018-05-28 20:15:18 -05:00
Jimmy Tang
627df0bcc1 Add far variant to openfst package (#8299)
* Add far variant

* Append instead of extend
2018-05-28 13:45:56 -05:00
Massimiliano Culpo
2be65a8618 abinit: added version 8.8.2 (#8294) 2018-05-28 08:11:43 -05:00
Massimiliano Culpo
7b6e3595a5 nwchem: added version 6.8 (#8295)
It seems that the new versions on github don't require the patching
that was needed in previous versions.
2018-05-28 08:11:22 -05:00
Massimiliano Culpo
dedfd4e89d plumed: added versions 2.4.1 and 2.3.5 (#8297) 2018-05-28 08:01:51 -05:00
Massimiliano Culpo
bdb5d17eb8 yambo: added versions 4.2.2 (#8298) 2018-05-28 08:01:29 -05:00
Adam J. Stewart
5490190b71
Add JasPer 2.0.14 (#8207)
* Add JasPer 2.0.14

* Remove no longer necessary patch

* Explicitly disable generation of documentation

* Re-add support for JasPer 1.900.1, add GDAL patch

* Remove GDAL patch
2018-05-26 10:37:48 -05:00
Adam J. Stewart
1549ee76e5
Add GDAL 2.3.0 (#8263)
* Add GDAL 2.3.0

* Add missing dependencies, change default variants, and add links

* GDAL requires old hacked version of JasPer

* Move JasPer patch to GDAL
2018-05-26 10:37:22 -05:00
Adam J. Stewart
7602fcd4d0
Fix compilation of FYBA with GCC 6 (#8273) 2018-05-26 10:36:34 -05:00
Elizabeth Fischer
8203c4f55b Fix gettext: Problem with libxml2 (#8132)
* See https://github.com/spack/spack/issues/2882

* code review

* Correctly access lib directory
2018-05-26 10:18:14 -05:00
Corey McNeish
7a741e7e08 Fix OpenCV JasPer disable (#8287)
The recipe previously did not include -DWITH_JASPER
Other edits:
 * BUILD_IPP_IW is BUILD instead of WITH; it was in a different section of the CMakeLists.txt. Move it to the top
 * Several options were missing :BOOL, add them
 * -DWITH_ZLIB doesn't actually exist as an option, at least in the latest version.
2018-05-26 00:44:18 -05:00
Nate Roberts
90d1478f50 Added new package Camellia. (#8190)
* Added new package Camellia.

* Fixed an issue with a missing blank line.

Added a couple more Trilinos packages (things I expect to depend on eventually).

* Fixed a couple issues raised by @adamjstewart.

* Specified 4.9.2 as the supported MOAB version.

5.0.0 causes build issues on Macs during the link of Camellia's drivers.  The issue is that we end up with -framework -lAccelerate in the link line, where it should read -framework Accelerate, I believe.  I'm not sure where this comes from, but 4.9.2 does not have this issue.

* Trimmed slightly the Trilinos requirements.

Also deleted a blank line that had spaces in it because the Travis-CI thing didn't like that.

* Reduced length of MOAB description (Travis-CI complained).

* Reduced the MOAB line further; didn't quite get there last time!

This is to satisfy Travis-CI's requirement that the description be less than 80 characters long (E501).

* Put in my GitHub handle, in place of an allusion to my email address.

Also added a new argument for Camellia build, and made the MOAB description longer (thanks to @adamjstewart's note that long lines are allowed so long as they are not split).

* Added MPI dependency.

Added explicit OFF for MOAB enablement when ~moab.

Swapped order of variant and version.
2018-05-25 23:06:05 -05:00
Levi Baber
1c2dc8f528 repeatmasker: fix bin location and dependency (#8286) 2018-05-25 18:22:25 -05:00
Andrey Prokopenko
3c10d160d0 flang: add non-develop version (#8276) 2018-05-25 14:01:19 -05:00
Levi Baber
6899c9e6c3 perl-text-soundex: new package (#8279)
* perl-text-soundex: new package

* perl-text-soundex: formatting
2018-05-25 14:00:12 -05:00
David Guibert
468570114f hdf5: add 1.10.2 (#8274) 2018-05-25 09:06:50 -05:00
George Hartzell
28e7248b06 Add Tophat v2.1.2, fixes automake issues (#8266)
* Add Tophat v2.1.2, fixes automake issues

The Tophat team merged the patch from
https://github.com/spack/spack/pull/8244 and release v2.1.2

This change requires the old automake if you're building the older
release and is relaxed about the automake it requires if you're
building the v2.1.2 release.

Building v2.1.1 and v2.1.2 works on a CentOS 7 system, I don't have
the necessary bit to actually test the resulting binaries.

Here's the commit note from the change that was ultimately merged
upstream.

Fixes #8025

> Tophat was failing to build with automake@1.16.1, it worked with the
> older automake@1.15.1. This commit adds a patch to Tophat's
> src/Makefile.am which cleans up a few things. The result builds
> successfully with both automake@1.15.1 and automake@1.16.1. I have no
> way to check that the resulting builds Do The Right Thing.
>
> It changes two things:
>
> the original Makefile.am had a rule for $(SAMPROG) with no
> actions, and since there was a directory there with a tempting name
> the newer automake was trying to do something with it, but lacked
> the appropriate clues. Since that target is actually made as a side
> effect of making the library (sigh...), it seems to work to just
> give that rule something harmless to do (the Peter Principle
> triumphs again...).
>
> a bunch of the targets need a libtophat.a and libgc.a; the older
> automake was probably able to guess what to do given the list of
> sources but the newer automake apparently won't make the necessary
> assumptions. This patch wires up a simple rule and cleans up the
> appropriate dependencies so that things work.
>
> While it may appear that I'm someone who understands automake, keep in
> mind that I only play such a person on a TV reality show. YMMV.

* Remove extraneous when constraint
2018-05-24 20:04:03 -05:00
Luca Heltai
c25759e1c8 Added gsl dependency to pnfft (#8255) 2018-05-24 16:24:47 -05:00
Michael Kuhn
c77bc613eb Fix missing spack.compiler import (#8240)
Fixes: #8258

#8090 altered import behavior so that import spack no longer
provides access to many other Spack modules. This addresses
a case which depended on the prior behavior and was not
updated as part of #8090. This particular import error only
came up when users were setting compiler flags on specs.

See also: #8194
2018-05-24 10:59:20 -07:00
Geoff Womeldorff
fdb2d6f493 kokkos: update kokkos spackage to add current host/gpu architectures. (#8226)
* kokkos: update kokkos spackage to add current host/gpu architectures.

* kokkos: simplify host/gpu architecture selection and make intent of arg population logic more clear.

* kokkos: mollify flake8.

* Make strings and logic more pythonic. Add error for GPU arch without CUDA.

* kokkos: simplify conflicts behaviour. make args population more pythonic.

* kokkos: move gpu values to list for use in variant and conflicts checking.

* kokkos: How fortunate the man with None.

* kokkos: fix gpu_arch conflict loop error. add conflict to guard against +cuda and 2.5.00:develop versions, until kokkos issue #1296 is resolved.

* kokkos: mollify flake8.

* kokkos: add descriptive message to version conflict with +cuda.
2018-05-24 10:53:58 -05:00
Matthias Diener
4c4e2866d8 Charm++: Add possibility to build git version (#8260) 2018-05-24 10:48:37 -05:00
Sajid Ali
5fff4da5b7 Add msgpack-c 3.0.1 (#8264)
* 	new file:   cpp-3.0.1.tar.gz
	modified:   package.py

* 	deleted:    cpp-3.0.1.tar.gz

* remove whitespace
2018-05-24 10:47:31 -05:00
Levi Baber
fdf889264e trf: make executable (#8265) 2018-05-24 10:47:17 -05:00
Chris Hadjigeorgiou
db4062b01f openfoam-org: add v2.4.0 (#7850)
Add 2.4.0 changes
2018-05-24 08:44:41 -07:00
jkelling
fa1153d116 Fix MD5 hash for opencv 3.2.0 and 3.1.0 release (#8241) 2018-05-24 08:59:11 -05:00
George Hartzell
80e4c7da0e Add info for datamash@1.3 (#8261) 2018-05-23 18:40:14 -05:00
Adam J. Stewart
9b9980256f
Add kealib 1.4.7 (#8235)
* Add kealib 1.4.7

* Fix out-of-source builds

* Remove username from kealib hg clone
2018-05-23 18:36:12 -05:00
Adam J. Stewart
8f3d717a30
Add PROJ 5.0.1 (#8233)
* Add PROJ 5.0.1

* proj-datumgrid resource must be placed in nad directory
2018-05-23 13:29:08 -05:00
Massimiliano Culpo
0ea8c4f3b2 mvapich2: added a proper libs attribute (#8253) 2018-05-23 13:28:21 -05:00
Adam J. Stewart
13a1575452
Add pkgconf 1.4.2 (#8256) 2018-05-23 13:27:39 -05:00