Commit graph

4554 commits

Author SHA1 Message Date
Mark Olesen
e5c665600c new package for KaHIP (#4613) 2017-06-28 13:15:43 -05:00
Kyle Fernandes, né Jacobs
cd1322b2c9 Update intel-parallel-studio and intel packages (#4628) 2017-06-28 11:32:25 -05:00
George Hartzell
00ec64150e Add package for primer3 (#4615)
* Add package for primer3

Built and mildly tested on CentOS 7.

* Convert to MakefilePackage

I always forget about this...

* Set build_directory the easy way

Life's not always complicated.  Don't go out of my way
to make it so....

* Fix Flake8 issue
2017-06-28 10:48:21 -05:00
George Hartzell
d24e4e311a Add package for muscle (#4616)
* Add package for muscle

Minimally tested on CentOS7.

* Convert to MakefilePackage

Do it the easy way...
2017-06-28 10:47:48 -05:00
Audrey Thoma
e98662959e beast2: adding new package beast2 (#4617) 2017-06-28 10:17:45 -05:00
George Hartzell
6ff7dde9a5 Add package for ngmlr (#4618)
Minimally tested on CentOS 7.
2017-06-28 10:17:17 -05:00
Audrey Thoma
6480e38217 angsd: adding package angsd (#4620) 2017-06-28 10:15:00 -05:00
Christoph Junghans
ddb0704028 pegtl: version bump (#4621)
* pegtl: version bump

* pegtl: added 2.1.4

* pegtl: reorder versions

* pegtl: fix flake8
2017-06-28 10:13:49 -05:00
Christoph Junghans
8f9f0ab8ec vpic: new package (#4624) 2017-06-28 06:35:55 -05:00
Douglas Duckworth
7b0d295a4c Added STAR-Fusion (#4380)
* added perl-star-fusion and perl-intervaltree

* added perl-star-fusion and all dependencies

* changes

* made changes as requested to perl-star-fusion dependencies

* changed perl-intervaltree dependency

* changes to star fusion

* now using perl properly
2017-06-27 13:53:58 -05:00
serbanmaerean
77218b1c8d Fix xl/trilinos (#4607)
* Added magma package

* Incorporated Serban's change

* fix-xl/trilinos: add -qfixed to Fortran flags in seacas package

* fix-xl/trilinos: fixed spack flake8 errors
2017-06-27 06:40:38 -05:00
Mark Olesen
051d15f777 BUG: inconsistent -fPIC causes adios/mxml linkage problem (fix #4605) (#4606)
- Thanks to pointer from @adamjstewart - can avoid this either by
  avoiding an external mxml dependency, or by making certain that they
  both use consistent code generation.

  The adios package uses '-fPIC' for python linkage and this seems to
  require the same for mxml too. If the adios-internal version of mxml
  is used, it has the same flags for both.
2017-06-27 06:34:52 -05:00
Douglas Duckworth
351f0e2e16 added py-multiqc and dependencies (#4381)
* added py-multiqc and dependencies

* added requested changes per #4381

* added colormath dependency per https://github.com/jsvine/spectra/blob/master/requirements.txt

* py-multiqc changes

* py-multiqc does not need colormath - spectra does
2017-06-26 16:05:15 -05:00
Lynn Garren
575ee41413 update for clhep (#4588)
* adding clhep 2.3.4.4, etc and modernizing package.py

* add remaining 2.3.x.y clhep releases

* setting list_depth to 1 is sufficient

* remove whitespace
2017-06-26 16:04:36 -05:00
Mark Olesen
767cdf98d3 Cleanup some depends_on flex for scotch and things depending on scotch (#4600) (#4601)
- The buggy flex-2.6.2 was blacklisted in the corresponding flex
  package, but now also removed the md5sum to avoid suggesting that
  this version should be revived.
  The 2.6.3 has similar problems (at least for scotch), but 2.6.4
  seems to work.

- Rejig flex restriction for scotch to exclude 2.6.2-2.6.3 only. Since
  flex-2.6.4 appears to be okay again, we can remove the flex version
  restriction that trickled through into the openfoam packages as a
  consequent of an spack spec bug.

- Make flex a build dependency for the openfoam packages
  (seems to have been an earlier oversight).
2017-06-26 09:58:02 -05:00
Michael Kuhn
1d82ccd25c Update libbson and libmongoc to 1.6.3 (#4599) 2017-06-25 07:09:47 -05:00
Adam J. Stewart
e5ce7b1639 Allow arbitrary Prefix attributes (#4591)
* Allow arbitrary Prefix attributes
* Test attribute type as well

* Flake8 fixes

* Remove __new__ method

* Fewer uses of join_path in the docs
2017-06-24 22:39:31 -07:00
Todd Gamblin
cac4362f64 Make LICENSE recognizable by GitHub. (#4598) 2017-06-24 22:22:55 -07:00
Christoph Junghans
add971e416 votca-xtp: new package (#4597) 2017-06-24 22:34:15 -05:00
Rajeev Jain
e8f60629fc Add cgm to moab, for resolving conflicts installing MeshKit on a brand new machine. (#4596)
Use spack install meshkit ^cgm+oce, for geometry engine support, by default cgm is facet-based
2017-06-24 15:34:14 -05:00
Mark Olesen
6c1c290a63 relax qt dependency for paraview (#4592)
- previously restricted everything to QT-4, but now only have that
  restriction for older paraview versions.
2017-06-23 12:41:29 -05:00
Mark Olesen
2126c03a28 update for new version: qt-5.9.0 (#4590) 2017-06-23 11:41:44 -05:00
Massimiliano Culpo
087b3885f9 cp2k: added missing macros to the makefile (#88) (#4589) 2017-06-23 11:14:01 -05:00
Jimmy Tang
7fb9c3903f Minor fixes to CNTK package (#4429)
* Remove unneeded patch lines which fail for the most recent CNTK version on the head of the git repo

* Really check for NVML/GDK

* Fix some violations
2017-06-23 09:18:50 -05:00
Milton Woods
a4de317737 Gtkplus icons (#4511)
* gtkplus: set XDG_DATA_DIRS

* shared-mime-info: database of common MIME types

* gtkplus: needs shared-mime-info for correct handling of stock icons

* shared-mime-info: builds with newer intltool than provided by some platforms

* atk: set XDG_DATA_DIRS at run-time

* gdk-pixbuf: set XDG_DATA_DIRS at run-time

* gtkplus: set XDG_DATA_DIRS at run-time

* pango: set XDG_DATA_DIRS at run-time

* shared-mime-info: set XDG_DATA_DIRS at run-time
2017-06-23 09:01:09 -05:00
David Böhme
e27ccac4a5 caliper: Update caliper package (#4532)
* caliper: Update caliper package

* caliper: Explicitly enable/disable cmake options for all variants

* caliper: Fix flake8 warnings

* caliper: Modify defaults for Mac

* caliper: Fix some more flake8 warnings
2017-06-23 08:59:59 -05:00
iulian787
75b8d728bd Moab 5.0 and meshkit 1.5 (#4557)
* enable some of the tools

do not make zoltan default

* modify moab package

add shared, debug options to cgm, too
build some tools by default (mbsize, mbconvert)
add hdf5, netcdf dependency
add pnetcdf variant (dependency), metis, parmetis, zoltan
add shared, debug, fortran options to moab

* few kinks for moab

zoltan should be built without fortran api, otherwise moab
complains (need to fix)
also, notice that when built with cgm, shared can't find
cgm libraries for the new tools/geometry execs

install in serial for the time being (because of example makefile
duplicate?)

for example, these builds are successful:
spack install moab+mpi+hdf5+zoltan ^mpich@3.2
spack install moab+mpi+hdf5+shared ^mpich@3.2

* force hdf5+mpi if both are specified

also, something like this works:
spack install  moab+mpi+hdf5+cgm ^mpich@3.2 ^cgm+oce+mpi ^oce@0.17.2

use mpich32, and cgm built with oce 0.17.2

* forgot about irel, fbigeom, mbcoupler

* add meshkit package

simple build so far, moab and cgm deps only

also, an example of complex build for cgm
spack install  moab+mpi+hdf5+cgm+irel+fbigeom ^mpich@3.2 ^cgm+oce+mpi ^oce@0.17.2

* for meshkit, moab needs to have irel, fbigeom

* forgot to self.spec

after building moab with cgm with oce 0.17.2, we can build
meshkit with something like this
spack install meshkit ^moab/tsb75zk

cgm depencency is found out from moab

moab has to be built with irel and fbigeom

* add netgen package and review

do not support yet older versions of meshkit
(which depend on lasso, etc)
add netgen package; tested with meshkit (netgen has to be built without
occ, for meshkit)
We are not enforcing that yet, we may have to test

* use conflicts where needed, suggested by review

remove release candidates

* flake8 alignment errors

* flake8

* reviews

flake8 alignment
explicit options, even for default variants
variant for netgen should be "gui", with the default ~gui (False)
FIXME: with-occ does not work right for netgen ; maybe it should be disabled?
       also, with +gui, it should depend on a lot more, like tk, tcl?

* flake8 issues

whitespaces and a comment in netgen

* add more explicit options

--without-mpi needs fixing for cgm, moab and meshkit
add variable url for netgen (although we don''t know if other
versions will appear)

* flake8, trailing whitespace
2017-06-23 08:53:43 -05:00
Andrey Prokopenko
811ea4f465 ninja-fortran: a Fortran-capable fork of ninja build tool (#4539)
* ninja-fortran: a Fortran-capable fork of ninja build tool

* Use url_for_version for clarity

* Clean ninja-fortran

* Cleanup in the original ninja package
2017-06-23 08:52:57 -05:00
Adam J. Stewart
3e087f2e25 Remove test dependencies from Python packages (#4572)
* Remove test dependencies from Python packages

* Make test deptype more clear for a couple more packages
2017-06-23 08:51:45 -05:00
Geoffrey Oxberry
1d741a2110 suite-sparse: add openmp variant (#4563)
Fixes #4549.
2017-06-23 08:50:49 -05:00
Mark Olesen
b741809bb2 BUG: flex+lex fails with lib64/ installation (issue #4583) (#4584)
- new version 2.6.4 as well
2017-06-23 08:45:17 -05:00
Audrey Thoma
8125780b86 New package augustus (#4586)
* augustus: adding augustus

* augustus: fixing flake8 things

* augustus: simplifying verbose
2017-06-22 16:00:43 -05:00
Adam J. Stewart
a803a5e986 Add latest version of libtiff (#4574) 2017-06-22 12:52:23 -05:00
Adam J. Stewart
6d9494f0d2 Add latest version of libmng (#4575) 2017-06-22 12:52:02 -05:00
Stas Sergienko
6aa3d51939 created py-tomopy package and fixed its dependencies (#4576)
* added py-tomopy package

* fixed dependencies and added import_modules

* edited deps for tomopy with import_modules and added py-olefile pkg

* changed module name

* changed dependency to python because it will not build with setuptools

* fixed dependency list for py-tomopy and py-dxchange

* added py-nose dependency

* fixed tests

* commented out dependency py-counter

* fixed dependency py-pybtex-docutils

* removed nose as a dependency

* fixed flake8 errors

* fixed import_modules

* fixed import_modules indent

* fixed various issues in tomopy and deps files
2017-06-22 12:51:51 -05:00
Audrey Thoma
3c8e65f3d8 New package albert (#4568)
* albert: adding new package albert

* albert: fixing dependency type and build process
2017-06-22 11:12:37 -05:00
Audrey Thoma
2fa918f32c gmap-gsnap: adding gmap-gsnap package (#4570) 2017-06-22 11:12:19 -05:00
Mark Olesen
ff26cb9723 Update for paraview 5.4.0 (#4582)
- paraview 5.2.1 -> 5.4.0 supports both Qt4 and Qt5, but the assumed
  default version changes between versions. So explicitly define
  which QT major version is being used.
2017-06-22 09:29:19 -05:00
Massimiliano Culpo
59b66b0d27 mumps: fixed compilation issues due to scotch not found at link time (#4567) 2017-06-21 11:36:18 -05:00
Mark Olesen
1f2e56e1f3 refactor openfoam packages (#3669)
* Several improvements for the openfoam packages

--

Refactor openfoam packages by adding an OpenfoamArch class

Use separate configure, build, install phases.

Provide FOAM_PROJECT_DIR dependent env for openfoam packages
- easier way to locate

Eliminate intermediate installation directories
- unneeded clutter.
- makes it less than easy to find the etc/bashrc file

Add versioning for all openfoam patches
- no certainty which parts (if any) will be needed in future versions,
  especially if we strive to ensure that the upstream version builds
  well with spack to begin with.

Support build of develop branches
- helps track build regressions for future openfoam releases

STYLE: use common/ and assets/ to provide additional (build) resources ...

* - adjust OpenFOAM provider

Move openfoam-com up front since this is the one being used as a base
for the others
2017-06-21 11:35:31 -05:00
Audrey Thoma
b1fceb75d0 Andi and libdivsufsort (#4559)
* andi: adding andi and libdivsufsort

* andi: adding andi and dependency libdivsufsort

* andi: adding andi and dependency libdivsufsort

* andi: fixing autotool dependency types

* andi: fixed whitespace to make flake8 compliant
2017-06-21 10:51:05 -05:00
Jonathan Wong
cb87edf230 Modified ipopt package to support build on ppc64le (#4561)
Added line in package.py to patch using ipopt_ppc_build.patch. The patch simply adds support in config.guess and Ipopt/config.guess to build ipopt on ppc64le.
2017-06-21 06:47:06 -05:00
Mark C. Miller
2525363c11 adding H5Z-ZFP; updating zfp to use choice variant for bit stream word size (#4466)
* adding H5Z-ZFP; updating zfp to use choice variant for bit stream word size

* fixing homepage url

* removed fortran error message...just build fortran if can, otherwise ignore
2017-06-21 06:46:14 -05:00
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
Christoph Junghans
2a3fc6c404 charm: set sane default (#3865)
see https://github.com/LLNL/spack/pull/3852#pullrequestreview-32996651
for details
2017-04-18 12:02:41 -05:00
Denis Davydov
ce714b5641 ocotpus and arpack-ng: fix arpack bug and add libs to arpack-ng (#3875)
* ocotpus and arpack-ng: fix arpack bug and add libs to arpack-ng

also rename the variant to be consistent with other packages

* fix a bug

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

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

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

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

* Fix spec undefinedwq

* fix versions

* fix patch when statement

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

* Add link to original reporting issue
2017-04-14 08:38:34 -07:00
Adam J. Stewart
3f21b82815 Add variant to mvapich2 to control thread level (#3832) 2017-04-14 08:14:19 -07:00
Adam J. Stewart
331f42b991 Convert Image-Magick to AutotoolsPackage (#3828) 2017-04-14 08:13:47 -07:00
Adam J. Stewart
91d82c44e6 Remove mawk dependency from ncurses (#3782) 2017-04-14 09:38:13 -05:00
健美猫
102dcbcbd4 Add cub-1.4.1 required by cntk. (#3819) 2017-04-14 08:29:18 -05:00
健美猫
e636bf05fc A new package: bowtie. (#3837) 2017-04-14 08:16:51 -05:00
Christoph Junghans
c08965701f New package: h5part (#3821) 2017-04-13 15:00:17 -05:00
Christoph Junghans
90f46186f9 New package: pugixml (#3830) 2017-04-13 14:59:32 -05:00
Michael Kuhn
afdc2f4182 Fix adios (#3814)
adios currently only supports zfp <= 0.5.0 due to an API change.
2017-04-12 16:58:18 -05:00
George Hartzell
5b65380f98 Add package for nginx@1.12.0 (#3810)
* Add package for nginx@1.12.0

Includes support for:
- zlib
- pcre (and pcre-jit)
- openssl (https support)

Built and basics tested on CentOS 7.  I haven't tested the `https`
support [yet].

* Include final bit of doc string sentence.

I trimmed the docstring that I lifed from https://nginx.org/en a bit
too aggressively and left a '...' to remind me to fix it.

Apparently I need more obvious reminders.

Thanks @davydden!
2017-04-12 15:27:46 -05:00
Jean-Paul Pelteret
0af57ce345 Apply a patch to allow valgrind 3.12 to build on MacOS >= 10.11 (#3808) 2017-04-12 07:43:14 -05:00
Javier
7203a3c055 Update xrootd versions (#3807)
* Update xrootd versions

* Removing unnecessary url_for_version method
2017-04-12 06:50:31 -05:00
Nils Deppe
701965fb2a brigand: New Package (#3801) 2017-04-11 22:14:54 -05:00
Christoph Junghans
56ae607a39 New package: f90cache (#3804) 2017-04-11 20:13:41 -05:00
Nils Deppe
d7b5726fdc blaze: New Package (#3803) 2017-04-11 17:08:26 -05:00
Gregory Lee
9a4077c272 added stat version 3.0.1 (#3800) 2017-04-11 14:10:09 -05:00
Adam J. Stewart
ed86dc2db6 Help cscope find ncursesw library (#3785)
* Help cscope find ncursesw library

* Overwrite CURSES_LIBS at build time
2017-04-11 14:09:29 -05:00
Erik Schnetter
cea4352555 spherepack: New package (#3797) 2017-04-11 13:15:41 -05:00
Erik Schnetter
4d18f9f233 pocl: New version 0.14 (#3799) 2017-04-11 13:15:19 -05:00
Javier
e55c9a0eb8 Update ccache version to 3.3.4 (#3794)
* Update ccache version to 3.3.4

* Flake8 fix
2017-04-11 09:32:31 -05:00
George Hartzell
47aa8053e9 Install the shell completion scripts (#3784)
* Install the shell completion scripts

Install the `git-completion.{bash,tcsh,zsh}` and `git-prompt.sh` into
`$(spack location -i git)/share/` (aka `prefix.share/`).

* Use copy_tree to copy all the files

The dest dir already exists, so install_tree()'s not an option.
2017-04-11 07:39:03 -05:00
healther
74b1f2b860 Fixup gcc@4.9{0,1,2} build on darwin (#3789) 2017-04-11 07:37:44 -05:00
Brian Van Essen
808e9b4649 Added a package for the MDAnalysis toolkit. (#3576)
* Added a package for the MDAnalysis toolkit.

* Added the dependency on setuptools.

* Added the rest of the dependencies to the py-mdanalysis package.  Also
added the griddataformats and seaborn packages to satisfy requirements.

* Removed seaborn package since it has been recently added.

* Fixed flake8 error

* Removed inadvertent commits.

* Cleaned up reviewers feedback.
2017-04-10 21:02:32 -05:00
Adam J. Stewart
4627655704 Rename libson-c to json-c, add new version (#3776) 2017-04-10 15:09:59 -05:00
George Hartzell
4acc36d188 Fix build, add version info for 1.3.0 (#3773)
Update the package recipe w.r.t. AutotoolsPackage changes,
now builds "out of source".

Update the package with version info for 1.3.0.

> Mosh 1.3.0 released, with John Hood as release lead. The release includes broader platform compatibility, robustness improvements, better testing, and fixes for excess CPU consumption in some cases. We have switched to semver.org-style versioning and will increment the minor version number whenever we add new functionality. (In our previous practice, this release would probably have been called “1.2.7.”)

Tested on CentOS 7.
2017-04-10 11:12:49 -05:00
healther
5008973d99 Fix namespaced python packages (#3757)
* Fix namespaced python packages

* Update package.py

* Update package.py

* fix typo
2017-04-10 08:12:57 -05:00
健美猫
77673f4c42 A new package: cudnn. (#3770) 2017-04-10 07:27:15 -05:00
健美猫
87818abf21 A new pacakge: hstr(hh). (#3769) 2017-04-09 11:56:49 -05:00
Adam J. Stewart
bd9213a55f Append system PKG_CONFIG_PATH on Cray instead of prepend (#3766) 2017-04-08 20:50:16 -05:00
Michael Kuhn
b91bf0e067 Update libbson and libmongoc to 1.6.2 (#3767) 2017-04-08 06:40:55 -05:00
George Hartzell
bf9dcc4a10 Add info for go@1.8.1 (#3765) 2017-04-07 16:50:08 -05:00
Mark C. Miller
a2afe984c0 Adding ZFP version 0.5.1 and variant for uint8 bit stream word type (#3753)
* 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
2017-04-07 15:00:32 -05:00
Massimiliano Culpo
28e20313ac lmod: added new version (#3763) 2017-04-07 14:32:32 -05:00
Todd Gamblin
d995f9a314 Disable OpenSSL test dependency until we have proper support. (#3760) 2017-04-07 14:14:02 -05:00
Adam J. Stewart
ed4f276b68 Add a package for the NAS Parallel Benchmarks (NPB) (#3762) 2017-04-07 14:10:29 -05:00
Matthew Scott Krafczyk
7c4ed0a70a Add the rockstar package (#3680)
* Add the rockstar package

* Add rockstar to yt.

* Correct signature of prep_yt.

* Correct rockstar package installation process

Needed to change the way the necessary prefixes are found as well as
how the completed package is copied.

There should probably be a way to do the copying in a more 'spack' way.

* Add license

* Add description.

* Set no hdf5 variant as default.

* Use copy_tree for copying files

* Use MakefilePackage

* Address concerns from @adamjstewart

* Fix flake8 errors.
2017-04-07 13:17:19 -05:00
Jean-Paul Pelteret
c6777ddf74 Update LLVM to version 4.0.0 (#3683)
* Update LLVM to version 4.0.0

* Add arguments to prevent lldb, polly building when using ~<variant>
2017-04-07 13:15:14 -05:00
健美猫
3ad6754c1a Add the 'shared' variant for protobuf. (#3703) 2017-04-07 13:11:22 -05:00
Mark Olesen
f166f57f09 remove mxml CFLAGS option that was breaking configure (fixes #3700) (#3706)
- provide urls for versions 2.7, 2.6, 2.5 (archive copies)
2017-04-07 13:06:09 -05:00
Milton Woods
04f20320f4 subversion: spec.satisfies('^swig') does not work; replace spec.satisfies by "in spec" (#3662) 2017-04-07 13:03:57 -05:00
Axel Huebl
a8bd69f01c Package: ISAAC (#3733)
Adds the [ISAAC](https://github.com/ComputationalRadiationPhysics/isaac)
in situ volume rendering library. The ISAAC library can be build with
render/filter kernels for Nvidia GPUs via CUDA or with a more general
backend via [Alpaka](https://github.com/ComputationalRadiationPhysics/alpaka)
with support for Nvidia GPUs (via CUDA) and multicore CPUs.

Since alpaka is not yet part of spack, the second variant is still
commented out.

Packages

- `isaac`: header-only library with dependencies to other C++ libraries
           that is then used in simulations
- `isaac-server`: stand-alone executable that connects N simulations with M
                  clients in a `N simulations:1 server` and
                  `1 server:M clients` fashion

(ISAAC clients simply speak websockets/JSON and are usually
[HTML/JS pages](https://github.com/ComputationalRadiationPhysics/isaac/tree/v1.2.0/client))

Downstream Usage

PIConGPU uses ISAAC for in situ visualization.

References

- [Repo](https://github.com/ComputationalRadiationPhysics/isaac) (LGPLv3+)
- [Documentation](http://computationalradiationphysics.github.io/isaac/)
- [Talk at GTC2016](http://on-demand.gputechconf.com/gtc/2016/video/S6294.html)
2017-04-07 11:04:45 -05:00
Axel Huebl
7b37620e25 mallocMC: Spack Package (#3745)
Adds a package for mallocMC, a memory allocator for many core
architectures.

This project provides a framework for fast memory managers on
many core accelerators. Currently, it supports NVIDIA GPUs of
compute capability sm_20 or higher through the ScatterAlloc
algorithm. mallocMC is header-only.

Downstream Dependencies

PIConGPU and other projects of HZDR's
*Computational Radiation Physics* group

References

- Markus Steinberger, Michael Kenzel, Bernhard Kainz and Dieter Schmalstieg.
  *ScatterAlloc: Massively parallel dynamic memory allocation for the GPU*,
  Innovative Parallel Computing (InPar), 2012,
  https://doi.org/10.1109/InPar.2012.6339604

- Carlchristian Eckert.
  *Enhancements of the massively parallel memory allocator ScatterAlloc and its adaption to the general interface mallocMC*,
  Junior Thesis (grosser Beleg), 2014,
  http://dx.doi.org/10.5281/zenodo.34461
2017-04-07 11:03:58 -05:00
Adam J. Stewart
54d0f9157d Tell libedit to link to -lncursesw (#3752) 2017-04-07 11:03:19 -05:00
Christoph Junghans
f1943589b5 gromacs: added 5.1.4 and 2016.3 (#3758) 2017-04-07 10:59:14 -05:00
Adam J. Stewart
16fb872f84 Fix ncurses support in bash package (#3735) 2017-04-07 08:43:13 -05:00
healther
1d21a11ff4 fix dependencies of py-pynn (#3756) 2017-04-07 06:46:46 -05:00
Massimiliano Culpo
10c395b2f5 Abinit: a few modernizations for the package and its dependencies (#3699)
* libxc: added libs interface

* hdf5: added libs interface, added conflicts

* abinit: modernized package to use build interface

* netcdf-fortran: added libs interface

* abinit: added version 8.2.2
2017-04-07 11:18:34 +02:00
Axel Huebl
030127a071 cuda_memtest: Package of CRP (#3747)
This adds a maintained version of the (since 2012)
stalled original project.

https://github.com/ComputationalRadiationPhysics/cuda_memtest

Nvidia's NVML (via the GPU deployment kit) could also be
added, providing serial number output of failing GPUs
for multi-GPU nodes.
2017-04-06 22:05:13 -05:00
Christoph Junghans
e3bfb79824 Add Votca packages (#3748)
* A new package: votca-tools

* A new package: votca-csg
2017-04-06 22:04:51 -05:00
Todd Gamblin
279d410758 Add package for OpenSSH (#3750) 2017-04-06 21:37:49 -05:00
Christoph Junghans
10ceed3b66 A new package: legion (#3738) 2017-04-06 17:55:09 -05:00
George Hartzell
3232c16d0c Update version info to include v1.5.5 (#3743)
* Update version info to include v1.5.5

* Clean up url specifications.
2017-04-06 17:54:36 -05:00
Adam J. Stewart
7c41d9c6db spglib requires setuptools during runtime (#3744) 2017-04-06 17:54:07 -05:00
Denis Davydov
5c0fe2829b deal.ii: add 8.5.0 (#3741) 2017-04-06 16:29:40 -05:00
Axel Huebl
f31a38532f libSplash & PNGwriter: CMakePackage (#3739)
Use new CMakePackage base class
2017-04-06 21:33:19 +02:00
Michael Kuhn
95e401fe80 Fix wx (#3734)
It is missing a pkg-config dependency.
2017-04-06 13:54:57 -05:00
Axel Huebl
951f4bf514 PNGwriter: 0.6.0 (#3732)
Adds the latest release of PNGwriter.
2017-04-06 12:31:55 -05:00
Todd Gamblin
eb9cb2d4a1 Fix libdwarf/elfutils conflict 2017-04-06 09:42:46 -07:00
健美猫
85f937525d A new package: xqilla. (#3731) 2017-04-06 10:54:16 -05:00
Jimmy Tang
00fb0dd6c6 Openmpi cuda support (#3725)
* Update cuda to latest ga2 release

* Add CUDA support to openmpi

* Use spec's lib directories for cuda

* flake8 compliance
2017-04-06 16:12:54 +02:00
Michael Kuhn
b81a50b4e3 Add zip package (#3715) 2017-04-06 08:12:51 -05:00
Michael Kuhn
095f57409c Fix magics (#3721)
- magics requires perl and perl-xml-parser.
- xml2cc_new.pl uses /usr/bin/perl by default.
2017-04-06 08:11:32 -05:00
Josh Asplund
048b6fc454 Fixes patch paths for earlier boost versions (#3712)
* Fixes patch paths for earlier boost versions

The directory structure of boost changed at version 1.56.0, so the patch
being used for python support did not work on earlier versions. This
adds another patch that matches earlier versions.

* Removes commented out code
2017-04-05 16:26:22 -05:00
Adam J. Stewart
745e2ce52f Fixes needed to build htop (#3691)
* Fixes needed to build htop

* Build libncursesw.so, not libncurses.so

* Remove htop hack now that it is picking up newer ncurses

* Tell packages to link to new ncursesw libraries
2017-04-05 16:03:11 -05:00
Milton Woods
87eafaa125 subversion: provide checksums for versions 1.8.17 and 1.9.5 (#3663)
* subversion: provide checksums for versions 1.8.17 and 1.9.5

* subversion: release versions sorted from newest to oldest
2017-04-05 15:15:22 -05:00
Denis Davydov
bccc73c6c9 petsc trilinos: fix Scalapack via MKL (#3702)
* petsc trilinos: fix Scalapack via MKL

* indentation
2017-04-05 14:55:28 -05:00
Mark Olesen
aa63bc6f34 update versions for scalasca and related tools (#3697)
- clean up fetch urls

- inherit from AutotoolsPackage instead of Package

- explicit fPIC flags look suspicious, but leave them in there.

- in scalasca, use the cube version that is implicit from
  the scorep dependency instead of specifying it twice.
2017-04-05 14:54:40 -05:00
Michael Kuhn
a813764874 Fix libxpm (#3704)
It tries to use gettext but fails because it does not explicitly link
against libintl.
2017-04-05 14:50:42 -05:00
Michael Kuhn
9dcd6052cb Fix ncl (#3708)
- Add patch to make ncl compile with hdf5 1.10.
- Add missing dependencies to make ncl compile without errors.
2017-04-05 13:59:26 -05:00
Adam J. Stewart
cd1c88c519 Add stress package (#3695) 2017-04-05 11:48:56 -05:00
健美猫
70372ddcd7 Add versions 3.2.0 3.1.0 for protobuf. (#3698) 2017-04-05 07:59:18 -05:00
George Hartzell
46f25a4e0a Add package for open source Shiny Server (#3688)
* The beginnings of a package for shiny-server

Just stashing a WIP.

This doesn't work.

This goes for a while and/but blows up with some OpenSSL related issue.

* Make it work!

Yay!

* shiny-server needs R with X support

My environment gets this for "free" from my packages.yaml, but it
should be explicity.

* Address feedback

- python version
- gcc dependency
- Flake8 comment rules

* Richer caveats and warnings.

* Convert to CMakePackage and fix python version typo

* Fix typo: noqab -> noqa

* Ensure proper build location, clean up comments
2017-04-04 18:05:28 -05:00
Adam J. Stewart
3866dba265 Convert STREAM to MakefilePackage (#3692) 2017-04-04 15:00:35 -05:00
Adam J. Stewart
3c57862084 Add fio package (#3689) 2017-04-04 13:26:08 -05:00
Denis Davydov
0dbeeab70e intel-mkl: add 2017.2 (#3687)
* intel-mkl: add 2017.2

* intel-mkl: add urls, update docstring
2017-04-04 11:39:26 -05:00
Jean-Paul Pelteret
7de6a28b15 Update SymEngine package to enable build against LLVM (#3682) 2017-04-04 06:56:44 -05:00
Mayeul d'Avezac
0e32369a26 Cppcheck (#3684)
* Adds cppcheck version 1.72

* cppcheck installation requires cfg files

Without these files, cppcheck does not work correctly
2017-04-04 06:55:02 -05:00
Mayeul d'Avezac
8276bd75fc Update tinyxml (#3649)
* Update tinyxml

* url seems to have changed
* spack replaces "_2_6_2" with "_2.6.2" unless the url is explicitly
given
* copyfile is no longuer available by default

* URL version-parsing should work as of #2972
2017-04-04 06:52:58 -05:00
Adam J. Stewart
d6a28a7401 Add IOzone package (#3679) 2017-04-03 18:05:45 -05:00
Adam J. Stewart
50df071ad9 Overhaul Spack's URL parsing (#2972)
* Remove fake URLs from Spack

* Ignore long lines for URLs that start with ftp:

* Preliminary changes to version regexes

* New redesign of version regexes

* Allow letters in version-only

* Fix detection of versions that end in Final

* Rearrange a few regexes and add examples

* Add tests for common download repositories

* Add test cases for common tarball naming schemes

* Finalize version regexes

* spack url test -> spack url summary

* Clean up comments

* Rearrange suffix checks

* Use query strings for name detection

* Remove no longer necessary url_for_version functions

* Strip off extraneous information after package name

* Add one more test

* Dot in square brackets does not need to be escaped

* Move renaming outside of parse_name_offset

* Fix versions for a couple more packages

* Fix flake8 and doc tests

* Correctly parse Python, Lua, and Bio++ package names

* Use effective URLs for mfem

* Add checksummed version to mitos

* Remove url_for_version from STAR-CCM+ package

* Revert changes to version numbers with underscores and dashes

* Fix name detection for tbb

* Correctly parse Ruby gems

* Reverted mfem back to shortened URLs.

* Updated instructions for better security

* Remove preferred=True from newest version

* Add tests for new `spack url list` flags

* Add tests for strip_name_suffixes

* Add unit tests for version separators

* Fix bugs related to parseable name but in parseable version

* Remove dead code, update docstring

* Ignore 'binary' at end of version string

* Remove platform from version

* Flip libedit version numbers

* Re-support weird NCO alpha/beta versions

* Rebase and remove one new fake URL

* Add / to beginning of regex to avoid picking up similarly named packages

* Ignore weird tar versions

* Fix bug in url parse --spider when no versions found

* Less strict version matching for spack versions

* Don't rename Python packages

* Be a little more selective, version must begin with a digit

* Re-add fake URLs

* Fix up several other packages

* Ignore more file endings

* Add parsing support for Miniconda

* Update tab completion

* XFAILS are now PASSES for 2 web tests
2017-04-03 15:34:16 -07:00
Adam J. Stewart
7e9777f294 Add latest version of pkg-config (#3672) 2017-04-03 14:09:44 -05:00
健美猫
734f90d11f openfst conflicts with intel@16: and gcc@6: . (#3671) 2017-04-03 13:35:04 -05:00
健美猫
74bd894427 Fix conflict directives for libpfm4. (#3673) 2017-04-03 13:05:03 -05:00
Adam J. Stewart
6cf87e3637 Add latest alpha release of MVAPICH2 (#3674) 2017-04-03 13:04:42 -05:00
George Hartzell
11fe0b9b26 Add depends_on() new-ish bison (#3661)
* Add depends_on() new-ish bison

* Refine dependency, only needed to build.
2017-04-03 10:59:44 -05:00
健美猫
57b3961778 Add libpfm4 package. (#3667) 2017-04-03 10:59:24 -05:00
Jeffrey Salmond
9b19968bac add CUDA_HOME arg to nccl makefile (#3666) 2017-04-03 08:08:28 -05:00
Jeffrey Salmond
b7eee1bd7b add gflags as dependency of glog (#3665) 2017-04-03 07:56:58 -05:00
George Hartzell
cddb7524b7 Hey, I was using that! :) (#3660)
Turns out that we really want 5.22.2 for backward compatibility.
2017-04-02 20:32:20 -05:00
Adam J. Stewart
c0cfaacbc8 Set default providers for all virtual dependencies (#3634)
* Set default providers for everything

* Add default OpenFOAM provider
2017-04-02 14:48:27 -05:00
Massimiliano Culpo
ffef681377 new directive: conflicts() (#3125)
* Add conflicts(<spec>) directive
* openblas: added conflicts for intel@16 refs #3119
* added brief docs and unit tests
2017-04-02 11:40:09 -07:00
Todd Gamblin
221f179716 Add better tests for web.py; fix some bugs found with spidering.
- _spider in web.py was actually failing to spider deeper than a certain
  point.
- Fixed multiprocessing pools to not use daemons and to allow recursive
  spawning.
- Added detailed tests for spidering and for finding archive versions.
- left some xfail URL finding exercises for the reader.
- Fix noqa annotations for some @when decorators
2017-04-01 15:10:45 -07:00
Kenneth Hoste
b67e2db159 fix version specs for EasyBuild packages (#3659)
* fix Python version requirement for easybuild-framework

* make 'when' for depends_on('py-easybuild-framework') open-ended
2017-04-01 13:14:15 -05:00
Kenneth Hoste
90306cf415 EasyBuild and dependencies (#3658)
* add packages for EasyBuild and dependencies

* fix remarks w.r.t. docstrings & download urls, make dependency specs stricter w.r.t. required versions

* fix easybuild-* dep specs, should be open-ended

* correct dep specs for easybuild and easybuild-easyconfigs using @3.1.2[:]
2017-04-01 10:27:58 -07:00
健美猫
f982cd78ae Add a pcakge: libzip. (#3656) 2017-04-01 00:09:09 -05:00
Todd Gamblin
b9ee86cac9 Make packages Python3 compatible. 2017-03-31 13:40:41 -07:00
Adam J. Stewart
bc404532ea PythonPackage: Let There Be Tests! (#2869)
* Run python setup.py test if --run-tests
* Attempt to import the Python module after installation
* Add testing support to numpy and scipy
* Remove duplicated comments
* Update to new run-tests callback methodology
* Remove unrelated changes for another PR
2017-03-31 13:39:07 -07:00
Gregory Lee
3ade829566 new and updated PRUNERS tools (#3648) 2017-03-31 13:42:03 -05:00
Michael Kuhn
0d421137f4 Fix mxml (#3639)
mxml is now hosted on GitHub.
2017-03-31 13:41:08 -05:00
Adam J. Stewart
343f3b2fde Add QBank package (#3641)
* Add QBank package

* Install the documentation and add it to the MANPATH

* Add Perl DBI package

* Make sure setup method variables are consistent
2017-03-31 11:51:13 -05:00
Adam J. Stewart
d13854b5d4 Perl: add more versions, add phases (#3640) 2017-03-31 09:18:28 -05:00
Mark Olesen
832f932310 CONFIG: add older bison version 2.7 (#3645)
- for programs that don't yet work with bison 3.x
2017-03-31 07:54:04 -05:00
Hans Pabst
d59ceba9c5 Included LIBXSMM 1.8 into the list of available versions. (#3646) 2017-03-31 07:53:37 -05:00
Milton Woods
890213d5c2 Subversion with perl bindings (#3644)
* perl-term-readkey: add perl Term::ReadKey package
* subversion: add variant with perl bindings
* subversion: use `which('perl')` to find perl executable in package.py
2017-03-31 01:48:18 -07:00
Milton Woods
a81b2b4dc6 perl-xml-parser: add perl XML::Parser package (#3643) 2017-03-30 21:54:56 -07:00
Milton Woods
9e43ff821c Extendable Perl (#3614)
* perl: make extendable and add Module::Build package
* perl: allow 'spack create' to identify perl packages from their contents
* perl-module-build: fix indenting of package docstring
* perl: split install() method for extensions into phases
* perl: auto-detect build method (Makefile.PL vs Build.PL) and define a 'check' method
* PerlPackage: use import statements similar to those in AutotoolsPackage
* PerlModule: fix detection of Build.PL
* PerlPackageTemplate: remove extraneous lines to avoid flake8 warnings
* PerlPackageTemplate: split into separate templates for Makefile.PL and Build.PL
* PerlPackage: add cross-references to docstrings
* AutotoolsPackage: fix ambiguous cross-references to avoid errors in doc tests
* PerlbuildPackageTemplate: depend on perl-module-build if Build.PL exists
2017-03-30 16:38:58 -07:00
Mark Olesen
9e1abb13dc support OpenFOAM package(s) (#3528)
* ENH: add package for building OpenFOAM (1612) from www.openfoam.com
- provide 'openfoam' as virtual package.
- package as openfoam-com to reflect the distribution point.

This initial spack packaging for OpenFOAM supports a number of possible
variants and should handle 64-bit labels properly now that the scotch
package has been updated accordingly.

* ENH: update package for foam-extend (extend-project.de)

- provide 'openfoam' as virtual package.

- much of the build is now aligned with how the openfoam-com package
  looks, with the aim of future refactoring.

- avoid installing intermediate targets.

- contains its own environment sourcing script for the build, for more
  flexibility and robustness (doesn't touch the python build environ)

* ENH: added package for building from openfoam.org

- provide 'openfoam' as a virtual package.

- this is largely a direct copy of the openfoam-com package.
  It has been supplied as a courtesy for users and to ensure maximum
  consistency in quality and naming between the foam-extend,
  openfoam-com and openfoam-org packages.

* CONFIG: add openfoam into bash completion providers list

* ENH: have openfoam-com use spack as USERMPI

- also simplify the generation of mplib/compiler rules

* ENH: have openfoam-org use spack as SYSTEMMPI

- this setup requires more environment settings than USERMPI
  (openfoam-com), but is currently the only means of integration
  for openfoam-org

- simplify generation of mplib/compiler rules

* ENH: simplify generation of mplib/compiler rules (foam-extend)

- rename mpi rules from SPACK,SPACKMPI to USER,USERMPI for consistency
  with openfoam-com and to generalize for any build system.

* STYLE: record spack tree as a log file (openfoam)

- can be useful for future diagnostics and general record keeping
2017-03-30 16:35:57 -07:00
healther
2bd216a6a1 add package py-spykeutils (#3633)
* add package py-spykeutils

* fixed dependency version restriction
2017-03-30 10:33:09 -05:00
Massimiliano Culpo
f9c0348891 cp2k: update to 4.1 + update of dependencies (#3561)
* libint: updated version, ported to AutotoolsPackage

* elpa: updated version, ported to AutotoolsPackage

* wannier90: updated version, ported to MakefilePackage

* pexsi: updated version, ported to MakefilePackage

* cp2k: updated version, removed wannier 90 from dependencies if cp2k@4.1

* plumed: updated version

Modifications:

* modules has been turned into a single variant, as different versions
  have different modules available
* added dictionaries for patches

* netlib-scalapack: ported to CMakePackage
2017-03-30 09:46:05 -05:00
Adam J. Stewart
73f78cb8c4 Move py-dev to the proper repo directory (#3630) 2017-03-30 09:18:40 +02:00
Adam J. Stewart
da6faa086a Fix url fetching for GnuTLS (#3631) 2017-03-30 09:16:56 +02:00
George Hartzell
68415f0fe5 Concretization problem breaks httpie dependency (#3629)
* Concretization problem breaks httpie dependency

Concretization problem breaks this.  Unconditional for now...
https://github.com/LLNL/spack/issues/3628

* Flake8 cleanups
2017-03-29 18:59:54 -05:00
George Hartzell
4cd4a2da46 Add package for snakemake (#3605)
* Add package for snakemake

* Flake8 cleanups

* Add package for py-wrapt

* Address PR feedback

Switch to pypi URL.

Tighten Python3 dependency spec.

Add missing dependencies (wrapt, requests).
    - add package for wrapt.
2017-03-29 14:25:09 -05:00
George Hartzell
6138350c9e Add package for httpie (#3609)
* Add package for httpie

* Remove wayward FIXME and flake8 cleanup

* Update dependencies, address PR feedback

Fine tune dependencies (version constraints).
Add missing dependency.
Make SOCKS support a variant.

* Flake8 cleanup
2017-03-29 14:24:52 -05:00
Denis Davydov
782882c2a9 petsc: a workaround for macOS Clang 8.1.0 and XCode 8.3 (#3615) 2017-03-29 14:24:18 -05:00
healther
64a80ba822 add package py-bokeh (#3618)
* add package py-bokeh

* remove setuptools dependency

* add missing dependencies
2017-03-29 14:23:53 -05:00
healther
28db55b1a7 Allow py-py2cairo to be built with cairo~X (#3620) 2017-03-29 14:23:24 -05:00
healther
b73f1e557c add package py-pympler (#3621)
* add package py-pympler

* add python@2.5: dependency
2017-03-29 14:21:41 -05:00
healther
8e99c97d21 Add package py-pynn (#3622)
* add package py-pynn

* fix docstring

* fix dependency mess

* add python dependency
2017-03-29 14:21:13 -05:00
healther
8d87c01f62 Add py-pymongo dependencies (#3624)
* add package py-mongo

* add dependencies
2017-03-29 14:20:58 -05:00
George Hartzell
259cc02260 htslib depends_on version must match samtools (#3625) 2017-03-29 14:20:37 -05:00
Adam J. Stewart
46251eb559 Add abipy package and dependencies (#3352)
* Add abipy package and dependencies

* Add first official release of py-abipy

* Ignore files from dependencies during activation
2017-03-29 11:13:23 -05:00
healther
441170f316 add package py-mongo (#3619) 2017-03-29 02:54:09 -07:00
healther
5ba4fce428 add package py-brian2 (#3617) 2017-03-29 02:52:59 -07:00
healther
754be1b275 Add version 3.5.9 to package gnutls (#3616) 2017-03-29 01:55:02 -07:00
George Hartzell
f5bc42f229 Add Blast+ package. (#3562)
* Add Blast+ package.

Adds support for NCBI's blast+@2.6.0.  I'll be adding a few historical versions in the near future.

It's a fairly direct transliteration of the [Homebrew Science recipe][hbs].

I skipped the mysql support.

There is a problem with HDF5 support.  Blast's configure script test program defines a macro 'HOST' to a string value and one of the HDF5 bits has an variable named 'HOST'.  Fun things happen.   I've disabled support for now.

I've run very very basic tests.  I'll get this out to my users and ensure that it works and fine tune the options and etc....

[hbs]: https://github.com/Homebrew/homebrew-science/blob/master/blast.rb

* Flake8 fixes

* Update w.t.r. mamelara's PR and cleanup

Add paths to things in the --with-* config args

Add add'l config flags from #3394.

Update patch to no-op and add comment.

Add add'l dependencies after studying `configure --help`.

* Flake8 cleanup

* Add support for blast+@2.2.30

Need to work around a configure bug.  See https://github.com/Homebrew/homebrew-science/issues/2337#issuecomment-170011511.

* Re-wrap comment, line length not a problem.

I'd broken a comment across to line in a fit of flake8
induced fear.  Adam pointed out that it's ok.

* Remove explicit prefix config

Remove explicit prefix config, the autotools package does it for us.
2017-03-28 21:38:51 -05:00
George Hartzell
53b0d93a7a Add info for version 2.16 (#3601) 2017-03-28 21:37:57 -05:00
George Hartzell
14194a137a Add support for v1.9.9 (#3602) 2017-03-28 21:37:34 -05:00
George Hartzell
18a4be3e56 Add packages for jq and ongiruma (#3607)
jq is a commandline JSON processor.  Oniguruma is a regexp
library on which jq depends.
2017-03-28 21:37:10 -05:00
George Hartzell
83e661604d Add package for direnv (#3608) 2017-03-28 21:36:39 -05:00
George Hartzell
ec3eabfc7a Add package for BATS (#3611)
Add package for the BASH Automated Testing System.
2017-03-28 21:36:12 -05:00
George Hartzell
9385659aa1 bowtie2: add support for version 2.3.1 (#3599)
* Add support for 2.3.1

Updated digest and added a dependency on tbb.

* Cleanup patch name and add description
2017-03-28 21:35:46 -05:00
George Hartzell
d6cbae81c7 Update/samtools (#3595)
* Update samtools family to 1.4

* simple cleanup

* Make bzip depends_on for future versions too
2017-03-28 21:34:41 -05:00
George Hartzell
70ec06949c New package: ncftp client (#3603)
* Add package for ncftp

* Flake8 cleanups
2017-03-28 21:33:59 -05:00
George Hartzell
d94757238a New package: staden-io-lib (#3604)
* Add package for staden-io-lib

* Flake8 cleanups
2017-03-28 21:33:34 -05:00
George Hartzell
bdf0baead7 New package: mummer (#3606)
* Add package for mummer

Blocked on https://github.com/LLNL/spack/pull/3555.

* Make "check" step optional and flake8 cleanups
2017-03-28 21:27:20 -05:00
George Hartzell
81a0881a57 new package: pigz (#3612)
* Add package for pigz

* Whitespace

* Remove leftover instructions (oops...)

* Flake8 cleanup

* Convert to MakefilePackage
2017-03-28 21:15:30 -05:00
George Hartzell
e5eb8e34c5 new package: blat (#3610)
* Add package for blat

* Whitespace cleanup

* Flake8 cleanup
2017-03-28 21:14:26 -05:00
George Hartzell
1e5da65d65 Add packages for miniconda[23] (#3613) 2017-03-28 21:13:46 -05:00
George Hartzell
36f80bdfa4 Add support for version 20170322 (#3598) 2017-03-28 18:56:21 -05:00
George Hartzell
a9025e3283 Add version info for 7.4.1 (#3600) 2017-03-28 18:55:25 -05:00
George Hartzell
212b342fd3 Add support for v8.0.0503 (#3596) 2017-03-28 18:51:30 -05:00
George Hartzell
5f3e9a791f Nextflow versions 0.24.1 and 0.23.3 (#3597)
Add support for nextflow versions 0.24.1 and 0.23.3.
2017-03-28 18:50:21 -05:00
sknigh
42f9040dfe fix for #3588 (#3589)
* fix for #3588

* set 'build_directory' variable instead
2017-03-28 12:59:24 -05:00
健美猫
8378d659e7 Add a package: cub. (#3584) 2017-03-28 12:46:47 -05:00
healther
41cfb811f0 add package double-conversion (#3585) 2017-03-28 12:29:05 -05:00
healther
98d67bd060 Add new version to glog (#3586) 2017-03-28 12:28:30 -05:00
sknigh
f6b6e397cb Add SST/macro and Dumpi trace packages (#3025)
* Added packages for Structural Simulation Toolkit and Dumpi trace

* sst-dumpi deps

Remove extraneous dependency from sst-dumpi

* Removed redundant function and fake-url from sst-dumpi package

* Fixed URL, Added git branches, requested changes

sst-dumpi version listed as 6.1, made an upstream change to 6.1.0
sst-macro and sst-dumpi can be installed as v6.1.0 and master branch

* Added bootstrap. Tweaked URLs and description
2017-03-28 12:28:05 -05:00
Todd Gamblin
dead67ae56 Restore newlines to easy-install.pth files. (#3583)
Previous syntax fix in 8a873bb was not quite right.
2017-03-28 09:32:50 -07:00
健美猫
d9ddf2070c Add package kaldi. (#3503) 2017-03-28 09:39:23 -05:00
Erik Schnetter
e9737ee452 googletest: Convert to CMakePackage (#3571)
* googletest: New version 1.8.0

* googletest: Simplify
2017-03-28 09:34:45 -05:00
Denis Davydov
a8c58551ae openblas: raise an error when using unsupported Apple clang (#3577) 2017-03-28 08:14:12 -05:00
Mark Olesen
89d08c5be4 CONFIG: update versions for paraview (#3537)
- drop old TCL support from paraview build.

- add +plugins variant to have include directories installed. This is
  enabled by default since the additional diskspace for includes is
  really minimal and since this also allows re-use of the VTK libraries
  from ParaView without necessarily requiring a separate VTK
  installation.

- +opengl2 is now the default. As per all newer VTK and paraview versions.

BUG: broken install for paraview-5.0.1 with includes and without python

- incorrect conditional for ui_pqExportStateWizard.h when python is
  disabled and includes are to be installed.
  gcc compiler detection patch.
  These have both been fixed in paraview 5.3.0

ENH: refactor as a CMakePackage.

- Note that "spack install paraview" works as expected, but
  "spack build paraview" fails in weird unrelated ways.
2017-03-28 08:09:22 -05:00
Peter Doak
c20cd73b4a this builds cvs CentOS Linux release 7.2.1511 (#3574) 2017-03-27 14:33:22 -07:00
Gregory Lee
1cc2d22268 Merge pull request #3570 from LLNL/packages/elfutils-preferred-version
Make 0.163 the preferred version of elfutils.
2017-03-27 11:15:46 -07:00
Gregory Lee
8a873bbd8d Fix easy-install.pth syntax (#3569) 2017-03-27 10:56:55 -07:00
Todd Gamblin
394b78637d Make 0.163 the preferred version of elfutils.
- later versions do not seem to work well with libdwarf.
2017-03-27 10:14:49 -07:00
George Hartzell
625a1634bb Update to version 0.4.8-1 (#3568) 2017-03-27 11:24:51 -05:00
George Hartzell
9f19cb4193 Bugfix/gnutls (#3565)
* Fix nettle dependency

GnuTLS requires a nettle from the 2.7 series, won't work
with 3.x (so sayeth configure when it crashes...).

* Fix configure symlinking GNUmakefile to itself

I'm confused about how this ever worked, but....

As configure runs, it does something like this:

```
config.status: linking /home/hartzelg/tmp/spack/var/spack/stage/gnutls-3.3.9-uq2u4ecucncv2l3akran765aystyvkys/gnutls-3.3.9/GNUmakefile to GNUmakefile
```

and since that is the cwd the build crashes with:

```
==> 'make' '-j28'
make: GNUmakefile: Too many levels of symbolic links
make: stat: GNUmakefile: Too many levels of symbolic links
make: *** No rule to make target `GNUmakefile'.  Stop.
```

Since the comment in the configure script points out that the
GNUmakefile is "only for the maintainer" I've just commented out the
bit that leads to the symlinking.

Builds for me on CentOS 7.  (I do have a recent-ish set of auto-*
things in my patch via linuxbrew)

* Wordsmith

* Fix symbolic link problem properly

Autotools magic.  See #3565 for the details.

* Flake8 cleanup

* Add some headroom on the version number constraint

We really want < 3.0 but there's not a good way to express it.

We'd like to avoid having to update the file if they release 2.7.2.

This seems like a good compromise.
2017-03-27 10:29:56 -05:00
Mark Olesen
f3ee4ec5bd CONFIG: update qt package to build qt-5.7.1 (#3535)
- adjusted formatting to reduce some flake8 complaints
2017-03-27 08:29:33 -05:00
健美猫
a623a146de fftw: Add 3.3.6-pl2, remove 3.3.6-pl1. (#3566) 2017-03-27 07:55:16 -05:00
Mark Olesen
1c73f9d92f ENH: add int64 variant to scotch (as per metis +int64) (#3536)
BUG: provide patch for scotch 6.0.4 if building non-threaded

- corresponds to issue #20179 from the scotch issue trackter
2017-03-27 07:48:14 -05:00
George Hartzell
dd79630464 Update texlive digest/md5 (sigh...) (#3564) 2017-03-26 19:26:33 -05:00
George Hartzell
2d78b3113c Nettle: new version (#3563)
gnutls needs nettle from the 2.7 series.  Might as well give it
the latest.
2017-03-26 19:26:07 -05:00
Denis Davydov
2b3ce576a5 tbb: add 2017.5 (#3560) 2017-03-26 09:38:18 +02:00
Denis Davydov
b8486f413a mumps: add 5.1.1 (#3557) 2017-03-26 09:33:44 +02:00
Denis Davydov
a14f9491db hypre: add 2.11.2 (#3556) 2017-03-26 09:32:49 +02:00
Denis Davydov
57ef184254 superlu-dist: add 5.1.3 (#3559) 2017-03-26 09:31:32 +02:00
Denis Davydov
1e9eae4bfa suite-sparse: add 4.5.4 (#3558) 2017-03-26 09:26:57 +02:00
George Hartzell
bfd2db0c76 Add url_for_version and depends_on('libiconv') (#3555)
* Add url_for_version and depends_on('libiconv')

Fetching is broken.  See https://github.com/LLNL/spack/issues/3554.

libgd, when used in gnuplot at least, needs a dependency
on libiconv.

* Undo change from debugging pokery
2017-03-25 20:06:09 -05:00
Michael Kuron
55300d1181 pnfft: new package (#2646)
* pnfft: new package

* Convert some packages with overridden install from AutotoolsPackage to Package

* pnfft: fix URL

* Switch FFTW-derived packages back to AutotoolsPackage

* Disable unneeded build phases in FFTW and derived packages

* Separate build phases for FFTW and derived packages

* Fix broken merge

* fftw: pfft_patches for 3.3.6

* fftw: address @adamjstewart’s review comments
2017-03-25 14:27:52 -05:00
Brian Van Essen
3af971165a Added a package for Nvida NCCL (#3552) 2017-03-24 17:53:16 -07:00
Adam J. Stewart
6461737bba Add latest version of util-linux (#3551) 2017-03-24 16:44:54 -05:00
Adam J. Stewart
821155470c Add mozjs package (#3550) 2017-03-24 16:31:59 -05:00
Adam J. Stewart
c97d79b150 Add old version of zlib (#3549) 2017-03-24 16:31:31 -05:00
Adam J. Stewart
5297d3d2ff Add NSPR package (#3548) 2017-03-24 16:23:01 -05:00
Adam J. Stewart
78301396f0 Add linux-headers package (#3547) 2017-03-24 16:22:36 -05:00
Adam J. Stewart
50f4f0827d Add libcap package (#3546) 2017-03-24 16:02:01 -05:00
Adam J. Stewart
0b4c39a9e0 Various updates to the intltool package (#3545) 2017-03-24 15:45:08 -05:00
Adam J. Stewart
df777bf077 Add autogen package (#3542) 2017-03-24 15:44:34 -05:00
Adam J. Stewart
eca8f548dc coreutils can no longer be built in-source (#3543) 2017-03-24 15:44:01 -05:00
George Hartzell
b5acd5e44b Fix r package, tk no longer has an X variant (#3544)
Tk recently lost its X variant (it now always uses X).

That broke r, this commit fixes it.

Tested on CentOS 7.
2017-03-24 15:43:25 -05:00
Adam J. Stewart
08799eac23 Add latest version of GNU Guile (#3541) 2017-03-24 15:20:52 -05:00
Adam J. Stewart
a60210f6b2 Add latest version of bdw-gc (#3539) 2017-03-24 15:20:25 -05:00
Adam J. Stewart
8a463c07ea Convert libatomic-ops to AutotoolsPackage (#3540) 2017-03-24 15:13:05 -05:00
Adam J. Stewart
3c96749622 Add latest version of libunistring (#3538) 2017-03-24 14:57:42 -05:00
Adam J. Stewart
1fe987949f Clean up the gcc package (#3511)
* Clean up the gcc package

* Add preliminary testing support

* Older versions of GCC do not depend on MPC

* DejaGnu 1.4.4 cannot be built in parallel

* Fix GCC test dir

* Add two more deps required to run the testsuite
2017-03-24 14:56:22 -05:00
Mark Olesen
268d48b407 CONFIG: update mxml versions (#3534) 2017-03-24 14:22:26 -05:00
Jimmy Tang
be5bb33aac Initial add of dev package (#3533)
* Initial add of dev package

* Use a more acceptable URL
2017-03-24 13:12:57 -05:00
健美猫
c68295df2c Add cuda support for gromacs. (#3527) 2017-03-24 07:48:08 -05:00
George Hartzell
4a36f23fa8 Add release info for git v2.12.1 (#3532)
Add info for git and git-manpages.

Built/tested on CentOS7.
2017-03-23 17:43:28 -05:00
Adam J. Stewart
929a3317e9 Add env vars for Intel VTune Amplifier (#3531)
* Add env vars for Intel VTune Amplifier

* Flake8 fix
2017-03-23 15:58:12 -05:00
Adam J. Stewart
10b49fd845 Add DejaGnu package (#3518) 2017-03-23 14:35:38 -05:00
Adam J. Stewart
4ecfc39e1e Add Expect package (#3517)
* Add Expect package

* Ignore patches during flake8 tests for package.py files

* Remove controversial changes
2017-03-23 14:35:11 -05:00
Adam J. Stewart
ace890af49 Only configure requested lammps features (#3526)
* Only configure requested lammps features

* Run configure from root and make from src
2017-03-23 12:28:17 -05:00
Adam J. Stewart
4e8a59a062 Add patch to fix xcb-proto make check (#3520) 2017-03-22 16:17:01 -05:00
Howard Pritchard
7c82db07ac Open MPI: add new packages (#3519)
there were various updated packages, both for the 2.x, 2.0.x,
and 1.10.x release branches of Open MPI.

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
(cherry picked from commit 3b671935783fc3af76dc642a54461c2f02ab8ebf)
2017-03-22 16:16:32 -05:00
Jeffrey Salmond
f225741d07 configure vtk with external hdf5 and netcdf packages (#3504)
* configure vtk with external hdf5 and netcdf packages

* remove ~mpi constraints from hdf5 and netcdf
2017-03-22 14:53:05 -05:00
Erik Schnetter
7e7045e0ca llvm: Install utilities into libexec (#3516) 2017-03-22 09:01:10 -07:00
Jimmy Tang
31e28f9662 Update googletest (#3514) 2017-03-22 06:57:20 -05:00
Gregory Lee
606c5fbc5f patch readline to fix ipython seg fault (#3512) 2017-03-21 16:24:13 -07:00
Adam J. Stewart
07397e8ef7 Convert gettext to AutotoolsPackage (#3510) 2017-03-21 17:40:45 -05:00
Adam J. Stewart
657110f9d7 Convert isl to AutotoolsPackage (#3507) 2017-03-21 12:11:03 -05:00
Adam J. Stewart
ed9dec2259 Add recommended patches to mpfr package (#3506) 2017-03-21 11:25:14 -05:00
Kim Serradell
3923bdca90 Replacing failing git clone by valid url (#3505)
* Replacing failing git clone by valid url

* Moving to previous version package (0.163)

* Removing automake and autoconf dependencies and adding url_list to pick up newer versions

* Corrected typo

* Reorder versions and removed libtool
2017-03-21 10:50:34 -05:00
健美猫
babeb32c6d Add package openfst. (#3324) 2017-03-21 09:53:58 -05:00
Erik Schnetter
75c6c9f1ee llvm: Don’t copy “prefix/bin” into “prefix” during install (#3460) 2017-03-20 20:46:29 -05:00
Adam J. Stewart
777acb4c03 Fix: setuptools is a runtime dependency for pudb (#3502) 2017-03-20 18:08:45 -05:00
Adam J. Stewart
d31bbe450b Add latest version of binutils (#3500) 2017-03-20 18:07:37 -05:00
Michael Kuhn
0be9cee984 Update leveldb to 1.20 (#3441) 2017-03-20 15:07:24 -05:00
Erik Schnetter
79d0e7a5d7 gasnet: Update to 1.28.2 (#3496) 2017-03-20 15:05:23 -05:00
Erik Schnetter
ae8380c4fb cereal: Update to 1.2.2 (#3499) 2017-03-20 15:05:02 -05:00
Erik Schnetter
91dd854694 jemalloc: Update to 4.5.0 (#3497) 2017-03-20 15:04:34 -05:00
Erik Schnetter
68a4706b1e py-yt: Update to 3.3.5 (#3498) 2017-03-20 15:04:17 -05:00
Erik Schnetter
22f3c9de84 fftw: Update to 3.3.6-pl1 (#3495) 2017-03-20 12:35:08 -07:00
健美猫
1655161ebb Add ffmpeg package. (#3470) 2017-03-19 10:12:34 -05:00
健美猫
fb248f17fb Substitue ftp:// with http:// (#3491) 2017-03-19 10:11:06 -05:00
健美猫
14c181e480 Add new version for intel package: 16.0.4 17.0.2 . (#3490) 2017-03-19 07:57:06 -05:00
Erik Schnetter
a0ab3c2523 hdf5: Clean up building self-tests (#3483)
* hdf5: Clean up building self-tests

* hdf5: Clean up running self-tests
2017-03-18 20:14:47 -05:00
Adam J. Stewart
4866b4592f Add missing dependencies to gawk (#3481)
* Add missing dependencies to gawk

* Fix make check

* Add mawk packages and awk virtual dependency

* Use mawk instead of gawk to build ncurses

* Rearrange order of patches and dependencies
2017-03-18 19:13:32 -05:00
Adam J. Stewart
9d0a3c6b05 Fix deptype of various dependencies on Python packages (#3486) 2017-03-18 15:20:16 -05:00
Javier
6b97f538cf Adding new packages: py-argparse and py-importlib (#3488) 2017-03-18 13:45:29 -05:00
Adam J. Stewart
773357e20f setuptools is a runtime dependency of virtualenv (#3485) 2017-03-17 16:25:48 -05:00
Erik Schnetter
a2235fed41 julia: Create cacert directory manually to ensure correct permissions (#3482) 2017-03-17 16:07:49 -05:00
Javier
b0d9088603 Adding new package: py-future (#3401)
* Adding new package: py-future

* Commenting out deps needed when installing python@2.6
2017-03-17 13:59:38 -05:00
Adam J. Stewart
5f13e40655 Add package for ESMF (#2831)
* Add package for ESMF

* Apparently mvapich2 is supported?
2017-03-17 09:21:25 -05:00
Adam J. Stewart
2c39f16d44 Add version constraints to VTK patch (#3357) 2017-03-17 09:19:44 -05:00
Erik Schnetter
19b3afebc9 hpx5: Convert to AutotoolsPackage, several updates (#3456)
* hpx5: Convert to AutotoolsPackage, several updates

- convert to AutotoolsPackage
- add several variants
- add several dependencies
- add new version 4.0.0
- don’t set compiler flags explicitly

* hpx5: Don’t import os

* hpx5: Clean up configure arguments

* hpx5: Correct libffi configure declaration

Also add new variant “+instrumentation”.

* hpx5: Correct CUDA, MPI, OpenCL configuration

* hpx5: Use built-in libffi

Spack’s libffi installs its headers in a strange place, and hpx5 can’t pick them up.
2017-03-17 09:11:02 -05:00
Erik Schnetter
e7bf8034b0 libpciaccess: Convert to AutotoolsPackage, remove Darwin work-around (#3459)
* libpciaccess: Convert to AutotoolsPackage, remove Darwin work-around

Other packages that depend on libpciaccess can do so via a conditional dependency (via a variant); we don’t need a dummy package for Darwin any more.

* Disable libpciaccess dependency on non-Darwin platforms

* hwloc: Remove direct dependency on libpciaccess
2017-03-17 09:09:09 -05:00
Michael Kuhn
1124bdc99e Add packages libbson and libmongoc (#3440) 2017-03-16 23:16:30 -07:00
Erik Schnetter
9c1885022e simulationio: New package (#3422)
* simulationio: New package

* simulationio: Rename development version to “develop”

* simulationio: Try to make flake8 happy

* simulationio: Correct flake8 error

* simulationio: Extend Python

* simulationio: Remove unused imports
2017-03-16 23:06:47 -07:00
Adam J. Stewart
386462c0cb Add latest version of NCO (#3469) 2017-03-16 21:39:41 -07:00
Brian Van Essen
3f17f761fe Py keras extension (#3468)
* Added support for building Theano with GPU support.  Added a package
for the libgpuarry libary needed for Theano.

* Added dependency on py-pexpect package which ipython requires.
2017-03-16 21:24:36 -07:00
Todd Gamblin
328b2142f5 Fix Qt4 build on Yosemite (10.11) (#3444) 2017-03-16 17:55:06 -07:00
Erik Schnetter
4f05fb4b3f gasnet: Convert to AutotoolsPackage, update (#3455)
* gasnet: Convert to AutotoolsPackage, update

- convert to AutotoolsPackage
- add new version 1.28.0
- create variants for IB and MPI support

* gasnet: Don’t specify prefix explicitly

* gasnet: Add missing variant descriptions

* gasnet: Correct syntax error
2017-03-16 18:12:25 -05:00
Adam J. Stewart
99ef28b5d2 Add latest version of lmod (#3467) 2017-03-16 12:50:30 -05:00
Adam J. Stewart
4c7a721341 Add latest version of git, convert to AutotoolsPackage (#3466) 2017-03-16 12:50:10 -05:00
Erik Schnetter
2eda08f192 julia: New variant +simd (#3458) 2017-03-16 11:49:37 -05:00
Erik Schnetter
83fe65e121 hwloc: Add missing dependencies (#3457)
* hwloc: Add missing dependencies

- add several missing dependencies
- add variants for various features
- add new version 1.11.6

* hwloc: Add descriptions to variants
2017-03-16 11:48:39 -05:00
Erik Schnetter
53ca628d8b qthreads: New version 1.12 (#3464) 2017-03-16 10:08:48 -05:00
Erik Schnetter
a609d22b95 pocl: Introduce virtual package “opencl” (#3461)
OpenCL is a standard like MPI, with several versions and several implementations.
2017-03-16 09:47:46 -05:00
Erik Schnetter
d6a7000aee py-numpy: Correct typos in comment (#3462) 2017-03-16 09:45:09 -05:00
Erik Schnetter
19a90ccc19 py-scipy: New version 0.19.0 (#3463) 2017-03-16 09:39:26 -05:00
Javier
9e1e3a203a Adding new package: py-jpype (#3402)
* Adding new package: py-jpype

* Moving jdk dependency
2017-03-16 06:37:09 -05:00
Adam J. Stewart
4518ff0150 Add latest version of lua (#3454) 2017-03-15 21:28:56 -05:00
Adam J. Stewart
a40ccc24d6 Add latest version of pcre (#3453) 2017-03-15 21:28:29 -05:00
Adam J. Stewart
72890f4840 Add latest version of readline (#3452) 2017-03-15 20:36:24 -05:00
Adam J. Stewart
caf209bdd7 Add latest version of libiconv (#3451) 2017-03-15 20:08:01 -05:00
Gregory Lee
d0060bc318 added parallel studio composer edition 2017.2 (#3450) 2017-03-15 18:51:18 -05:00
Adam J. Stewart
7be728d551 Add latest version of libsigsegv (#3449) 2017-03-15 18:00:17 -05:00
Adam J. Stewart
9f1af5913b Add latest version of cURL (#3447) 2017-03-15 16:01:10 -05:00
Adam J. Stewart
41114c3e76 Add latest version of Intel Parallel Studio (#3445) 2017-03-15 13:46:48 -05:00
健美猫
9af7bef10b Add version 4.0 for foam-extend. (#3442) 2017-03-15 13:02:36 -05:00
Adam J. Stewart
dca4d2b15e Consistent docs and usage of env mod methods (#3351) 2017-03-14 22:26:44 -07:00
Adam J. Stewart
64bd7adefa Fix vim ~gui behavior (#3432) 2017-03-14 07:45:17 -07:00
Adam J. Stewart
5430d45db1 Add latest version of openpyxl and missing dependencies (#3431) 2017-03-14 07:44:46 -07:00
Adam J. Stewart
b203058891 Fix zlib %pgi build (#3436) 2017-03-14 07:43:54 -07:00
Erik Schnetter
415c9398d2 ncurses: Use gawk as awk (#3425) 2017-03-14 07:43:02 -07:00
Erik Schnetter
9121599145 New package pocl (#3413)
* New package pocl

* pocl: Update dependencies, add self-test

* pocl: Don't require LLVM shared libraries

LLVM build fails with shared libraries.

* Add patch

* Update

* Update

* Make build and install work; install test still fails

* Split pocl into pocl proper and pocl-test

* Add debug output

* pocl: Update to 0.14-rc

* pocl: Correct flake8 error

* pocl: Heed code review recommendations

* pocl: Add newline at end of file

* pocl: Correct flake8 error

I don’t want to use an even longer line by putting the whole variant declaration onto a single line, nor do I think that having an overlong line and adding `# noqa` at the end is more readable than splitting a string over three lines.

* pocl: Correct dependency type for libtool
2017-03-12 12:52:18 -05:00
Denis Davydov
0b948da74c gnuplot: fixed broken package and add variants (#3185)
* gnuplot: fix conflict in header via a simple patch; add variants

* gtkplus: fix missing dependency

* wx: fix build on macOS; switch to AutotoolsPackage

* gnuplot: add missing dependencies

* wx: put back parallel build
2017-03-12 09:37:26 -05:00
Erik Schnetter
d8f1446265 julia: New version 0.5.1 (#3418)
* julia: New version 0.5.1

* julia: Define url on a single line
2017-03-11 21:04:44 -06:00
Erik Schnetter
9a14597493 autoconf: Correct m4 dependency declaration (#3415)
* autoconf: Correct m4 dependency declaration

Closes #3406.

* autoconf: Correct m4 dependency type

* autoconf: Update comment
2017-03-11 21:04:18 -06:00
Erik Schnetter
02db630985 hwloc: Disable OpenCL (#2854)
* hwloc: Disable OpenCL

* hwloc: Convert `install` to `configure_args`
2017-03-11 20:59:06 -06:00
Erik Schnetter
41a3957540 libxsmm: Add header-only variant (#3419)
* libxsmm: Add header-only variant

* libxsmm: Implement requestes from code review

* libxsmm: Correct error in previous simplification

* libxsmm: Raise error if `header-only` variant is not supported by version

* libxsmm: Correct flake8 errors
2017-03-11 16:00:47 -06:00
Erik Schnetter
18ac76b320 bison: Declare m4 dependency correctly (#3424)
* bison: Declare m4 dependency correctly

* bison: Declare m4 as run-time dependency
2017-03-11 15:58:57 -06:00
Erik Schnetter
23d4a60639 funhpc: New package (#3421)
* funhpc: New package

* funhpc: Rename development version to “develop”

* funhpc: Try to make flake8 happy

* funhpc: Correct flake8 error
2017-03-11 15:58:09 -06:00
Erik Schnetter
7e3eaba899 hdf5-blosc: Update compiler selection in self-test (#3417) 2017-03-11 12:50:54 -06:00
Erik Schnetter
093ffdfa45 cuda: Allow using unknown compilers (#3416)
* cuda: Allow using unknown compilers

* cuda: Correct flake8 error
2017-03-11 12:42:02 -06:00
Erik Schnetter
b30637e1ce py-yt: New version 3.3.4 (#3420) 2017-03-11 12:39:33 -06:00
Erik Schnetter
48640cf2fa binutils: Add gettext dependency (#3423) 2017-03-11 12:38:51 -06:00
Elsa Gonsiorowski
eef2021d91 pdsh basic package (#3408)
* added basic pdsh package

* need link to actual archive file
2017-03-11 09:12:26 -06:00
Todd Gamblin
e3101808ae Make multimethods work with inheritance. (#3411)
Previously, this would fail with a NoSuchMethodError:

    class Package(object):
        # this is the default implementation
        def some_method(self):
            ...

    class Foo(Package):
        @when('platform=cray')
        def some_method(self):
            ...

        @when('platform=linux')
        def some_method(self):
            ...

This fixes the implementation of `@when` so that the superclass method
will be invoked when no subclass method matches.

Adds tests to ensure this works, as well.
2017-03-11 05:48:36 -08:00
Mario Melara
15f80ed15c Add paths to PKG_CONFIG_PATH to find cray .pc file (#3378)
* Add paths to PKG_CONFIG_PATH to find cray .pc file

Adds two paths: /usr/lib64/pkgconfig and /usr/local/lib64/pkgconfig.

cray pkg-config looks at two different paths which are not included
in PKG_CONFIG_PATH environment variable. This PR addresses #3167.

* Flake8 fixes

* flake8 fix again
2017-03-10 16:29:20 -08:00
Javier
68f5b9adf8 Adding new package: py-lxml (#3403)
* Adding new package: py-lxml

* Adding missing version
2017-03-10 13:18:17 -06:00
Javier
a1e8644f63 Adding new package: py-elasticsearch (#3398)
* Adding new package: py-elasticsearch

* Adding missing dependency
2017-03-10 12:48:41 -06:00
Javier
0c9ddeafe4 Adding new package: py-keras (#3400)
* Adding new package: py-keras (and dependencies)

* Fixing dependencies
2017-03-10 12:48:22 -06:00
Jon Rood
6066526492 Confining CPPFLAGS=-P to only happen for GCC. (#3404) 2017-03-10 12:48:03 -06:00
Javier
22d7f9da40 Adding new package: py-py4j (#3390)
* Adding new package: py-py4j

* Adding missing depedency
2017-03-10 07:30:28 -06:00
Javier
a7f35b3db6 Adding new package: py-joblib (#3399) 2017-03-10 07:30:01 -06:00
Javier
84db03b5a8 Adding new package: vdt (#3396) 2017-03-10 07:08:41 -06:00
Javier
901f044bbf Adding new package: vc (#3397) 2017-03-10 07:08:17 -06:00
Javier
f0fd0156de Adding new package: py-pathos (and dependencies) (#3391)
* Adding new package: py-pathos (and dependencies)

* Fixing required versions
2017-03-09 17:28:32 -06:00
George Hartzell
611df0bebf New gcc uses C++14 mode, this fixes implicit conversion (#3392)
* New gcc uses C++14 mode, this fixes implicit conversion

The issue is described in depth [here][desc].  C++14 no longer
allows implicit conversion from iostream classes to void*.

This patch comes directly from [PR #6][patch].

[desc]: http://stackoverflow.com/questions/38659115/make-fails-with-error-cannot-convert-stdistream-aka-stdbasic-istreamchar
[patch]: https://github.com/agordon/libgtextutils/pull/6

* mend
2017-03-09 17:27:56 -06:00
Javier
ebd5066d07 Adding new package: py-4suite-xml (#3389) 2017-03-09 13:44:37 -06:00
Gregory Lee
604b75c1f9 created elf virtual package and updated dependent packages (#3317)
* created elf virtual package and updated dependent packages
* added `hide_files` context manager to handle moving files.
2017-03-09 10:36:32 -08:00
Erik Schnetter
2ac343e92e cosmomc: New package CosmoMC (#3292)
* cosmomc: New package CosmoMC

* cosmomc: Improve version numbering scheme

* planck-likelihood: New package

* cosmomc: Pacify flake8

* cosmomc: Code cleanup as requested in the review

* cosmomc: Various updates suggested during review

* cosmomc: Limit compiler versions (as documented in the build instructions)

* cosmomc: Correct flake8 error

* cosmomc: Use `libs` instead of `lapack_libs`

* planck-likelihood: Make makefile output more verbose and readable

* planck-likelilhood: Correct order of libraries when calling linker

* cosmomc: Clean up check for suitable compiler

* planck-likelihood: Use modern mechanism to set environment variables
2017-03-09 08:14:13 -06:00
Brian Van Essen
21e913bac5 Updated the spectrum-mpi package to get the right compiler names when (#3381)
we use spectrum.
2017-03-09 08:11:59 -06:00
Michael Kuhn
44b165461a udunits2: Add build dependency on texinfo (#3383) 2017-03-09 08:11:23 -06:00
Michael Kuhn
c1f8fbed34 ncl: Update to 6.4.0 (#3384) 2017-03-09 08:11:06 -06:00
Javier
e8c8e444e8 Fixing checkum of py-coverage v4.3.4 (#3386) 2017-03-09 08:10:45 -06:00
Massimiliano Culpo
f2c1cbdcd3 patch: configure and build out of source fixes #3387 (#3388) 2017-03-09 07:40:05 -06:00
Brian Van Essen
acf95c92a6 Fixes the Elemental and LBANN packages to conform to the new syntax (#3382)
introduced by PR https://github.com/LLNL/spack/pull/1875
2017-03-08 14:32:26 -06:00
healther
bacb60457d Add package py-guiqwt and dependencies (#3334)
* add package py-guiqwt with dependencies

* fixed url

* fixed url2

* Update package.py

* Update package.py
2017-03-08 10:18:57 -06:00
AP97
3d9cd72e33 Adding farmhash package from google (#3239)
* Adding farmhash package from google
2017-03-07 07:02:08 -08:00
Aidan San
5d1a16805e Added gemmlowp package (#3240) 2017-03-07 07:00:53 -08:00
Hans Pabst
2ae1ebbbe8 LIBXSMM 1.7.1 (#3371)
* Cleanup list of offered versions (only the latest update release of each minor version is kept: 1.4.4, 1.5.2, 1.6.6, 1.7.1); introduced master revision (via Git). Slightly more selective installation of the documentation; copy README.md and LICENSE files to documentation folder. Removed outdated build options (make_args); generally stay with LIBXSMM's defaults (general purpose build). Introduced one build variant ("debug").

* Incorporated comments of PR #3371 (https://github.com/LLNL/spack/pull/3371).

* Fixed flake8 complaints.

* Made the full list of versions available starting with version 1.4 (there are earlier releases, however those have been released before the Spack specification became available; original spec. also started with 1.4).

* Made DBG and TRACE actually two separate arguments.
2017-03-07 06:58:17 -08:00
Erik Schnetter
55e1550a59 openblas: Run tests only when requested (#3370)
The tests fail on some systems (e.g. Comet at SDSC) that impose limits on the number of processes or threads one can run simultaneously on the head node. Thus the tests should not be run by default.
2017-03-05 12:29:02 -06:00
Barry Smith
00d6cb9a8f Fixes veclibfort which was broken by PR1875 (#3368)
Funded-by: IDEAS
Project: IDEAS/xSDK
Thanks-to: Adam J. Stewart
2017-03-05 07:34:38 -06:00
healther
a7bab8a418 add package py-py-cpuinfo (#3339)
* add package py-py-cpuinfo

* renamed package to py-cpuinfo
2017-03-04 20:12:37 -06:00
Adam J. Stewart
a2d70a45fb Allow find_libraries to accept lists or strings (#3363)
* Allow find_libraries to accept lists or strings

* Convert one more example from list to string
2017-03-04 11:23:57 -06:00
Massimiliano Culpo
192a4b30f0 atlas: added a missing property decorator (#3366) 2017-03-04 10:24:48 -06:00
Denis Davydov
a36ed7fb9b fix blas/lapack usage after PR 1875 (#3365) 2017-03-04 09:42:02 -06:00
serbanmaerean
c3ac86310e ADIOS: change subclassing from Package to AutotoolsPackage (#3230)
* ADIOS: change the invocation of python script that generates test files

The python script ADIOS*/utils/gpp/gpp.py is invoked directly in the
ADIOS*/tests/genarray/Makefile and the name of the python interpreter
can be quite long if it is one built under spack, i.e. longer than the
80 characters allowed by the #! line in bash.  The name of the shbang
line is truncated at 80 characters and bash cannot find the python
interpreter specified.

This fix changes how the script is executed, by invoking it under
python. This way, the shbang line is ignored.

* adios: fixed flake8 errors from previous commit.

* adio: Switch to AutotoolsPackage class from Package class

Switched in order to add support for the ppc64le platform.
2017-03-04 07:53:50 -06:00
Jon Rood
0c1441c3e3 Using fPIC in PERL when using an Intel compiler. (#3355) 2017-03-04 07:50:38 -06:00
Adam J. Stewart
d52ac82f95 Convert gl2ps to CMakePackage (#3360)
* Convert gl2ps to CMakePackage

* Remove unused spec variable
2017-03-04 07:49:57 -06:00
Erik Schnetter
3e4fced7d8 ncurses: Work around an awk bug (#3361) 2017-03-04 07:49:12 -06:00
healther
1e6871add1 correct ipython dependency (#3332)
* correct ipython dependency

* needed to introduce a github download for py-jedi

* corrected dependencies

* restrict appnope dependency to darwin>10.8

* flake8 fix
2017-03-04 07:45:07 -06:00
healther
16c08fb5b3 add package py-junit-xml (#3336)
* add package py-junit-xml

* Update package.py

* flake8 fix
2017-03-04 07:44:36 -06:00
eklee15
c4e7cfe02b Added magma package (#3273)
* Added magma package

* Incorporated Serban's change

* Removed cmake dependency
2017-03-03 21:37:29 -06:00
healther
f34cd4be2b add package py-neo and py-quantities (#3337)
* add package py-neo and py-quantities

* Update package.py

* fixed errors
2017-03-03 21:34:20 -06:00
healther
ec81643906 add package py-pyminifier (#3340) 2017-03-03 21:34:04 -06:00
healther
b6ebfdaa60 add package py-serial (#3341)
* add package py-serial

* fixed setuptools dependency
2017-03-03 21:33:48 -06:00
healther
16e77086e0 add package py-pyfftw (#3342)
* add package py-pyfftw

* Update package.py
2017-03-03 21:33:31 -06:00
Adam J. Stewart
e7b019bf48 Revert "Make libgcc_s relocatable on Macos by adding @rpath to installname" (#3349) 2017-03-03 21:32:44 -06:00
Denis Davydov
003e841016 openblas: fix flags (#3344) 2017-03-03 19:30:35 -06:00
Andrew Holler
1cf8dbd200 features/highwayhash (#3242)
* Adding highwayhash package from Google

* Added the highwayhash package for Tensorflow

* Fixed the numerous flake8 issues

* fixed requested changes

* added conditionals for some installs

* forgot an import

* create install directories before you install anything in them
2017-03-03 19:00:43 -06:00
healther
8333c56ab8 add versions to package py-pandas (#3338) 2017-03-03 16:35:04 -06:00
Adam J. Stewart
678603f3cc scipy build fails when built in parallel (#3275) 2017-03-03 16:31:03 -06:00
Erik Schnetter
37eb59622d opencoarrays: Correct download url, update version (#3322) 2017-03-03 16:29:56 -06:00
健美猫
9ec148e484 Add package sga. (#3330) 2017-03-03 16:28:34 -06:00
healther
dfbe3278c4 add package py-lmfit (#3333)
* add package py-lmfit

* needed to deactivate testing in openblas due to spec.cppflags being undefined

* undid openblas modification
2017-03-03 16:27:32 -06:00
healther
7dff5e7646 add package py-myhdl (#3335)
* add package py-myhdl

* Update package.py
2017-03-03 16:27:14 -06:00
健美猫
d63a53e691 Fix simul by diabling inline and replacing mpicc command. (#3323) 2017-03-03 10:19:17 -06:00
healther
191bf1e132 add package py-elephant (#3302)
* add package py-elephant

* add variants for docs and pandas
2017-03-03 08:39:06 -06:00
healther
ba21940409 add resource manpages to package git (#3299)
* add resource manpages to package git

* Update package.py

* added manpages per version

* added explaining comment

* fixed synatx error
2017-03-03 08:07:50 -06:00