Commit graph

4111 commits

Author SHA1 Message Date
Jim Eliot
7c0a759a26 Fix for SAMRAI build debug spec bug (#4564) (#4565) 2017-06-21 06:38:27 -05:00
serbanmaerean
0fe9cb5d1c FFTW: remove search for IBM XL threaded compiler when compiler is not gcc (#4187)
* Added magma package

* Incorporated Serban's change

* fftw: patch configuration file to remove search for xlc_r compiler
when compiler not gcc

FFTW assumes there are only 2 compilers: gcc and IBM XL.  When
building threaded fftw, the configuration file is looking for
the threaded IBM XL's xlc_r compiler when the compiler is not gcc.
The PGI compiler is not gcc.
2017-06-20 16:47:24 -05:00
Audrey Thoma
bcb8615fb0 Add abyss package (#4555)
* abyss

* abyss: deleting attemped test from script

* abyss: adding new package abyss

* abyss: partially fixing mpi dependency issue

* abyss: added mpi provider conflicts
2017-06-20 16:34:42 -05:00
Christoph Junghans
12113c41e4 Features/votca (#4556)
* votca-csg: needs non-mpi version of gromacs

* votca-csg: fixed deps

* votca-moo: new package

* votca-ctp: new package

* votca-ctp: make flake8 happy
2017-06-20 15:34:17 -05:00
George Hartzell
e5560dfbde fontconfig should depend on gperf (#4551)
* Include depends_on for gperf

Sometime around 2.12.2 fontconfig acquired a build-time
dependency on `gperf` (this commit, I think:
59fd9960bbb58fd6257adb13ec0f918882149332).

This adds the dependency.

`gperf` is called in the `src/Makefile`, see line 907 of
`src/Makefile.in`.

* Only depend_on gperf if @2.12.2:

The gperf dependency *seems* to only be required when @2.12.2:.

Earlier releases do not check the arg type of the gperf lookup
function (which requires gperf) and are able to use pre-generated
files so gperf is not required at build time.
2017-06-20 12:46:49 -05:00
Mark C. Miller
ca9e6576db Fix veclibfort for gcc (#4548)
* fixes #967

* Version bump to 0.9.1

- Bugfixes for spack find
- 0.9.1 can read specs from current develop.

* Don't assume spack is in the path when building docs.

* fixing Makefile override of PREFIX and install w/gcc-6
2017-06-20 09:59:40 -05:00
Stas Sergienko
229886aa8f added py-dxchange and its dependencies dxfile,edffile,spefile,tifffile (#4534)
* added py-dxchange and its dependencies dxfile,edffile,spefile,tifffile

* fixed https in homepage of py-dxfile
2017-06-19 16:26:37 -05:00
Adam J. Stewart
9b89272ae0 Various updates to wget and dependencies (#4116)
* Various updates to wget and dependencies

* Add newer version of gnutls
2017-06-19 15:13:18 -05:00
Adam J. Stewart
cf2178f416 Overhaul CONVERGE installation and concretization (#4397) 2017-06-19 10:18:48 -05:00
Diana Bite
b12c0e0f87 fontconfig: Update to latest stable release (#4543) 2017-06-19 10:02:30 -05:00
Andrey Prokopenko
cbdee5faf7 votca-csg: fixing develop url (#4536)
Fix #4525.
2017-06-17 09:32:14 -05:00
Stas Sergienko
5c01fadc59 Added py-pybtex package (#4507)
* Added py-pybtex package

* added more dependencies to py-pybtex

* added run to py-latexcodec dependency
2017-06-16 12:45:30 -05:00
John Roberts
4bd05d0c52 Py ase (#4517)
* py-ase: Adding python package py-ase.

* py-ase: Adding Python package py-ase.

* py-ase: Shortened package description.

* py-ase: Splitting package description to multiple lines to avoid char count max.

* py-ase: Removing trailing whitespace. Local flake8 tests passed now that flake8 is working for me.
2017-06-16 12:44:12 -05:00
Stas Sergienko
09ff2afb78 added py-sphinxcontrib-bibtex and py-pybtex-docutils packages (#4520)
* added py-sphinxcontrib-bibtex and py-pybtex-docutils packages

* added dpendency py-ordereddict
2017-06-16 12:42:36 -05:00
Kyle Fernandes, né Jacobs
a8919b07ca Update intel* packages (#4528)
* Update intel-*  packages

* Update intel package
2017-06-16 12:18:25 -05:00
David Böhme
04c2a1caf4 Update Scalasca/Score-P/Cube/OTF2 (#4485)
* Update Scalasca/Score-P/OTF2/Cube. Should fix #4349#

* cube: Fix flake8 warnings

* cube, scalasca: Fix version range syntax for deps

* otf2: Fix version URL generation

* cube: Remove static URLs
2017-06-16 11:45:06 -05:00
Adam J. Stewart
60db73a3f5 Fix OpenMPI CUDA support (#4323)
* Fix OpenMPI CUDA support

* Remove --with-cuda-libdir flag, not a real flag

* Fix PGI and CUDA 7 support
2017-06-16 10:00:19 -05:00
Milton Woods
f6e3ad4d90 py-pillow: ensure that RPATH includes graphics libraries (#4522) 2017-06-16 08:43:18 -05:00
iulian787
fe7bf77afe oce changes for cgm (#4514)
* oce changes for cgm

cgm can be configured with oce, but oce needs
to have X11 enabled, because some libraries
(like TKCAF in occ/oce) gets built only of X11 is NOT disabled
so introduce a variant +X11 for oce, which is needed when
configuring cgm with oce(+X11)

* follow up review

simplify by removing the patch and different url paths
use append instead of extend, when necessary
make mpi true by default

X11 dependency is still to be addressed; it pulls in some opengl
library (on laptop nvidia seem to work, on virtual linux machine
mesa was good enough)
2017-06-16 08:29:59 -05:00
Stas Sergienko
c102be2144 Added package py-oset (#4500)
* Added py-oset package

* Added package py-oset

* changed homepage url
2017-06-15 13:50:48 -05:00
Stas Sergienko
503efb8881 added py-latexcodec package (#4509)
* Added py-latexcodec package

* removed url line from the file
2017-06-15 09:46:44 -05:00
Stas Sergienko
080314c68e added py-counter package (#4510) 2017-06-15 09:45:27 -05:00
Diana Bite
a9a7805626 openblas: Fix build on aarch64. (#4487)
- invoke make with the correct TARGET for aarch64
- foforce PILERDRIVER as openblas cannot correctly detect CPU on aarch64
- update url to more recent version
2017-06-15 06:38:24 -05:00
Adam J. Stewart
41e4a034ff Add latest version of JDK (#4317)
* Add latest version of JDK

* Use a more specific URL to get curl to work

* Remove failing unit test
2017-06-15 12:40:55 +02:00
Adam J. Stewart
dc911661ca Add missing doc variant to fenics package (#4473) 2017-06-15 12:35:56 +02:00
Mark C. Miller
27e6e8715e Adding initial AMReX package (#4467)
* adding initial amrex package

* adding missing fortran variant predicate

* adjusting description text

* adjusting as per @tgamlin guidance
2017-06-15 12:27:52 +02:00
Stas Sergienko
336e3e6a89 Added py-pywavelets package (#4496)
* Added py-pywt  package

* passes flake8 test

* renamed py-pywt to py-pywavelets
2017-06-15 11:51:52 +02:00
Jon Rood
6762714302 Nalu requires Trilinos with Exodus support (#4505)
* Disabling Exodus in Trilinos by default.

* Returning default of Exodus to true in Trilinos.
2017-06-15 11:31:03 +02:00
Adam J. Stewart
e627447417 Prefer vim to vi for default editor (#4230)
* vim > vi
* Allow which to accept multiple args
* Update __init__ to use which with multiple args
* Fix doc tests
2017-06-15 11:27:18 +02:00
Adam J. Stewart
ce11e78530 Add h5utils package (#4506) 2017-06-14 15:41:42 -05:00
Alicia Klinvex
f732598f51 Fix tpetra-related xsdk errors (#4501)
* Fix tpetra-related xsdk errors

Recent changes to the trilinos package broke the xsdk build.
xSDK explicitly disables tpetra, but packages depending on it
(such as ifpack2 and amesos2) are explicitly enabled by default
in the trilinos package.  This commit explicitly disables them
within the xsdk package.py.

* Disabled exodus in the xsdk build

See issue #4502 for details
2017-06-14 13:56:24 -05:00
Luigi Calori
daa5cf7e73 fix intltool_sbang issue #4191 (#4192)
* fix intltool_sbang issue #4191

* add per dep even if already depending on perl-xml-parser

* adding more comment, properly spaced
2017-06-14 13:24:01 -05:00
Michael Kuhn
1ec3c14d23 Improve qt (#4309)
- Introduce an opengl variant that is enabled by default. Disabling it
  allows building qt for X forwarding etc.
- Depend on fontconfig and freetype to make use of system fonts.
  Otherwise qt can not find any fonts.
- libx11 is required when libxcb is used.
- Set MAKEFLAGS to parallelize qmake compilation.
2017-06-14 13:13:39 -05:00
Nicolas Richart
f06c23ef42 Adding package namd (#4321)
* Initial version of the namd package

* Modified charm to consider compile against intel/intel-mpi

* Correction of namd to compile with intel-mkl and intel compiler

* Adding inclue64 in the prefix

* adding property for the build directory

* removing useless function build
2017-06-14 13:11:30 -05:00
Josh Asplund
bc2c4a14c2 Updates rose definition (#4411)
* Adds z3 package

* Adds binwalk package

* Updates spot package definition

* Updates rose package definition

* Modifications for code review

* Fixes string formatting

* Remove python version requirement
2017-06-14 12:43:50 -05:00
Adam J. Stewart
f4f2f25838 Added new package for py-rsa (#4494) 2017-06-14 10:35:10 -05:00
serbanmaerean
0e5fb26dc1 superlu-dist: don't use '_' symbols from BLAS for IBM XL compiler (#4486) 2017-06-14 00:10:51 -07:00
Geoffrey Oxberry
3025f9d303 ipopt 3.12.7 (#4490)
* ipopt: update version to 3.12.7
* ipopt: add +coinhsl option
* ipopt: add +metis option
2017-06-13 18:09:12 -07:00
Geoffrey Oxberry
6af44e63ad coinhsl 2014.01.17: new package (#4482) 2017-06-13 18:03:49 -07:00
Geoffrey Oxberry
56f7c85c93 metis: bugfix: make shared library build portable (#4489)
Fixes #4488. When compiling metis as a shared library, the package
used the syntax `-rpath=`, followed by a path. This syntax is
non-portable, so replace it using Spack's compiler rpath argument
property.
2017-06-13 17:59:25 -07:00
John Roberts
b802524517 visit: Added VisIt version 2.12.2 (#4495) 2017-06-13 18:17:51 -05:00
scheibelp
1e69d9d1a9 Override partial installs by default - part three (#4331)
* During install, remove prior unfinished installs

If a user performs an installation which fails, in some cases the
install prefix is still present, and the stage path may also be
present. With this commit, unless the user specifies
'--keep-prefix', installs are guaranteed to begin with a clean
slate. The database is used to decide whether an install finished,
since a database record is not added until the end of the install
process.

* test updates

* repair_partial uses keep_prefix and keep_stage

* use of mock stage object to ensure that stage is destroyed when it should be destroyed (and otherwise not)

* add --restage option to 'install' command; when this option is not set, the default is to reuse a stage if it is found.
2017-06-13 09:15:51 -07:00
Massimiliano Culpo
9defe2c1c2 espresso: fixed compilation for 6.1 (elpa) and added support for hdf5 (#4483)
* espresso: fixed compilation for 6.1 (elpa) and added support for hdf5

* espresso: addressed items in @davydden review

* espresso: fixed behavior for espresso@:5.4.0
2017-06-13 10:22:12 -05:00
serbanmaerean
df6d8d913b Fix/mumps (#4453)
* Added magma package

* Incorporated Serban's change

* mumps: Fix compiler error with IBM XL

Split the patching between v 5.0.2 and 5.1.1
2017-06-13 08:09:59 -05:00
Michael Kuhn
181fd95057 Fix building shared libraries for gmp (#4464)
If specific compiler flags are set, gmp will not build a shared library,
causing failures further down the line.
2017-06-13 08:06:44 -05:00
Diana Bite
d450e4a93b czmq: Fix invocation when building with clang. (#4479)
Also bump to latest stable version.
2017-06-13 07:43:54 -05:00
Adam J. Stewart
14aa3b63e3 Add list_url for packages from http://ab-initio.mit.edu/ (#4471) 2017-06-12 09:48:20 -05:00
Adam J. Stewart
0de653ff01 Add an installcheck phase to MakefilePackage (#4476)
* Add an installcheck phase to MakefilePackage

* Minor changes to ESMF
2017-06-12 09:47:46 -05:00
Axel Huebl
ab9155eb37 ISAAC Server: Less Strict Deps (#4481)
The dependencies of the server packages were overly strict and pulled in too many dependencies.
This fixes it.
2017-06-12 16:01:17 +02:00
Robert Pavel
f127c4ed27 New Package: bml (#4213)
* New Package: lanl-bml

Added LANL's BML library as Spack Package as dependency for future
packages

* Adjusted lanl-bml versions

Specified current master as develop and added v1.1.0 tagged version

* Renamed lanlbml package to bml
2017-06-11 17:21:51 -05:00
Adam J. Stewart
4db107353e Convert elk to MakefilePackage (#4477) 2017-06-11 18:47:40 +02:00
Milton Woods
a5c6f0412b gcc: use isl@0.14 for gcc@5 (#4474) 2017-06-10 08:16:10 -05:00
Adam J. Stewart
36b8ea2f92 Add default list_url for GitLab, BitBucket, and CRAN (#4439)
* Add default list_url for GitLab, BitBucket, and CRAN

* Fix flake and doc tests
2017-06-09 12:28:39 -05:00
Massimiliano Culpo
a3b12a60d1 scala + spark: added legacy versions (#82) (#4461) 2017-06-09 07:15:54 -05:00
Michael Kuhn
23a95de2bd Fix autotools issues (#4463)
Add ACLOCAL_PATH to libtool and pkg-config. Without this, aclocal can
not find the .m4 files.
2017-06-09 07:12:27 -05:00
Denis Davydov
5c5fd4a7e3 add teuchos to Trilinos, update dealii to explicitly require certain packages (#4460) 2017-06-09 07:10:54 -05:00
George Hartzell
a6bbbd4458 Package for mono (#4435)
* First draft package for mono

Mono's vendor'ed boringssl interacts badly with openssl, so
you need to use `cmake~openssl`.

Left to its own devices, it wants to refer to things in
`/usr/share/.mono`.  This doesn't work for installs that don't run as
root, etc...  This package includes a variant to redirect those paths
to `prefix.share`.

* Whitespace/Flake8
2017-06-08 17:55:45 -05:00
Jon Rood
3508909f06 Adding Nalu package. (#4428)
* Adding Nalu package.

* Fixing flake8 stuff.

* Fixing flake8 stuff.

* Reorganizing trilinos package file a little to make it less verbose.

* Reorganizing trilinos package file for more general use as well as use as a dependency of the Nalu package. Setting fpic as default for yaml-cpp and superlu.

* Explicitly stating fpic variants in dependent packages.

* Updating nalu and trilinos package files with suggested changes.

* Fixing formatting issues. Making suggested changes.

* Fixing formatting.

* Reducing amount of explicit variants in Nalu. Adding suggested changes to Trilinos package file.

* Making suggested changes to Nalu package.

* Turning off superlu-dist variant.

* Cleaning up yaml-cpp file.

* Fixing pnetcdf requirements in trilinos.
2017-06-08 17:54:26 -05:00
Gregory Lee
816f4f8b04 fix mfem build for ppc with gcc (#4452) 2017-06-08 10:23:30 -05:00
Howard Pritchard
4e92811939 Open MPI: add 2.0.3 (#4450)
Add Open MPI bug fix release 2.0.3

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2017-06-07 14:42:49 -05:00
Massimiliano Culpo
69bd119d64 folly: added new package. Also modified double-conversion to use 'pic'. (#4449) 2017-06-07 14:42:15 -05:00
George Hartzell
29090a527a Bug/cctools syscall (#4440)
* Handle missing defn of __NR_memfd_create

Generally SYS_foo is defined to __NR_foo (in sys/syscall.h) which is
then defined to a syscall number (in asm/unistd_64.h).  Certain CentOS
systems have SYS_memfd_create defined to __NR_memfd_create but are
missing the second definition.  This is a belt and suspenders solution
to the problem.

See [this post][syscall] for a nice general description of how these
parts fit together.

[syscall]: https://www.uninformativ.de/blog/postings/2017-02-11/0/POSTING-en.html

* Avoid flake8 warning
2017-06-07 11:51:46 -05:00
Stas Sergienko
af85014978 Added latest version of image-magick 7.0.5-9 (#4447) 2017-06-07 11:49:39 -05:00
Diana Bite
06e7708728 postgresql: Fix build with threadsafe and add variant. (#4403)
* postgresql: Fix build with threadsafe and add variant.

* postgresql: Convert Package to AutotoolsPackage.

Also add explicit enable flag for +threadsafe variant.
2017-06-07 18:20:17 +02:00
Michael Kuhn
f7b8b75c12 Fix intel-mpi installation (#4438) 2017-06-06 11:24:33 -05:00
George Hartzell
aa51e766cd Add add'l output formats for graphviz (#4431)
* Add add'l output formats for graphviz

Add support for additional output formats to graphviz, including gif,
jpg, pdf, and png.

Graphviz calls its pango+cairo option *pangocairo* so I followed suit.

Libgd was missing jpeg/jpg support.  None of the other supported
formats are conditionalized and there is no --with/--without support,
so I followed suit.

* Fix ghostscript plugin

When I installed thusly:

    spack install graphviz+pangocairo+libgd^cairo+X^pango+X

the ghostscript plugin tripped over some variable names that had
changes in `gs@9.18:`.  This fixes them.

* Remove wayward import of tty
2017-06-06 06:06:36 -05:00
Milton Woods
54cc8dd7fd ncl: cairo and math libraries (#4434)
* ncl: depends on cairo+X (cairo~X is built by default)

* ncl: '-lm' is needed when linking fortran with gcc
2017-06-06 06:05:10 -05:00
Michael Kuhn
08a054afd8 Update bazel to 0.4.5 (#4436) 2017-06-06 05:59:25 -05:00
George Hartzell
baad627944 Need to help Makefile.PL find the expat bits (#4422)
* Need to help Makefile.PL find the expat bits

We need to provide Makefile.PL with a clue about where our
expat bits live.  We had the dependency, but I suspect
that the lib was actually linking against a system version.

* Use prefix.lib instead of building path myself

Ditto with .include
2017-06-05 14:17:12 -05:00
George Hartzell
6b9d485e06 Disable parallel builds for bamutil (#4430)
I've had non-repeatable failures in my CI runs on all three clusters
at the bamutil's step.  In each case there are .o or .so files that
are corrupt or truncated.

I suspect that the homebrewed bamutil Makefile scheme doesn't actually
support parallel builds.
2017-06-05 14:14:49 -05:00
George Hartzell
bfb45ba1ce Tighten up graphviz package (explicitly disable unused languages, etc...) (#4408)
* Tighten up graphviz package

The fun started when configure discovered a broken/partial
installation of `swig` in `/usr/local`, then auto-discovered my
system's python and ruby packages.

- SpackException doesn't seem to exist.  Convert it to a SpackError
  and call `.format(...)` on the error string to fill in the
  placeholder.

- Pull swig out of the list of languages.  It's something that can be
  asked for explicitly and that is needed if *any* of the langagues
  are enabled.  It's disabled by default.

- Explicitly disable the languages that are in "untested_bindings"
  list lest the configure script pick up things from the system.

* Touch up variant description string

* Clean up conditional statement

* Use InstallError, not SpackError

* Drop the swig variant

Get rid of the swig variant and drive that bit based on whether any
languages are enabled.

* Move perl to the untested list

That's not strictly accurate.  I tested it and it doesn't work.

There's a missing depends_on().  When you add that you'll discover
that the language binding bit can't find Perl's 'EXTERN.h'.  Then
you'll discover that graphviz's `configure` script doesn't have a good
way to include the paths to Perl's bits (looks like I'll have to
gather them for each language and then use them to build `CFLAGS` and
`CXXFLAGS` and `LDFLAGS`).  While pondering that, you'll discover that
EXTERN.h is buried down here:

```
opt/spack/linux-centos7-x86_64/gcc-4.8.5/perl-5.24.1-35ejv4426dmzreum4ekdibu3ddmhquvi/lib/5.24.1/x86_64-linux/CORE/EXTERN.h
```

and decide that you wish you had never thought to actually test
`graphviz+perl`.

I could find that directory with a snippet like so:

```
perl -MConfig -e 'print "$Config{archlib}\n"'
```

but at this point I'm much, much further down this rabbit hole then I
ever wanted to go.

* Convince python that tested_bindings is a list

When I removed `+perl` and made `tested_bindings` a list of one
thing, I ended up with this:

```
==> Error: cannot concatenate 'str' and 'tuple' objects
```

* Flake8 cleanup

* Don't convert a string to a string

* rm unused () and clarify variable name

Feedback from @adamjstewart

- Get rid of some unnecessary parens.
- Clearer variable name and use.

* Further cleanup of language enabling loop

Now we don't need that pesky temporary variable.
2017-06-05 13:02:39 -05:00
George Hartzell
36d153967b Add package for cctools (#4417)
* Add package for cctools

Add a package for cctools.

Requires the recently submitted "useshrplib" support in Perl (or some
other mechanism to enable -fPIC for perl).

* Delete extraneous import

* Perl's shared variant changed, adapt...

The name of the variant that perl uses to build a shared lib changed and
it now defaults to True.  Use the new name and continue to be insistent
about using the shared variant.

* Flake8 cleanup
2017-06-05 11:41:02 -05:00
serbanmaerean
626aa3a8d0 Bugfix/boost pgi (#4426)
* Added magma package

* Incorporated Serban's change

* boost-pgi: Add support for PGI compiler

There are two patches required:
  (1) general fixes required by PGI
  (2) workaround for a bug in PGI 17.4

Conflicts:
	var/spack/repos/builtin/packages/boost/package.py
2017-06-02 11:44:33 -05:00
George Hartzell
23474be4b0 Add variant to build shared Perl lib (#4416)
* Add variant to build shared Perl lib

Add a variant that enables Perl's "useshrplib" feature, which builds a
shared perl library.

This addresses problems like so:

```
/usr/bin/ld: /blah/blah/spack/opt/spack/linux-centos7-x86_64/gcc-4.8.5/perl-5.24.1-y43dp3p5w66v7qh5xkwgufxohyuodyew/lib/5.24.1/x86_64-linux/CORE/libperl.a(op.o): relocation R_X86_64_32S against `PL_opargs' can not be used when making a shared object; recompile with -fPIC
/blah/blah/spack/opt/spack/linux-centos7-x86_64/gcc-4.8.5/perl-5.24.1-y43dp3p5w66v7qh5xkwgufxohyuodyew/lib/5.24.1/x86_64-linux/CORE/libperl.a: could not read symbols: Bad value
```

It should also address the Intel compiler issue discussed in #3081
while respecting Perl's configuration machinery.

* Rename shared variant and default to True

* Use correct variant to add configure arg

* Restore bits that set ccflags for intel compilers

After some experimentation we've established that setting
the flag to build a shared perl library is tightly tied to
the use of -fPIC.

This commit restores the code that sets ccflags for
intel compilers.

* Flake8 cleanup
2017-06-02 10:44:01 -05:00
Adam J. Stewart
623e7cb7b6 Add latest version of gnuplot (#4418) 2017-06-02 08:04:47 -05:00
Denis Davydov
bf58524943 astyle: add new versions (#4424) 2017-06-02 08:00:45 -05:00
George Hartzell
d8b6859e7b Add a package for Picard (#4398)
See the discussion about installing jar files in #4386.

Also installs a wrapper script that has explicit references to the
prerequisite java exe and to the jar file in it's final resting place.
2017-06-01 16:13:33 -05:00
George Hartzell
391afa9271 Add packages for clustalw and clustalo (and argtable) (#4412)
* Add packages for clustalw and clustalo (and argtable)

Add packages for the classic multiple alignment package, `clustalw`
and its younger sibling, `clustalo`.

`clustalo` needed the `argtable` package (command line arg parsing).

Lightly tested on CentOS 7.

* Remove FIXME (sigh...)
2017-06-01 12:36:01 -05:00
Tom Merrick
916243b23a Packages/r factoextra (#4410)
* Add mpi support to R

* Add multiple precision math routines to R

* Updated the URL to match the version

* Remove duplicate packages

* Add packages for r-ergm and it's dependents

* Fixed depends-on types

* Correct flake8 errors

* Correct Build type

* r-factoextra and dependents

* Revert "r-factoextra and dependents"

This reverts commit afbf477fd66e565fd187262c386bcc08c98a4d7e.

* Add only r-factoextra files
2017-06-01 10:43:51 -05:00
George Hartzell
61f640238b Add a package for Trimmomatic (#4399)
* Add a package for Trimmomatic

See the discussion about installing jar files in #4386.

Also installs a wrapper script that has explicit references to the prerequisite java exe and to the jar file in it's final resting place.

* Fix bad format statement

Apparently something like this "blah{}".format(...) works (it's missing
something inside the curly braces) but fails the travis test.
2017-06-01 09:22:24 +02:00
Nils Deppe
2310e9dac0 Add Catch v1.7.1-1.9.4 (#4406) 2017-05-31 14:11:36 -05:00
Diana Bite
218d55a072 openssl: Fix build on Aarch64 with clang. (#4404) 2017-05-31 06:41:24 -05:00
Axel Huebl
c124fdb7a0 Fix Fetch MariaDB (#4394)
The two given versions of mariadb are not fetchable under the given
URL, probably because older versions are purged and only kept in
an archive.

Add two working, latest revisions of each release line.
2017-05-31 13:37:44 +02:00
Diana Bite
c15f3bc6ff cmocka: Bump version and add checksums (#4405) 2017-05-31 12:48:43 +02:00
Michael Kuhn
665598af1b Fix missing gcc dependency on zip (#4303)
For @:6, java is included in languages=all and requires zip.
2017-05-30 14:59:47 -05:00
Adam J. Stewart
421d8ea316 Make sure py-entrypoints runs its unit tests (#4347) 2017-05-30 14:57:53 -05:00
Axel Huebl
7e3a11b46a ISAAC: Fix CMakeLists.txt Path (#4374)
Somehow the path to `CMakeLists.txt` via the class property
`root_cmakelists_dir` was relative but is now actually relative
to `spack-build/`.

Close 4324 by providing a path relative to the source repo
of the stage via a method instead of a member variable
2017-05-30 14:55:50 -05:00
Adam J. Stewart
336d988cc6 Add every version of OpenMPI (#4372) 2017-05-30 10:16:43 -05:00
Axel Huebl
c23ccb58e1 Package: Wt (#4384)
* Package: libharu (PDF)

C++ PDF generation library, necessary for wt

* Package: WT

Adds `wt` "witty", a Qt-like C++ web framework for GUIs
2017-05-30 09:37:34 -05:00
George Hartzell
8297244446 Add package for vcftools@0.1.14 (#4389)
* Add package for vcftools@0.1.14

The package munges the various perl scripts so that their sbang lines
point to the depended upon perl (perhaps with Spack sbanger in the
dance) instead of relying on `/usr/bin/env perl`.

As it stands it installs its Perl libraries into `prefix/lib` and then
depends on `setup_environment` to prepend that dir onto PERL5LIB.

See my [vcftools issue
80](https://github.com/vcftools/vcftools/issues/80) for a discussion
about fixing its non-functional attempt at isolating itself from
PERL5LIB shenanigans.

* perl dependency should be build/run
2017-05-30 06:59:37 -05:00
Diana Bite
115fec3346 zeromq: Fix invocation when building with clang. (#4395) 2017-05-30 06:57:28 -05:00
Axel Huebl
1b7c29cdfe Fix #3851 xmlto fetch (#4393)
xmlto migrated to https://pagure.io/xmlto
2017-05-30 06:56:44 -05:00
Axel Huebl
d7622b32f1 Close #4388 libaio fetch (#4392)
fetch libaio via the debian mirrors, the same way as archlinux builds
it (from original, unmodified sources):
  https://git.archlinux.org/svntogit/packages.git/commit/trunk/PKGBUILD?h=packages/libaio&id=a8ec32dd3988668809e6c6affe678db04db3fc76
2017-05-30 06:56:20 -05:00
George Hartzell
e3eaba80b1 Ensure Config.pm has correct setting for cc (#4345)
* Ensure Config.pm has correct setting for cc

Run a filter after install so that Config.pm records the compiler that
Spack built the package with.  If this isn't done, $Config{cc} will be
set to Spack's cc wrapper script.

* Also patch compilers Config_heavy.pl

This patch sets ld=gcc, which appears to work.  I'm not sure if
there's a good way to get at the ld that Spack uses.

* Clean up quoting

* Fix pattern for Config.pm

Does not start at beginning of line...
2017-05-29 16:59:30 -05:00
George Hartzell
e31f80988c Add support for an older version of STAR (#4385)
What the user wants, the user etc....

Add info for STAR@2.4.2a.  It's URL looks different, so added a URL for
it.  This broke the URL for the current version, so added a URL for it
also (known bug).

*Minimally* tested on CentOS 7.
2017-05-29 15:47:31 -05:00
George Hartzell
62daeaa525 Add package for bamutil (#4387)
*Minimally* tested on CentOS 7.

Stole the `install_target` bit from zip....
2017-05-29 15:36:18 -05:00
Milton Woods
7ea0e143c5 python: RPATH on Cray (#4209)
* python: ensure that distutils sets valid compiler options for RPATH on cray

* python: add cray-rpath patches for python@2.3:3.0.1 and python@3.1:

* python: in patch(..., when="@a:b platform=c"), limit b must be specified

* python: assume that python@4 will break the cray patches
2017-05-28 09:17:16 -07:00
Denis Davydov
87ebb0fc15 oce: add 0.18.1 (#4376) 2017-05-27 16:35:32 -05:00
Denis Davydov
0b252d5402 tbb: add 2017.6 (#4377) 2017-05-27 16:35:17 -05:00
Denis Davydov
d0d7768b90 Petsc and Slepc -- add new versions (#4378)
* petsc: add 3.7.6

* slepc: add 3.7.4

* hypre: remove whitespace
2017-05-27 16:35:05 -05:00
Douglas Duckworth
f14041d6c1 added STAR aligner package (#4368)
* added STAR aligner package

* fixed flake errors

* PATH NOW WORKS

* STAR install now works

* star install now perfected
2017-05-27 15:02:39 -05:00
Denis Davydov
50e729173b arpack: add 3.5.0 (#4375) 2017-05-27 15:02:25 -05:00
Adam J. Stewart
f9ac965fb9 Document known issue with R concretization (#4313) 2017-05-27 12:51:03 -05:00
eklee15
1b07d949ae Added pgi support for suite-sparse package (#4340)
* Added pgi support for suite-sparse package

* Patch modified

* added 'CFOPENMP={0}'.format(self.compiler.openmp_flag) for -mp flag
2017-05-27 06:49:21 -05:00
George Hartzell
1d80a87996 Fix mummerplot when ^perl@5.20: (#4348)
* Fix mummerplot when ^perl@5.20:

Calling defined() on a hash has been deprecated for ages.  It became
an error in perl@5.20.  If we're building with a perl where it's
illegal, we should fix it.

* Simplify call to filter_file

Treat the first arg to filter_file as a string rather than
a regex, so that we don't have to figure out the escapes.

* Patch mummerplot for *any* perl version.
2017-05-26 22:08:40 -05:00
George Hartzell
248fc92a45 Fix bwa url's (#4366)
* Fix bwa url's

Work around varying github URLs.

See #4365 for details.

* Restore main url entry

@adamjstewart pointed out that the package still needs a main url
so that `spack versions` works.
2017-05-26 22:08:00 -05:00
eklee15
c0fff6722d added -c11 flag for pgi compiler for TSL (#4367) 2017-05-26 22:07:24 -05:00
eklee15
a9feeefdb9 Added pgi support for mumps (#4369) 2017-05-26 22:06:55 -05:00
Adam J. Stewart
e7ad79fbed Add latest version of NCO (#4370) 2017-05-26 22:06:24 -05:00
Adam J. Stewart
6f0ac9d54c Add --configure-args/vars support to RPackage (#4289)
* Add --configure-args/vars support to RPackage

* Docstring formatting change
2017-05-26 16:37:06 -05:00
Ben Boeckel
f38d250e50 gpg: add 'spack gpg subcommand (#3845)
- Add a `spack gpg` subcommand in anticipation of signed binaries.
- GPG keys are stored in var/spack/gpg, and the spack gpg command manages them.
- Docs are included on the command.
2017-05-26 10:31:04 -07:00
George Hartzell
71cc4e2ad1 Add info for jdk@7u80 (not downloadable) (#4363)
* Add info for jdk@7u80 (not downloadable)

Add version info for jdk@7u80.  Oracle does't seem to be
distributing it any longer so there's no reasonable URL to
provide, but for those of us who already have the tarball
this is useful.

* Flake8 cleanup
2017-05-26 10:46:14 -05:00
Nils Deppe
e5f5e98fc4 Add master as install option for yaml-cpp (#4364) 2017-05-26 07:46:11 -05:00
Douglas Duckworth
7bdf7a74af added libdrm 2.4.75 per #4316 (#4359)
* added libdrm 2.4.75 per #4316

* removed 'list_url'
2017-05-25 22:19:59 -05:00
George Hartzell
d13eac310a Add info for fastqc@0.11.4 (#4357)
* Add info for fastqc@0.11.4

* Delete the bamutil package (included by mistake)

The bamutil package was included by mistake, the commit deletes it.
2017-05-25 18:15:19 -05:00
Mark C. Miller
e85113faf6 updating mfem version (#4362)
* updating mfem version

* changing mfem tarball extension to .tar.gz
2017-05-25 18:14:47 -05:00
Denis Davydov
af77f811f2 petsc: fix scalapack error: (#4341)
Specify either "--with-scalapack-dir" or "--with-scalapack-lib --with-scalapack-include". But not both!
2017-05-25 16:23:59 -05:00
eklee15
c7de8d0cdc Added pgi support for superlu-dist package (#4343)
* Added pgi support for superlu-dist package

* added self.compiler.pic_flag
2017-05-25 16:23:26 -05:00
Tom Merrick
794dc50995 Packages/r adegenet (#4354)
* Add mpi support to R

* Add multiple precision math routines to R

* Updated the URL to match the version

* Remove duplicate packages

* Add packages for r-ergm and it's dependents

* Fixed depends-on types

* Correct flake8 errors

* Correct Build type

* r-adegenet and dependent packages
2017-05-25 14:42:49 -05:00
George Hartzell
7055be82b9 Add info for bwa@0.7.12 (#4356) 2017-05-25 14:42:32 -05:00
George Hartzell
d9892c629c Add ant@1.9.6 info (#4350) 2017-05-25 13:31:46 -05:00
Adam J. Stewart
53713d57c9 Add older version of CONVERGE (#4346) 2017-05-25 11:29:54 -05:00
Adam J. Stewart
f8a7549f51 Add missing dependency to py-entrypoints (#4330) 2017-05-25 09:49:00 -05:00
Andrey Prokopenko
8e9d905794 Trilinos: add DTK external package (#4304)
* trilinos: add DTK external package

* Making +dtk and ~tpetra conflict
2017-05-25 09:41:11 -05:00
becker33
12ab882eba Fix issues parsing multiple anonymous specs (#4199)
* fix parser
* Removed xfails
* cleaned up debug print statements
* make use of these changes in gcc
* Added comment explaining unreachable line, line left for added protection
2017-05-24 17:13:18 -07:00
Adam J. Stewart
c1cea7ebcf Add latest version of CONVERGE (#4337)
* Add latest version of CONVERGE

* Flake8 fixes
2017-05-24 14:20:13 -05:00
Douglas Duckworth
a0e7169df6 added new R package - r-rgl (#4335) 2017-05-24 10:25:31 -05:00
Milton Woods
0932b16d4e cairo: ensure that X support is disabled for variant "~X" (#4242)
* cairo: ensure that X support is disabled for variant "~X"

* cairo: explicitly enable X support for +X variant

* cairo: prefer "variant in spec" over spec.satisfies(variant)
2017-05-23 16:43:22 -05:00
George Hartzell
d0a81fda30 Correct installation step for mummer (and dependency) (#4293)
* Trailing whitespace cleanup

* Handcraft an install process for mummer (grumble)

Mummer punts on an installation step, they just build in and run from
the same directory.

Mummer also has various hardcoded paths built into it that allow it to
find other executables that it needs as well as its Perl library.

This updates the package to deal with this approach.

It patches the Makefile and scripts/Makefile so that the correct info
is fed to sed when it munges the perl scripts.

The install step is now finer grained and puts things where mummer
relatively wants to find them.

* Add perl dependency

* perl should be build/run dependency

* Fix whitespace

* Delete stray u at top of file
2017-05-23 16:37:33 -05:00
Luigi Calori
929c45916b new package virtualgl (#4297)
* new package virtualgl, depends on mesa-glu but NOT on mesa, so added a variant to mesa-glu

* add comment on mesa variant of mesa-glu
2017-05-23 16:36:48 -05:00
Gregory Lee
785168f5a1 fix build command for caffe with openblas (#4299) 2017-05-23 16:35:42 -05:00
Erik Schnetter
43edcfbf13 opencoarrays: new version (#4271) 2017-05-23 16:30:14 -05:00
George Hartzell
39ac8abbbd Add support for addl versions of bcl2fastq2 (#4328)
Two changes:

- It seems that Illumina version numbers are dotted and that the
  dashed version in the 2.18... filename is an anomaly (based on the
  names for 2.17.1.14 and 2.19.0).  `url_for_version` does the right
  thing for 2.18.  It will need to be fixed when support for 2.19 is
  added.  2.17 is no longer generally available so it gets a pass.

- Add version and hash for 2.17.1.14.

  2.17.1.14 is no longer distributed.  If you have a copy of the
  source tarball, you can drop it into a local mirror w/ the name
  mirror/bcl2fastq2/bcl2fastq2-2.17.1.14.zip and go from there.
2017-05-23 15:37:24 -05:00
Adam J. Stewart
d38e601134 Add latest version of libpciaccess (#4325) 2017-05-23 13:47:06 -05:00
Milton Woods
4553b1400c Magics with eccodes variant (#4320)
* magics: use filter_file to avoid using system python in all versions

* magics: add eccodes variant to switch between eccodes and grib-api
2017-05-23 10:06:59 -05:00
Tom Merrick
1469cfd0e7 Packages/r ergm (#4314)
* Add mpi support to R

* Add multiple precision math routines to R

* Add packages for r-ergm and it's dependents

* Fixed depends-on types

* Correct flake8 errors
2017-05-23 10:05:05 -05:00
Massimiliano Culpo
e89c699c06 plumed: fixed compilation on rhel6 (#4318)
* plumed: fixed compilation on rhel6 with mvapich2 and gcc@5.4.0 (#77)

* plumed: prevent parallel compilation, as it breaks for the newest version
2017-05-23 10:04:23 -05:00
Robert D. French
dd73c98d0e Add Microsoft's C++ Rest SDK (#4315) 2017-05-22 15:15:17 -05:00
Milton Woods
8ab8459397 magics: use spack perl instead of system perl (#4310) 2017-05-22 06:45:24 -05:00
Milton Woods
132b3c56bc qt: patch JavaScriptCore to favour internal pcre headers (#4270) 2017-05-21 18:01:26 -05:00
Michael Kuhn
f9203d4281 libdrm depends on pkg-config (#4308) 2017-05-21 13:34:16 -05:00
Milton Woods
ca2755d532 flex: create variant +lex that creates symlinks for lex and libl.{a,so} (#3894)
* flex: create variant +lex that creates symlinks for lex and libl.{a,so}

* flex: enable variant +lex by default

* flex: use dso_suffix for portability; replace repetitive code with a loop
2017-05-21 08:33:34 -05:00
Massimiliano Culpo
e4a3295c37 spark: remove whitespaces from run_env variable (#4210) 2017-05-20 23:40:59 -05:00
Michael Kuhn
17b2db0bd2 Fix ncview with netcdf+mpi (#4305)
ncview has to be compiled using the same compiler as netcdf.
2017-05-20 20:59:15 -05:00
Michael Kuhn
c741cd900b magics fixes for versions > 2.29.x (#4302) 2017-05-20 09:40:10 -05:00
Erik Schnetter
a32f8c33b0 julia: New version 0.5.2 (#4259) 2017-05-19 17:32:40 -05:00
Erik Schnetter
4b075de9de hwloc: new version (#4272) 2017-05-19 17:32:16 -05:00
Erik Schnetter
eb001e4d5d hpx5: new version (#4273) 2017-05-19 17:31:53 -05:00
Erik Schnetter
ff6ebe30e0 cmake: new version (#4274) 2017-05-19 17:31:20 -05:00
Michael Kuhn
a62bbb6ed8 gobject-introspection depends on pkg-build (#4301) 2017-05-19 17:30:54 -05:00
Adam Moody
efbcdafd30 Mpifileutils (#4283)
* adding mpifileutils

* mpifileutils: add +lustre variant

* mpifileutils: add variant for xattr

* mpifileutils: update to AutotoolsPackage

* mpifileutils: simplify and eliminate redundant make

* mpifileutils: drop unnecessary comments
2017-05-19 17:09:21 -05:00
Michael Kuhn
571a42d614 Fix gcc not finding zlib (#4291) 2017-05-19 12:03:56 -05:00
Douglas Duckworth
8b47fe5a78 added R 3.4.0, again (#4260) (#4294) 2017-05-19 11:55:48 -05:00
George Hartzell
18c7e96624 Fix boost@:1.56.0%gcc@:5 (#4295)
I need boost@1.54.0 for bcl2fastq2.  I tested bcl2fastq2 using the
system compiler (gcc@4.8.5).  My full build uses a spack-build
gcc@5.4.0.

boost@1.54.0 won't build.  I found the answer
[here](https://github.com/hashdist/hashstack/issues/802) with the
details in [this upstream/boost
ticket](https://svn.boost.org/trac/boost/ticket/10125).

I've confirmed that these combo's build:

boost version| compiler
------------ | ------------------
boost@1.54.0 | gcc@4.8.5 (system)
boost@1.54.0 | gcc@5.4.0 (Spack)
boost@1.64.0 | gcc@5.5.0 (system)
2017-05-19 11:55:21 -05:00
Tom Merrick
0bff9c1eb1 Add r-rmpfr and r-gmp to R (#4287)
* Add mpi support to R

* Add multiple precision math routines to R

* Updated the URL to match the version

* Remove duplicate packages
2017-05-19 09:59:35 -05:00
George Hartzell
be356cf707 Add info for libxml2@2.7.8 (#4290)
bcl2fastq2 needs this older version.
2017-05-18 19:02:03 -05:00
kothah
153a63de62 added new version 7.900.1 (#4292)
added new md5
2017-05-18 19:01:40 -05:00
Douglas Duckworth
f72cd79ad1 add mpi support to meme (#4265)
* added openmpi support to meme

* openmpi is a link dependency which leverages r_path

* openmpi support now the default - meme does not have configure argument for mpi - if it's found then it's used

* added serial option and set mpi to not be default

* modified meme
2017-05-18 15:37:47 -05:00
Adam J. Stewart
04ccb8f774 Add old version of ROOT 5 (#4288) 2017-05-18 13:22:09 -05:00
Adam J. Stewart
fa90a65d09 Fix spec['python'].home (#4228) 2017-05-18 12:12:08 -05:00
Tom Merrick
5486d021d6 Add mpi support to R (#4286) 2017-05-18 11:24:40 -05:00
Patrick Gartung
a29921b995 Add the gnupg package and missing dependencies. Update versions of ex… (#4281)
* Add the gnupg package and missing dependencies. Update versions of existing dependencies.

* this ended up in the wrong repo

* put versions back, remove uneeded function

* OK ;)

* autopep8

* typo on npth line

* whitespace
2017-05-18 10:11:27 -05:00
Adam J. Stewart
48588cb1d8 Add a new package for Open Babel (#4256)
* Add a new package for Open Babel

* Add post-installation tests, stolen from the fine folks at Homebrew

* Add patch to fix Python 3.6 support

* Add a more complete patch to get Python 3.6 support working

* Add patch to convert tabs to spaces in test script

testpdbformat.py contains mixed tabs and spaces
causing the unit tests to fail. With this patch,
all tests pass with flying colors.
2017-05-18 10:06:44 -05:00
Erik Schnetter
48eec5fc0f benchmark: New package for the Google Benchmark library (#4194)
* benchmark: New package

* benchmark: Remove empty function
2017-05-17 20:58:32 -05:00
George Hartzell
8eeb63e78e Add info for miniconda[23]@4.3.14 (#4263) 2017-05-17 20:57:48 -05:00
George Hartzell
daaa37c1ff Package for bcl2fastq2 (updates libxslt) (#4234)
* Add v1.1.26 and make crypto a variant

I need 1.1.26 for bcl2fastq2.

I also need to build it without crypto support.

* Initial support for bcl2fastq2

* Clean up commentary, messages, names

No substantial changes intended, just cleanup.

* fix flake8 and extra import

* The masked grammarian strikes again...

* Be normal (messages don't end in periods)

* When +crypto, add --with-crypto

Add `--with-crypto` to configure args when user hasn't explicitly set
`~crypto`.

* self.spec.satisfies is unsatisfying, in is in instead

See #4135, self.spec.satisfies has issues.  @adamjstewart suggests
simply using in.
2017-05-17 20:57:23 -05:00
Adam J. Stewart
5b527e2c14 Add a new package for sphinxcontrib-programoutput (#4267) 2017-05-17 19:51:15 -05:00
Adam J. Stewart
bb451f967c Add latest version of matplotlib (#4279) 2017-05-17 19:50:50 -05:00
Adam J. Stewart
96560cc11f Add latest version of Sphinx (#4264)
* Add latest version of Sphinx

* Flake8 fix
2017-05-17 18:07:10 -05:00
Adam J. Stewart
de958df3b8 Update checksum for latest version of cudnn (#4254) 2017-05-16 11:42:00 -05:00
Douglas Duckworth
9a4b86cd49 added meme package (#4257)
* added albacore package as well as dependency py-ont-fast5-api

* added py-cutadapt and dependency py-xopen

* made more changes to albacore and cutadapt as well as dependencies

* made changes again per @adamjstewart

* fixed by python n00b errors i think

* fixed?

* tw=79

* made changes to py-ont-fast5-api ont-albacore

* removed bad characters

* albacore requires setuptools as build and run dependency

* added vmd

* added back albacore

* removed vmd package

* added meme software

* libz is only needed as link depedency for meme

* added libxml2 libxslt libgcrypt as link dependencies
2017-05-16 09:42:37 -05:00
Adam J. Stewart
fbc9d5a634 albacore requires setuptools as build and run requirement (#4255) 2017-05-15 15:57:21 -05:00
Adam J. Stewart
9f6c166f2f Add missing dependency to glib package (#4253) 2017-05-15 14:17:28 -05:00
Adam J. Stewart
6a328892d2 Add latest version of util-linux (#4252) 2017-05-15 12:47:03 -05:00
Adam J. Stewart
7864fbfcd3 Remove need for autoreconf in glib package (#4240) 2017-05-15 09:46:19 -05:00
Milton Woods
1ab2077b87 mesa-glu: provides libGLU, the OpenGL utility library from SGI (#4244) 2017-05-14 07:41:00 -05:00
Milton Woods
447d6f6602 harfbuzz: add latest version (1.4.6) (#4245) 2017-05-14 07:39:50 -05:00
Milton Woods
1cb98167a2 ncurses: build "normal" libs, not just "wide-char" libs, for ncurses@6: (#4246) 2017-05-14 07:37:50 -05:00
Christoph Junghans
f147c9f5f0 espressopp: always depends on py-numpy (#4207)
Ref espressopp/espressopp#161
2017-05-12 14:36:11 -05:00
Douglas Duckworth
360dc4a709 albacore and cutadapt again (#4219)
* added albacore package as well as dependency py-ont-fast5-api

* added py-cutadapt and dependency py-xopen

* made more changes to albacore and cutadapt as well as dependencies

* made changes again per @adamjstewart

* fixed by python n00b errors i think

* fixed?

* tw=79

* made changes to py-ont-fast5-api ont-albacore

* removed bad characters
2017-05-12 14:11:20 -05:00
Hans Pabst
4e13641db8 LIBXSMM 1.8.1 (#4235)
* Included LIBXSMM 1.8 into the list of available versions.

* LIBXSMM 1.8.1
2017-05-12 13:51:43 -05:00
Adam J. Stewart
c612781f6f Convert pixman to AutotoolsPackage (#4231) 2017-05-12 11:29:16 -05:00
Jean-Paul Pelteret
d972ba7fbc Add SymEngine release 0.3.0 (#4227) 2017-05-12 07:49:06 -05:00
Milton Woods
2413f1ec3e Python cdat-lite package (#4208)
* py-cdat-lite: a python package for managing and analysing climate science data

* py-cdat-lite: depends on py-numpy

* py-cdat-lite: flake8 compliance

* py-cdat-lite: provide a generic URL where multiple versions are listed

* py-cdat-lite: restrict python versions; python required at run-time

* py-cdat-lite: use URL under pypi.io for consistency with other packages

* py-cdat-lite: add run-time dependency on py-numpy
2017-05-12 07:46:58 -05:00
Michael Kuhn
e7016b250f Add pdt support to scorep (#4198)
Add pdt dependency to scorep
2017-05-12 07:37:18 -05:00
Adam J. Stewart
5719cfb2f7 Download udunits from FTP server (#4218) 2017-05-11 19:07:12 -05:00
Adam J. Stewart
34cfd2483a Add latest version of eigen (#4224) 2017-05-11 19:06:11 -05:00
Adam J. Stewart
70939cf147 Fix metis list_url (#4222) 2017-05-11 19:04:38 -05:00
Stephen McDowell
d01f01c77f Flann package (#3966)
* Initial attempt at flann packaging.

Python2 somehow works. Python3 does not.  Still debugging their
obscure setup.py configuration.

* Flann good enough. Python3 broken but close.

Flake8 checks in place.  Unsure about CMAKE_BUILD_TYPE and default
spack behavior.

* spack uses RelWithDebInfo as default build type.

* builds py2/3, but direct site-packages install

* prefix working, empty python install dir

* flann package +python installs correctly

* str format {0} instead of {}

* potential doctest fix

* consistency of build env with PythonPackage

* fix python again, test deptype todo, build type

* potentially enable matlab, untested
2017-05-11 19:03:23 -05:00
Adam J. Stewart
4cc2d33bcf Force suite-sparse to use Spack's compiler wrappers (#4220) 2017-05-11 18:07:28 -05:00
Adam J. Stewart
9e65f2347c Add patch to fix missing MODULESHOME in profile (#4214) 2017-05-11 14:50:29 -05:00
Adam J. Stewart
23ee792dcf Update NAG checksum, add F77 and FC (#4196) 2017-05-11 11:30:55 -05:00
Howard Pritchard
64dfc8bda6 Open MPI: add 2.1.1 to the list (#4204)
Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2017-05-10 16:08:52 -05:00
Michael Kuhn
a01be73185 Add nemesistcpib fabrics variant (#4197) 2017-05-10 14:37:01 -05:00
Suzanne Parete-Koon
e1d8cc86f0 updating git (#4200) 2017-05-10 14:36:10 -05:00
Erik Schnetter
e453865859 cosmomc: Enable Python bindings (#4169)
* cosmomc: Enable Python bindings

* cosmomc: Make python dependency optional
2017-05-10 10:10:53 -05:00
Erik Schnetter
28c7d15df8 hdf5: Correct spelling (#4172)
* hdf5: Correct spelling

* hdf5: avoid trailing spaces
2017-05-10 10:10:31 -05:00
Erik Schnetter
c422b33d77 highfive: New package; this is a C++ wrapper for the HDF5 library (#4173)
* highfive: New package; this is a C++ wrapper for the HDF5 library

The C++ wrapper that is shipped with the HDF5 library has several shortcomings. The highfive library seems to avoid these.

* highfive: Make MPI variant default to true
2017-05-10 09:47:56 -05:00
Adam J. Stewart
94c1651bce Add latest version of PGI compilers (#4186)
* Add latest version of PGI compilers

* Prepend, don't overwrite
2017-05-10 08:16:39 -05:00
Stephen McDowell
61ad369186 py-flask version updates, remote switch (#4166)
* version updates, remote switch

* trim versions to original and most recent

* proper url discovered and tested
2017-05-10 08:15:47 -05:00
Stephen McDowell
c0ceece9cc enable cuda support for suite-sparse (#4163)
* enable cuda support for suite-sparse

* do not use spec.satisfies

* cuda restructure, give clearer comment of why

* str format compatibility

* flake8 checks
2017-05-10 08:13:14 -05:00
Adam J. Stewart
b5eb298f3e Add a new package for ExtUtils::MakeMaker (#4179) 2017-05-09 18:52:08 -05:00
Adam J. Stewart
36db5ba9d8 Fix newline character in GCC package (#4181)
* Fix newline character in GCC package

* Remove the newline completely
2017-05-09 18:51:40 -05:00
Mark C. Miller
64fb2f22b4 Adding FASTMath uber package and missing FASTMath packages (#4120)
* adding 0.5.1 and variant for uint8 bit stream word type

* Revisions as per davydden

* fixing style (flake8) issues

* - switched to derive from MakefilePackage
- fixed typo in variant check
- Confirmed installs correctly with bswtuint8 variant

* added build method; changed zfp_incdir to incdir

* * Adding uber fastmath package to support 'spack install fastmath'
* Adding dims variant boxlib to control compile-time spatial dimension count
* Explicitly disabling many parts of moab to get lib to build. Don't need tools yet.
* Add logic to spack/setup-env to not refer to $SYS_TYPE if its not defined.

* adding mesquite package

* * Added Chombo (still working on Fortran name mangling)
* Made mesquite depend on mpi
* Fixed use of boxlib's dims numerical variant

* adding PUMI

* flake8 compliance

* adding phasta

* fixing flake8 issues

* undue $SYS_TYPE protection change

* fixing install step for fastmath uber package; resolve issues requested by adamjstewart in PR

* revisions as per adamjstewart

* re-enabling trilinos and phasta dependencies

* all changes requested modulu values= and assert statement

* fixing cmake_args usage in pumi; fixing lib installs for chombo

* first pass at numerical variant

* fixing dims variant as per @adamjstewart

* fixing func/var name collision

* fixing means of disabling -Werror

* fix name collision for cmake_args var/func

* fixing chombo homepage/url; make FASTMath use chombo#3.2; remove extraneous comment about boxlib dim

* remove dummy fastmath package; switch to @BarrySmith soln for install of dummy bundle

* fix flake8 import os issue

* remove extraneous comment

* adding url for fastmath scidac site

* final fixes as per @adamjstewart

* adding 1 dims option for boxlib

* switching make(all) to gmake(all)
2017-05-09 18:26:57 -05:00
Adam J. Stewart
a5fd658986 Add latest versions of Intel compiler (#4184) 2017-05-09 18:15:14 -05:00
George Hartzell
ba32f0d3a2 Make openmpi package defn more robust (#4183)
Make openmpi handle bad ibv_devices return statuses without bailing out completely.

See #4162 for background.
2017-05-09 18:00:08 -05:00
Erik Schnetter
692a100caa ncurses: Always build tools (#4174)
Otherwise, the install can fail if the system-provided `tic` binary is too old.
2017-05-09 17:59:46 -05:00
Erik Schnetter
caabcdc8b4 simulationio: Declare dependency on the HDF5 C++ bindings (#4177) 2017-05-09 17:59:21 -05:00
Erik Schnetter
44440d023d qthreads: Convert to AutoTools package (#4176) 2017-05-09 17:58:44 -05:00
Erik Schnetter
0e02f99323 funhpc: Update to version 1.3 (#4170)
Also use a Spack-provided GoogleTest.
2017-05-09 16:19:06 -05:00
Erik Schnetter
68034e4d42 gdbm: Declare readline dependency (#4171) 2017-05-09 16:18:17 -05:00
Massimiliano Culpo
306f158c73 cp2k: fixed compilation issues for intel stack
Added DFLAGS to the `make.inc` file being written.
These macros are also added to the language specific variables
like CFLAGS, CXXFLAGS and FCFLAGS. Changed `spec.satisfies('foo')`
with `'foo' in spec` in `intel-mkl`, see #4135. Added a basic
build interface to `intel-mpi`.
2017-05-09 18:46:42 +02:00
Adam J. Stewart
4b866c6395 Add GCC 7 (#4144)
* Add GCC 7
* Allow users to build subset of GCC compilers with multi-value variant.
* Add comment explaining what 'all' actually means
* More specific golang support
* Only require Zip when building Java
* Comment out provide directives that don't currently work
* Add Ada support
* Use conflicts directive
* Fix joining of languages
* Need special flag to build jit
* Explicitly declare GNAT download extension
* Import tty, update lib64 to lib
* BRIG and Go are not supported on macOS
* Simplify formatting and imports
* JIT patch required for newer versions as well
2017-05-08 13:28:28 -07:00
Denis Davydov
7923579a42 qt: add 5.8.0 which builds on Sierra with clang 8.1.0 (#4109)
* qt: add 5.8.0 which builds on Sierra with clang 8.1.0

* enable parallel build, add freetype dependency

* minor

* minor
2017-05-08 14:29:08 -05:00
scheibelp
16aa8faf45 Merge pull request #4145 from scheibelp/features/temporary-no-python-for-libxcb
Remove python dependency for libxcb and xcbproto
2017-05-08 11:22:27 -07:00
Luigi Calori
b65daa93be Paramiko python extensions + his deps and other related extensions (#4158)
* adding paramiko and missing dependencies, setup to work with #2548

* adding other deps for paramiko

* fix flake8 errors

* removed spurious add

* address suggestion for proper dependencies

* fix cryptography deps

* remove FIXME comments and commented depends lines
2017-05-07 19:00:25 -05:00
nvarini
bb1a8efaca Added scala package (#67) 2017-05-07 13:05:29 +02:00
Adam J. Stewart
42b09640f0 gmp: switch to download directly from GNU (#4152) 2017-05-06 14:24:19 -05:00
Adam J. Stewart
4f439f8e82 mpfr: switch to more reliable URL (#4139)
* Add list_url to mpfr

* Switch to download directly from GNU

* http -> https
2017-05-06 14:22:32 -05:00
Barry Britt
c0a52cc59e Updating bamtools to include a dependency for zlib. (#4031)
* Updating bamtools to include a dependency for zlib.

In a standard compile, bamtools will fail if zlib headers are not installed on the target machine. In order to maintain compatibility with all systems -- and since zlib is included already as a dependency for cmake -- this patch adds zlib as a link dependency for the bamtools package.

* Modified cmake rpath include.

Bamtools has a non-standard library location, so we need to append $prefix/lib/bamtools to the rpath. Not sure there's a better way to do this...

* Fixing syntax error in package.py

Fixed a non-terminated parenthesis on line 46.

* Updated bamtools to be a CMakePackage

Removed extraneous code, and altered the package to extend cmake_args
including the non-standard library location.

* UpRemoving cmake dependency and removing blank line from end of file

* Updates to cmake_args.

Removed the duplicate definition of std_cmake_args in favor of simply overriding the CMAKE_INSTALL_RPATH variable that is provided. This should allow the package to be linked correctly to itself.
2017-05-06 12:05:12 -05:00
Matthew Scott Krafczyk
741e4df233 Update zlib to work with other compilers (#4088)
* Fix -include issue with intel and pgi in zlib

MERGE CANDIDATE

* Patch zlib to compiler with the cray compiler suite.
2017-05-06 12:02:32 -05:00
George Hartzell
f55eddb9bd Add info for perl@5.22.1 (#4147)
What the user wants, the user gets....
2017-05-05 18:00:23 -05:00
Adam J. Stewart
be991a6efa Add latest version of curl (#4140) 2017-05-05 16:21:37 -05:00
Adam J. Stewart
6e23c31ad1 Python 3 doesn't have iteritems, use items (#4143) 2017-05-05 16:21:15 -05:00
Adam J. Stewart
c3af901ac6 Add latest version of Lmod (#4141) 2017-05-05 23:06:07 +02:00
Peter Josef Scheibel
19511a78b8 Remove python dependency for libxcb and xcbproto
python+tk will not build because it depends (indirectly) on python~tk
via libxcb. There are efforts to allow multiple instances of a package
to concretize together but they are ongoing so in the meantime this
comments out the dependencies and adds TODOs
2017-05-05 13:06:49 -07:00
George Hartzell
f532b4c90b Add info for jdk@8u73 (#4137)
* Fix ordering of versions (proper!)

* Add url/digest for jdk@8u73
2017-05-05 13:05:27 -05:00
Todd Gamblin
665e328566 Add OpenCV 3.2.0 checksum (#4138) 2017-05-05 13:05:05 -05:00
George Hartzell
0042b5e856 Add info for r@3.3.3 (#4128) 2017-05-05 13:04:46 -05:00
Massimiliano Culpo
85b4b15d9a SV variants are evaluated correctly in "when=" (#4118)
* SV variants are evaluated correctly in `when=` statements fixes #4113

The problem here was tricky:
```python
spec.satisfies(other)
```
changes already the MV variants in others into SV variants (where
necessary) if spec is concrete. If it is not concrete it does
nothing because we may be acting at a pure syntactical level.

When evaluating a `when=` keyword spec is for sure not concrete
as it is in the middle of the concretization process. In this case we
have to trigger manually the substitution in other to not end up
comparing a MV variant "foo=bar" to a SV variant "foo=bar" and having
False in return. Which is wrong.

* sv variants: improved error message for typos in "when=" statements
2017-05-04 11:01:02 -07:00
Massimiliano Culpo
6a9052bd4d variants: fixed packages reported by @adamjstewart in #4098 (#4105) 2017-05-04 10:58:58 -07:00
Gregory Lee
26a9793148 patch sqlite to work around macro definition (#4117) 2017-05-04 06:43:27 -05:00
Matthew Scott Krafczyk
18db25bb02 Update py-beautifulsoup4 (#4089)
* Update py-beautifulsoup4

* Change beautifulsoup4 url to pypi.io url.
2017-05-03 14:17:04 -05:00
Matthew Scott Krafczyk
07e1597a15 building wget depends on perl > 5.12.0 (#4087)
* building wget depends on perl > 5.12.0

* Remove extra parenthesis
2017-05-03 10:29:55 -05:00
Massimiliano Culpo
7ef46f4f69 hdf5: updated version (#4108) 2017-05-03 08:06:04 -05:00
Massimiliano Culpo
ae9a9e019a spack: no stacktrace if not in debug mode + fix emacs variant (#4098)
* spack: no stacktrace if not in debug mode + fix emacs variant

* emacs: removed dead code
2017-05-03 06:21:37 +02:00
Matthew Scott Krafczyk
72d45f7a44 Add the py-dryscrape package (#4094)
* Add the py-dryscrape package

* Adjust dependencies and change development to develop
2017-05-02 18:47:55 -05:00
Matthew Scott Krafczyk
a651b979ca Update the py-lxml package (#4090) 2017-05-02 16:35:42 -05:00
Matthew Scott Krafczyk
f265eefa22 Add findutils package (#4091) 2017-05-02 16:35:15 -05:00
Matthew Scott Krafczyk
abdb1fb0a0 Add the py-webkit-server package (#4092)
* Add the py-webkit-server package

* Change development to develop
2017-05-02 16:34:28 -05:00
Matthew Scott Krafczyk
2a1301596d Add the py-xvfbwrapper package (#4093) 2017-05-02 15:29:48 -05:00
Matthew Scott Krafczyk
70ea990efd Add py-pyprof2html package (#4095) 2017-05-02 15:28:46 -05:00
Matthew Scott Krafczyk
39ddc7d159 Add py-libconf package (#4096) 2017-05-02 15:28:19 -05:00
Matthew Scott Krafczyk
a0efcaef69 Add the libconfig package (#4097) 2017-05-02 15:27:56 -05:00
Massimiliano Culpo
78c4d0bd20 cgal: updated version (#4081) 2017-05-02 12:27:37 -05:00
Adam J. Stewart
9a3acea759 Allow ghostscript to build with Spack dependencies (#4065) 2017-05-02 09:45:10 -05:00
Adam J. Stewart
0f9059236c Add missing dependencies to emacs (#4068) 2017-05-02 09:44:02 -05:00
Massimiliano Culpo
b32afbbbcb mvapich2: fixed broken reference to spec (#4078) 2017-05-02 11:26:30 +02:00
Adam J. Stewart
c86b53a73f Add latest version of libtiff (#4067) 2017-05-01 15:19:51 -05:00
Massimiliano Culpo
9e4b0eb34a Multi-valued variants (#2386)
Modifications:
- added support for multi-valued variants
- refactored code related to variants into variant.py
- added new generic features to AutotoolsPackage that leverage multi-valued variants
- modified openmpi to use new features
- added unit tests for the new semantics
2017-05-01 13:08:47 -07:00
Adam J. Stewart
5d0d670b72 Add latest version of lcms (#4066) 2017-05-01 14:31:59 -05:00
Adam J. Stewart
2511520b32 Add a WafPackage base class (#3975)
* Add a WafPackage base class

* Correct comment in docstring

* Be more specific about the Python versions supported
2017-05-01 08:00:09 -07:00
Christoph Junghans
9f46bc8997 flecsale: works with python3 (#4058)
Ref laristra/flecsale#41
2017-04-30 19:25:16 -07:00
Massimiliano Culpo
17767bcf25 suite-sparse: updated version (#4055) 2017-04-30 12:01:35 +02:00
Christoph Junghans
110f68a83f Clean up now that submodules are properly supported. (#4053) 2017-04-29 20:43:16 -07:00
Christoph Junghans
0a9beccc4a flecsale: add more features (#4052) 2017-04-29 20:39:22 -05:00
Adam J. Stewart
ce3ab503de Python command, libraries, and headers (#3367)
## Motivation

Python installations are both important and unfortunately inconsistent. Depending on the Python version, OS, and the strength of the Earth's magnetic field when it was installed, the name of the Python executable, directory containing its libraries, library names, and the directory containing its headers can vary drastically. 

I originally got into this mess with #3274, where I discovered that Boost could not be built with Python 3 because the executable is called `python3` and we were telling it to use `python`. I got deeper into this mess when I started hacking on #3140, where I discovered just how difficult it is to find the location and name of the Python libraries and headers.

Currently, half of the packages that depend on Python and need to know this information jump through hoops to determine the correct information. The other half are hard-coded to use `python`, `spec['python'].prefix.lib`, and `spec['python'].prefix.include`. Obviously, none of these packages would work for Python 3, and there's no reason to duplicate the effort. The Python package itself should contain all of the information necessary to use it properly. This is in line with the recent work by @alalazo and @davydden with respect to `spec['blas'].libs` and friends.

## Prefix

For most packages in Spack, we assume that the installation directory is `spec['python'].prefix`. This generally works for anything installed with Spack, but gets complicated when we include external packages. Python is a commonly used external package (it needs to be installed just to run Spack). If it was installed with Homebrew, `which python` would return `/usr/local/bin/python`, and most users would erroneously assume that `/usr/local` is the installation directory. If you peruse through #2173, you'll immediately see why this is not the case. Homebrew actually installs Python in `/usr/local/Cellar/python/2.7.12_2` and symlinks the executable to `/usr/local/bin/python`. `PYTHONHOME` (and presumably most things that need to know where Python is installed) needs to be set to the actual installation directory, not `/usr/local`.

Normally I would say, "sounds like user error, make sure to use the real installation directory in your `packages.yaml`". But I think we can make a special case for Python. That's what we decided in #2173 anyway. If we change our minds, I would be more than happy to simplify things.

To solve this problem, I created a `spec['python'].home` attribute that works the same way as `spec['python'].prefix` but queries Python to figure out where it was actually installed. @tgamblin Is there any way to overwrite `spec['python'].prefix`? I think it's currently immutable.

## Command

In general, Python 2 comes with both `python` and `python2` commands, while Python 3 only comes with a `python3` command. But this is up to the OS developers. For example, `/usr/bin/python` on Gentoo is actually Python 3. Worse yet, if someone is using an externally installed Python, all 3 commands may exist in the same directory! Here's what I'm thinking:

If the spec is for Python 3, try searching for the `python3` command.
If the spec is for Python 2, try searching for the `python2` command.
If neither are found, try searching for the `python` command.

## Libraries

Spack installs Python libraries in `spec['python'].prefix.lib`. Except on openSUSE 13, where it installs to `spec['python'].prefix.lib64` (see #2295 and #2253). On my CentOS 6 machine, the Python libraries are installed in `/usr/lib64`. Both need to work.

The libraries themselves change name depending on OS and Python version. For Python 2.7 on macOS, I'm seeing:
```
lib/libpython2.7.dylib
```
For Python 3.6 on CentOS 6, I'm seeing:
```
lib/libpython3.so
lib/libpython3.6m.so.1.0
lib/libpython3.6m.so -> lib/libpython3.6m.so.1.0
```
Notice the `m` after the version number. Yeah, that's a thing.

## Headers

In Python 2.7, I'm seeing:
```
include/python2.7/pyconfig.h
```
In Python 3.6, I'm seeing:
```
include/python3.6m/pyconfig.h
```
It looks like all Python 3 installations have this `m`. Tested with Python 3.2 and 3.6 on macOS and CentOS 6

Spack has really nice support for libraries (`find_libraries` and `LibraryList`), but nothing for headers. Fixed.
2017-04-29 17:24:13 -07:00
Adam J. Stewart
a32a0eacba Add a new package for dash (#4050) 2017-04-29 12:24:50 -07:00
Adam J. Stewart
90a57cdf8f Add latest version of PGI compilers (#4047)
* Add latest version of PGI compilers

* Add environment variables for PGI
2017-04-29 13:55:00 -05:00
Massimiliano Culpo
89ea5bdd61 A few updates to packages (mostly version updates) (#4049) 2017-04-29 07:44:55 -05:00
George Hartzell
2cfc5eebb5 Bug/make dia build (#4045)
* Make dia build w/ Spack's X bits (and misc)

X related

- need to depend on the +X variant of gtkplus
- need to depend on freetype

misc

- fix path to tarball

* Make freetype a "build" dependency

* Freetype is not just a build dep
2017-04-28 15:30:09 -05:00
Mark Olesen
6814842814 Allow compilation of mgridgen (serial) as well as parmgridgen (parallel) (#3906) 2017-04-28 15:02:05 -05:00
sknigh
15692c5475 ncurses package builds ncurses and ncursesw (#3953)
* ncurses package will build ncurses and ncursesw

* Added libs property to ncurses, added fix for hstr

* flake8 is a harsh mistress

* make libs() more robust

* atop depends on ncurses

* fish depends on ncurses

* libtermkey and nano depend on ncurses

* Adjust url spacing
2017-04-28 14:57:55 -05:00
Brian Van Essen
7f9acfa3b2 Various patches to Openblas for Intel (#4030)
* Added a patch to the openblas package to change the openmp flag for
icc to qopenmp.

* Fixed a linking problem where when using Intel compilers, it was still
pulling in -lgfortran
2017-04-28 14:54:59 -05:00
George Hartzell
529a2ae5fa Depend on readline, remove hardcoded -ltermcap (#4042)
* depend on readline, remove hardcoded -ltermcap

Bowtie should use Spack's readline and not explicitly depend on the
system termcap (which, on CentOS, leads to linking against the
system's tinfo library).

* Add depends_on('zlib')

* Add conflict with gcc@6:

Build seems to have trouble with 6's migration to -std=gnu++14.
2017-04-28 14:47:43 -05:00
Adam J. Stewart
3f6e03d5c1 Add a new package for Cbench (#4043) 2017-04-28 13:44:30 -05:00
Adam J. Stewart
2b6206a504 Add a new package for dos2unix (#4037) 2017-04-28 13:13:42 -05:00
Denis Davydov
a1059b5a6c dealii: fix missing -march=native in flags (#4036) 2017-04-28 12:43:06 -05:00
Adam J. Stewart
d970ef5404 Add a list_url for libpng (#4038) 2017-04-28 10:53:14 -05:00
Massimiliano Culpo
e78e87fd4b python: added version 3.6.1 (#4035) 2017-04-28 09:55:02 -05:00
Christoph Junghans
8d92e26712 New package: portage (#4029) 2017-04-28 07:25:29 +02:00
Adam J. Stewart
091a689cb0 Add new package for PVM (#4028) 2017-04-28 07:24:23 +02:00
Christoph Junghans
e8a814463c New package: flecsale (#4025) 2017-04-27 16:52:26 -05:00
Jeffrey Salmond
510d725b64 add relion package (#4020)
* add relion package

* fix flake8

* add licence
2017-04-27 16:52:05 -05:00
Kelly (KT) Thompson
109a3ed8e9 Dia requires libxml2. (#3976)
* Dia requires libxml2.

* Clean up dependencies for Dia (and add X11 deps).

+ Remove dependencies on cairo and libpng.  The will be satisfied via gtkplus.
+ Add dependencies on X11 libraries: libsm, libuuid, libxinerama, libxrender.
+ From a dependency diagram, it doesn't appear that we need libxml2 since this
  dependency should be come in through cairo (via gtkplus).  However, Dia will
  not build without it.
2017-04-27 14:04:45 -07:00
Christoph Junghans
6f62a4fe36 flecsi: add mpi interoperability (#4000) 2017-04-27 15:10:30 -05:00
Adam J. Stewart
5d6a488c69 Add latest versions of root (#4022) 2017-04-27 14:13:39 -05:00
George Hartzell
58567a2182 Adjustments to get gtkplus to build (#3208)
* Hackery to get gtkplus to build

PR #3077 broke gtkplus by introducing gobject-introspection.

This big hack makes things work.  It has problems.

1. Rather than deal with the nasty sbang fooey in the
   g-ir-tool-template.in derived scripts, it just adds a python
   dependency to each package that runs one of the scripts.  This lets
   the `/usr/bin/env python` sbang do the right thing.

2. It stuffs a several directories on to the XDG_DATA_DIRS environment
   variable, which is used for (among other things) locating the .gir
   files.

3. It avoids building the gtkplus demos because I can't make the bit
   that calls `gdk-pixbuf-csource` work.  It doesn't think that it can
   load `.png` files and all of the google hits I found suggest a bad
   `loader.cache` file.  The file's fine and I can strace the command
   and watch it read it in...  Many, many hours wasted here.

   In spite of the demo failing, the tests pass and an emacs built
   with this lib seems to work.

* Fix sbang so everyone needn't depend_on python

Rather than have every package that
`depends_on('gobject-introspection')` also need to
`depend_on('python')`, this commit fixes the
scripts (e.g. `g-ir-scanner`).

The interesting bit is in the gobject-introspection package.  There is
a beefy comment there that is included below.

The commit also removes the now un-necessary dependencies from various
packages.

I have two reservations about this commit:

1. How portable is the "insertion" sed command?  I'm particularly
   worried that some sed's might need the line to insert to be on a
   different line, which I can't imagine how to cram into the
   Makefile.in.

   The solution I see to this is rather than extending the existing
   sed command in the Makefile I could shim in another line in the
   rule and e.g. call a bit of Perl (or Python, I suppose) which would
   end up being much neater.

2. As written it always uses Spack's `.../bin/sbang`, which might or
   might not be a good idea.

   If I use "the solution" from number 1 above, then I can check the
   line length before I munge it.  Otherwise???

---

 This package creates several scripts from                                                                                                |
 toosl/g-ir-tool-template.in.  In their original form these                                                                               |
 scripts end up with a sbang line like                                                                                                    |
                                                                                                                                          |
 `#!/usr/bin/env /path/to/spack/python`.                                                                                                  |
                                                                                                                                          |
 These scripts are generated and then used as part of the build                                                                           |
 (other packages also use the scripts after they've been                                                                                  |
 installed).                                                                                                                              |
                                                                                                                                          |
 The path to the spack python can become too long.  Because these                                                                         |
 tools are used as part of the build, the normal hook that fixes                                                                          |
 this problem can't help us.                                                                                                              |
 This package fixes the problem in two steps:                                                                                             |
 - it rewrites the g-ir-tool-template so that its sbang line                                                                              |
   refers directly to spack's python (filter_file step below); and                                                                        |
 - it patches the Makefile.in so that the generated Makefile has an                                                                       |
   extra sed expression in its TOOL_SUBSTITUTION that results in                                                                          |
   an `#!/bin/bash /path/to/spack/bin/sbang` unconditionally being                                                                        |
   inserted into the scripts as they're generated.                                                                                        |

* Cairo needs python when it's +X

Cairo needs to depend_on python when it's +X.  I think it's an
indirect requirement that's coming in via libxcb).

* Flake8 cleanup

* Make cairo's dep on python be type=build

This seems to be the right thing and seems to produce a result
that works (I can build gtk+ and then emacs+X on top of it).
2017-04-27 11:04:26 -05:00
Milton Woods
41e3e7dbff ghostscript: add version 9.21 and handle new URL format (#3898)
* ghostscript: add version 9.21 and handle new URL format

* ghostscript: add url of latest version to fix `spack versions`

* ghostscript: use github for all versions our package provides (>= 9.18)
2017-04-27 10:42:56 -05:00
Adam J. Stewart
5422ac1558 Add latest version of libx11 (#4011) 2017-04-26 17:35:29 -05:00
Adam J. Stewart
2553afac25 Add latest version of libxpm (#4012) 2017-04-26 17:34:47 -05:00
Adam J. Stewart
369d370d0c Add latest version of libxrender (#4013) 2017-04-26 17:34:27 -05:00
Adam J. Stewart
463d91cd9f Add latest version of xproto (#4010) 2017-04-26 16:35:07 -05:00
Adam J. Stewart
581635c5ab Add latest version of libpthread-stubs (#4009) 2017-04-26 16:27:46 -05:00
Adam J. Stewart
2c1e5f9ee1 Add latest version of fontconfig (#4007) 2017-04-26 15:49:48 -05:00
Adam J. Stewart
348e715da7 Add missing readline dependency to sqlite (#4001)
* Add missing readline dependency to sqlite

* Fix typo
2017-04-26 14:59:03 -05:00
Gregory Lee
378935916a matplotlib and basemap require setuptools to run properly together (#3835)
* matplotlib and basemap require setuptools to run properly together

* flake 8 fix
2017-04-26 13:53:27 -05:00
Barry Smith
1e18ace647 Update checksum for dummy xsdk package (#4002)
Commit-type: bug-fix
Funded-by: IDEAS
Project: xSDK
Reported-by: "Klinvex, Alicia Marie" <amklinv@sandia.gov>
2017-04-26 13:39:09 -05:00
Adam J. Stewart
c616e4a619 Add list_url for bzip2 (#3988) 2017-04-26 10:49:27 -05:00
Jeffrey Salmond
e3378a0d3b add kokkos package (#3997)
* add kokkos package

* fix flake8

* add descriptions to kokkos variants
2017-04-26 09:33:00 -05:00
Christoph Junghans
97af407ae4 gasnet: build with fPIC for shared lib consumers (#3962) 2017-04-26 09:31:23 -05:00
jadoro
eba21b86bd Add ncurses as zsh dependency (#3991)
zsh build will fail with 
configure: error: "No terminal handling library was found on your system."
if ncurses is not found.
2017-04-26 07:53:58 -05:00
Milton Woods
e6efb1aa21 perl: identify dependency on gdbm (#3896)
* perl: provide +gdbm variant for use when system dbm is missing or buggy

* perl: remove gdbm variant; always depends on gdbm

* perl: pass gdbm paths as Configure arguments
2017-04-26 07:42:43 -05:00
futuretristan
3b32e008ec ipopt: fix build with Linux clang (#3995) 2017-04-26 01:42:48 -07:00
Adam J. Stewart
11dae722c2 Fix bug with '# noqa' filtering (#3993) 2017-04-25 22:23:01 -07:00
George Hartzell
33c9a91d85 Make perl and python variants (#3992)
The blast+ configure script supports building
--with-{python,perl}=path and --without-{python,perl}.

This commit makes the use of those two languages configurable via
variants and adds dependencies and explicit --with-... or
--without-... flags to configure.

Python was a non-optional dependency, now it is a variant that
defaults to `True`.

Perl was not previously an explicit dependency but the configure
script was likely to discover one on your system (`/usr/bin/perl`).
It is now a variant that defaults to `True`.

I am unable to accurately determine what these flags to the configure
script enable.  My users are frustrated by the dependency on Python in
particular because it constrains the other modules that they can have
loaded for new discernible benefit.
2017-04-26 06:04:20 +02:00
Barry Smith
d04ae9a2b4 xsdk version 0.2.0 (#3928)
* xSDK: a bundle/meta package that simple installs a series of packages with suitable specs

This is based on struggles with previous attempts at such a bundler
Funded-by: IDEAS
Project: IDEAS/xSDK
Time: 12 hours

* PETSc needs c++11 when built with Trilinos

* Added alquimia package

* remove direct setting of cpp in petsc/package.py since it doesn't work on some systems.

Funded-by: IDEAS
Project: IDEAS/xSDK
Time: .3 hours
Reported-by: Mark A. Berrill <berrillma@ornl.gov>

* provide the MPI compilers to PETSc configure with --with-cc etc instead of --with-mpi-dir

Funded-by: IDEAS
Project: IDEAS/xSDK

* Spack bug fix issue #3144

String could contain /n which resulting in spack generating warning message to stderr on each
use of compiler which configure interpreted as failing compiler

Thanks-to: Mark A. Berrill <berrillma@ornl.gov>

* Fixed alquimia package

Alquimia expects PETSC_DIR and PETSC_ARCH to be defined, and
refuses to install if they are not.  Spack does not define PETSC_
ARCH, so Alquimia will not install.  This patch does two things
to fix the alquimia build:

1. A patch has been added to remove the dependency on PETSC_ARCH.

2. Alquimia currently depends on old versions of PETSc and pflotran.
   @ghammond86 updated the alquimia interfaces to use more recent
   versions, but his patch is still sitting in an alquimia pull
   request.  As a result, the spack installer now uses his fork
   of alquimia.  This is a temporary fix until his pull request is
   accepted.

* Need to pass to Alquimia the MPI compilers, not the raw compilers

Otherwise the PETSc tests do not produce executables that can run because they are not
linked against MPI libraries

Funded-by: IDEAS
Project:  IDEAS/xSDK
Time: .5 hours

* Add alquimia to xSDK build

Funded-by: IDEAS
Project: IDEAS/xSDK

* Fix flake8 errors for xsdk packages

* Add xsdk support for xsdk version xsdk-0.2.0

Note that currently it is just dummy code, but will eventually use
a xsdk-0.2.0 tag for each package it installs.

Funded-by: IDEAS
Project:  IDEAS/xSDK
Time: .7 hours

* Do not build Mumps by default for PETSc since it is not portable, for example to Cray

Allow alquimia to accept PETSc even if the PETSc test executable cannot run since this is a problem on Cray.

Reported-by: Alicia Marie Klinvex <amklinv@sandia.gov>

* Add xsdk-0.2.0-rc1 tag for xsdk-0.2.0 installs

* Switch alquimia download site back to standard location

since they have incorporated Glenn Hammond's fixes
Also it no longer needs the patch to the Alquimia cmake

Funded-by: IDEAS
Project: IDEAS/xSDK
Reported-by: Sergi Molins Rafa <smolins@lbl.gov>

* update hypre to use the latest release candidate for xsdk 0.2.0

Funded-by: IDEAS
Project: IDEAS/xSDK
Reported-by: Ulrike Meier Yang <yang11@llnl.gov>

* Re-added patch to alquimia

The patch was out of date and has been updated accordingly.

* Added Tpetra-free option to Trilinos

The Tpetra stack takes forever to build and is not used by any of the
IDEAS teams, so there should be an option to disable it.  I have added
this option and updated the xSDK accordingly.  I also disabled
xSDKTrilinos in the xSDK, since none of the apps teams currently use it,
and it's largely Tpetra-based.

* Removed alquimia patch from develop version

The patch has been incorporated into alquimia and is no longer
necessary for the develop version.  The tagged version has not
been updated accordingly and still needs the patch for now.
(When the tagged version gets updated, the patch does need to be
removed from spack altogether, or it will break the build.)

* Removed patch from alquimia

It has been incorporated into alquimia, both the develop and
rc2 tagged versions.  The 0.2.0 version of alquimia has been updated
to tag rc2 rather than rc1.

* update xsdk-0.2.0 to depend on PETSc xsdk-0.2.0-rc2 which fixes for Apple xcode 8.3

Commit-type: bug-fix
Funded-by: IDEAS
Project: IDEAS/xSDK

* import sys got lost in merge with develop

* Update xsdk packages to use xsdk-0.2.0 tag

Commit-type: feature
Funded-by: IDEAS
Project: ECP

* Fixes for Flake8

note, had to ignore some long lines due to a single string

* simple improvements to XDK packages as suggested by Spack pull request reviewers

Commit-type: style-fix
Funded-by: IDEAS
Project: xSDK

* Removed unneeded : after develop as requested by Denis Davydov in pull request review

Commit-type: style-fix
Funded-by: IDEAS
Project: xSDK
Thanks-to: Denis Davydov

* Removed change that may not be needed due to updates in PETSc spack file such as using mpicc etc directly

Commit-type: bug-fix
Funded-by: IDEAS
Project: xSDK
Thanks-to: Adam J. Stewart

* Do not turn on xSDKTrilinos for xSDK builds since it requires tpetra

Commit-type: bug-fix
Funded-by: IDEAS
Project: xSDK

* comment why MUMPS is disabled by default for PETSc so that others won't try to enable it when modifying petsc package next time

Commit-type: documentation
Funded-by: IDEAS
Project: xSDK
Thanks-to: Denis Davydov
2017-04-25 16:09:30 -07:00
Adam J. Stewart
4a7a4f5cd3 Add latest version of freetype (#3989) 2017-04-25 16:56:42 -05:00
Adam J. Stewart
af4893f854 Add latest version of libpng (#3987) 2017-04-25 16:12:40 -05:00
Adam J. Stewart
1617b88759 Mark 1.64.0 unstable until +mpi+python fixed. (#3984) 2017-04-25 15:45:52 -05:00
Adam J. Stewart
95a0e6a5fd Add list_url for fftw (#3985) 2017-04-25 15:45:25 -05:00
Christoph Junghans
ef09049f24 New package: pax-utils (#3980) 2017-04-25 15:06:07 -05:00
Adam J. Stewart
58f2a947db Properly ignore flake8 F811 redefinition errors (#3932)
* Properly ignore flake8 F811 redefinition errors
* Add unit tests for flake8 command
* Allow spack flake8 to work on systems with older git
* Skip flake8 unit tests for Python 2.6 and 3.3
2017-04-25 11:01:25 -07:00
Adam J. Stewart
827ebe280d Add latest version of NCO (#3978) 2017-04-25 12:10:55 -05:00
Adam J. Stewart
18dd9c0860 Add patch to gettext to fix parallel make check (#3981) 2017-04-25 12:10:35 -05:00
Christoph Junghans
54bfa888b9 legion: add mpi interoperability and shared libs (#3959)
* legion: add mpi inoperability

* legion: make +mpi the default

* legion: add shared variant
2017-04-25 12:06:05 -05:00
健美猫
dd5f4cb251 A new package: CNTK. (#3578) 2017-04-25 06:40:23 -05:00
serbanmaerean
eef7d17946 Add global arrays package (#3970)
* Added magma package

* Incorporated Serban's change

* globalarrays: add global arrays package to Spack.

* globalarray: remove extreaneous comment from package file
2017-04-24 16:04:40 -07:00
Brian Van Essen
00fdbe81bc Caffe (#3948)
* Added a package for the MDAnalysis toolkit.

* Added the hash for the 1.0 release of caffe and put in a conflict
statemet indicating that protobuf requires a c++11 compiler.

* Changed minimum version number.

* Tweaked the minimum version number.

* Fixed flake8 error.
2017-04-24 13:32:27 -05:00
Gregory Lee
67bf71630b Do not require license for new Intel libraries (#3931)
* new Intel libs do not require license to install

* updated Intel library package URLs

* disable license_required for new Intel libraries
2017-04-23 08:58:47 -05:00
Milton Woods
b2155a5682 Update ECWMF packages: grib-api, libemos and magics (#3901)
* grib-api: add version 1.21.0

* libemos: add version 4.4.7 and allow choice of eccodes or grib-api

* magics: add version 2.32.0

* libemos: add description for eccodes variant
2017-04-23 07:56:47 -05:00
Milton Woods
980ffcdcec eccodes: new package for encoding and decoding meteorological data (#3900)
* eccodes: new package for encoding and decoding meteorological data

* eccodes: remove line breaks from package docstring

* eccodes: simplify names of variants

* eccodes: give a description for each variant

* eccodes: use succinct code for cmake_args

* eccodes: found extra dependency for python variant

* eccodes: add URL for a list of available releases
2017-04-23 07:55:51 -05:00
Adam J. Stewart
4e17ae911b Hack to fix python dependency ranges (#3938)
* Hack to fix python dependency ranges

* Flake8
2017-04-22 17:31:50 -05:00
George Hartzell
281ba99460 Add version info for emacs@25.2 (#3957) 2017-04-22 16:01:17 -05:00
Denis Davydov
94a0cca080 add Intel mpi package and add MPI wrappers to Intel parallel studio (#3905)
* intel-mpi: add new package

* fix hashes

* fix typo

* flake8

* add install

* blank line

* error

* add bin64

* fix MPI wrappers in intel-parallel-studio

* add missing I_MPI_FC

* use shorter hashes
2017-04-22 07:30:51 -05:00
Matthew Krafczyk
16a7b27a9e more fixes for use of setuptools in python packages
- py-setuptools is required by py-yt for importing yt in jupyter notebooks.
- add two dependencies needed for python 2.7
- add the py-subprocess32 package
2017-04-21 23:35:02 -07:00
Paul Hopkins
8b92908ab4 Fix setuptools handling in Python packages.
- add setuptools dependencies to packages that need it.
- remove setuptools from packages that do not need it.
2017-04-21 23:35:02 -07:00
Todd Gamblin
9f0b94b4e1 PythonPackage builds flat installs instead of egg directories.
- Spack doesn't need eggs -- it manages its own directories

- Simplify install layout and reduce sys.path searches by installing all
  packages flat (eggs are deprecated for wheels, and this is also what
  wheels do).

- We now supply the --single-version-externally-managed argument to
  `setup.py install` for setuptools packages and setuptools.

- modify packages to only use setuptools args if setuptools is an
  immediate dependency

- Remove setuptools from packages that do not need it.

  - Some packages use setuptools *only* when certain args (likeb
    'develop' or 'bdist') are supplied to setup.py, and they specifically
    do not use setuptools for installation.

  - Spack never calls setup.py this way, so just removing the setuptools
    dependency works for these packages.
2017-04-21 23:35:02 -07:00
Adam J. Stewart
2a04fdca52 Convert LLVM to CMakePackage, update cmake dependency version (#3940)
* Convert LLVM to CMakePackage, update cmake dependency version

* Remove unused import
2017-04-21 18:38:07 -05:00
George Hartzell
a90e34f4ca Add info for nextflow@0.17.3 (#3947) 2017-04-21 18:28:13 -05:00
Todd Gamblin
63c3410370 Fix checksumming in Python3; add more fetch tests (#3941)
* Checksum code wasn't opening binary files as binary.

- Fixes Python 3 issue where files are opened as unicode text by default,
  and decoding fails for binary blobs.

* Simplify fetch test parametrization.

* - add tests for URL fetching and checksumming.
- fix coverage on interface functions in FetchStrategy superclass
- add some extra crypto tests.
2017-04-21 15:36:15 -07:00
Todd Gamblin
c0356182b6 Remove all test variants (#3923) 2017-04-21 15:18:56 -07:00
Denis Davydov
6017a6a6fe netcdf: fix missing CC = mpicc ; this makes it work with Intel MPI (#3942) 2017-04-21 14:43:27 -07:00
Jeffrey Salmond
a2135dff49 add cppcheck new version (#3935) 2017-04-21 12:54:27 -05:00
Adam J. Stewart
46d0ca9d01 Ensure that tests are optional (#3922) 2017-04-21 12:15:39 -05:00
Adam J. Stewart
5250e8ee89 Fix HPL build, convert to MakefilePackage (#3777)
* Fix HPL build, convert to MakefilePackage

* Flake8 fix

* Fix: spec -> self.spec

* Properly query for system libraries

* Update Intel-MKL as well

* Recurse in system libs, fix MKL path, fixes lapack_libs
2017-04-21 12:11:29 -05:00
Javier
41efada340 Adding new python package: py-python-gitlab (#3936) 2017-04-21 11:47:52 -05:00
Jimmy Tang
f86ed1e34d Fix for llvm 4.0.0 on centos (#3904)
* Fix for llvm 4.0.0 on centos

This addresses https://github.com/LLNL/spack/issues/3791

* Only enable this option if on linux

* Change condition to satisfy standard
2017-04-21 11:29:41 -05:00
Bruno Turcksin
a017c5e2ef Add boost 1.64.0 (#3934) 2017-04-21 10:06:31 -05:00
Brian Van Essen
011442fd37 Keras 2.0.3 (#3927)
* Added a package for the MDAnalysis toolkit.

* Added has for Keras version 2.0.3
2017-04-20 17:48:30 -05:00
Michael Kuhn
f520c0dd8d Add vampirtrace (#3911)
Since scorep does not support all use cases yet, vampirtrace is still
useful in some circumstances.
2017-04-20 15:01:06 -05:00
Adam J. Stewart
e2e6dea9b3 Gettext test suite fails when run in parallel (#3921) 2017-04-20 13:06:11 -05:00
Adam J. Stewart
f0a6ead19c Flake8 2017-04-20 12:48:02 -05:00
Adam J. Stewart
9ca0d1f5f0 Remove all test variants 2017-04-20 12:13:11 -05:00
Todd Gamblin
beeca6bb54 Revert "Override partial installs by default" (#3918)
* Revert "Override partial installs by default (#3530)"

This reverts commit a65c37f15d.
2017-04-20 03:53:41 -07:00
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