Commit graph

6786 commits

Author SHA1 Message Date
Mark C. Miller
5712fbfeb0 Use correct variant syntax to build zfp (#5099)
`h5z-zfp` now  builds zfp with correct bit stream word size; the syntax of the variant declaration did not work in previous versions of spack but does now
2017-08-15 12:10:09 +02:00
healther
b229b739de add older versions to package folly (#5088) 2017-08-15 12:01:33 +02:00
Patrick Gartung
ab56c742ca Create, install and relocate tarballs of installed packages
Adds the "buildcache" command to spack. The buildcache command is
used to create gpg signatures for archives of installed spack
packages; the signatures and archives are placed together in a
directory that can be added to a spack mirror. A user can retrieve
the archives from a mirror and verify their integrity using the
buildcache command. It is often the case that the user's Spack
instance is located in a different path compared to the Spack
instance used to generate the package archive and signature, so
this includes logic to relocate the RPATHs generated by Spack.
2017-08-14 14:32:27 -07:00
Massimiliano Culpo
5184edb15f Added a custom action for --clean and --dirty. (#5081)
The action `CleanOrDirtyAction` has been added. It sets the default
value for `dest` to `spack.dirty`, and changes it according to the flags
passed via command line. Added unit tests to check that the arguments
are parsed correctly. Removed lines in `PackageBase` that were setting
the default value of dirty according to what was in the configuration.
2017-08-14 11:29:18 -07:00
scheibelp
4d9ef49b49 Decode process stream only for python3
Popen.communicate outputs a str object for python2 and a bytes
object for python3. This updates the Executable.__call__ function
to call .decode on the output of Popen.communicate only for python3.
This ensures that Executable.__call__ returns a str for python2 and
python3.
2017-08-14 11:23:03 -07:00
Brian Van Essen
3cce3e3ce4 Opencv update (#5079)
* Added a package for the MDAnalysis toolkit.

* Added version 3.3.0
2017-08-11 23:46:39 -05:00
Massimiliano Culpo
41c87a71a8 patch: get correct package directory for a given package
fixes #4236
fixes #5002

When a package is defined in more than one repository,
RepoPath.dirname_for_package_name may return the path
to either definition. This sidesteps that ambiguity by 
accessing the module associated with the package definition.
2017-08-11 19:18:52 -07:00
snehring
64a32ea1f9 adding falcon (#5057)
* py-networkx: adding older version py-networkx

* py-pypeflow: new package

* falcon: adding new package
pacbio-daligner: adding new package
pacbio-damasker: adding new package
pacbio-dazz-db: adding new package
pacbio-dextractor: adding new package

* py-networkx: modifying version order to be in line with convention

* falcon: tweaking py-networkx dependency to satisfy setuptools
py-pypeflow: adding missing dependency

* pacbio-dextractor: changing hdf5 dependency

* pacbio-daligner: adding gmake build dep
pacbio-damasker: adding gmake build dep
pacbio-dazz-db: adding gmake build dep
pacbio-dextractor: adding gmake build dep
2017-08-11 17:26:20 -05:00
Audrey Thoma
9e7917f7d3 mpest: new package (#5064)
* mpest: new package

* adding architecture env var and making more version-flexible

* fixing environment

* fixed build directory

* getting rid of duplicated code
2017-08-11 17:25:26 -05:00
Gregory Lee
14076c52f1 packages need to reference self.spec instead of spec (#5075) 2017-08-11 17:24:40 -05:00
Audrey Thoma
056faad3a2 signalp: new package (#5054)
* signalp: new package

* fixed homepage

* fixed url and phases

* refixed phase

* improved readability

* making path in execuatble adaptable to new versions
2017-08-11 13:54:12 -05:00
Audrey Thoma
d16f823f9d sspace-standard: new pacakge (#5071)
* sspace-standard: new pacakge

* fixing install versioning

* fixing description
2017-08-11 13:51:27 -05:00
Audrey Thoma
a030c858dd sspace-longread: new package (#5072)
* sspace-longread: new package

* fixing description

* fixing order
2017-08-11 13:51:08 -05:00
Audrey Thoma
295cdc5674 gapfiller: new package (#5073) 2017-08-11 13:50:08 -05:00
Mark C. Miller
39cb589510 More variants for MFEM (#4533)
* 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.

* adding mfem variants; do not assume build defaults

* adjusting format to clarify options

* fixing some build issues

* fixing mfem+sundials

* removing mesquite variant...turns out it is obsolete

* adding examples to mfem; fixing sundials darwin installs

* adding some additional variants and setting some configure flags by fiat

* switching most check_variants logic to conflicts() directives

* adding comment about cmake config

* fixing flake8 issues; thought I had already done that

* moving func def into install method

* switch yes_no to no_yes; fix miss-spelling of miniapps

* switching make target all to lib

* changing yes_no to function as requested; fix problem with same in sundials

* fix missing import sys directive

* adding master and develop versions to amrex
2017-08-11 08:39:48 -05:00
Brian Van Essen
71c5b19464 Elemental fix (#5067)
* Added a package for the MDAnalysis toolkit.

* Added additional packages that Elemental depends on.

* Changed LBANN to not ask for the scalapack variant in Elemental.

* Removed variant control on scalapack
2017-08-11 08:29:24 -05:00
EmreAtes
038efc623d New package: qbox (#4711)
* New package: qbox

* API changes

* Use install instead of shutil for comd

* Use any BLAS library

* Fix typo

* Python2 fix

* python2 + fix backslashes

* Modified to respond to ld_flags correctly

* Modified to use ld_flags

* Add ld_flags support
2017-08-10 20:12:08 -05:00
Akhil Reddy Patlolla
e3a4631037 Add AMG2013 package (#4836)
*  Updated Changes

*  Updated AMG with required MPI

*  Updated AMG with Version ' changes'

*  Fixed Issues with flag's and variant checks

*  Updated with MPI Alone and Changes - NO Serial Variant

*  Updated with MPI Alone and Changes - NO Serial Variant

* Fixed Flake 8 line length error

*  Updated Spack Issues
2017-08-10 20:09:59 -05:00
Akhil Reddy Patlolla
e4c22efc85 Variants Serial MPI openmp (#4897)
*  Variants Serial MPI openmp

*  Fixed Flake8 Issue  and remove Patch File

*  Fixed issues with openmp Flag

*  Edited Required Changes

* Fixed issues with flake8 and Added Conditional GCC Flags

* Fixed Flake 8 Issue

*  Fixed flag's issue with non GCC Compiler

*  Fixed condition and spacing issues
2017-08-10 20:08:56 -05:00
Audrey Thoma
2f29e9c18e braker & genemark-et: new packages (#5058)
* braker & genemark-et: new packages

* fixing install
2017-08-10 20:04:37 -05:00
Audrey Thoma
637f72a8fe fimpute: new package (#5060) 2017-08-10 20:04:10 -05:00
Audrey Thoma
967370aa0b impute2: new package (#5062) 2017-08-10 20:03:52 -05:00
Audrey Thoma
518993431d mothur: new package (#5055)
* mothur: new package

* fixing mpi things
2017-08-10 18:09:40 -05:00
Jim Galarowicz
df3bc3906d Update Krell products: Add new OpenSpeedShop gui package based on qt4/qt5 gui toolkit. (#5056)
* Update the krell institute products to use the latest features of spack for building on cluster platforms.

* Address travis error messages and resubmit the pull request.

* Update the contents of openspeedshop package.py so it passes the flake8 tests.

* Fix flake8 error-whitespack issue in mrnet package.py file.

* Add updates based on spack reviewer feedback.

* More fixes based on comments from reviewers.  Switch using extend to using append, remove additional setting of PATH and LD_LIBRARY_PATH that should not be required due to RPATH.

* More review related changes.  Update MPIOption.append lines and take out xercesc references.

* Create a base options function for common openspeedshop base cmake options to reduce redundencies.

* Add libxml2+python depends on to get around issues with the libxml2 package file.

* Using boost over 1.60.0 causes compile errors.  This is a known boost bug. Also, dyninst-9.2.0 is set to be the vesrion of dyninst to use with OSS, as of now. The newer version fails to build.

* Fix bad syntax in specifying the boost version range.

* Update the version numbers for the krell institute components and tools: cbtf and openspeedshop.

* Do not build glib for qt3, it is not needed and causes build problems at this time anyway.

* A fix was added for setting LD_LIBRARY_PATH in the qt3 build, but if LD_LIBRARY_PATH is not set the qt build fails. So so check and set LD_LIBRARY_PATH if not set, update if it is set.

* Update the fix for qt3 build by setting LD_LIBRARY_PATH instead of checking for whether it is set or not per Adams comment that spack clears LD_LIBRARY_PATH.

* A fix was added for setting LD_LIBRARY_PATH in the qt3 build, but if LD_LIBRARY_PATH is not set the qt build fails. So so check and set LD_LIBRARY_PATH if not set, update if it is set.

* Trim comments to fit more concisely.

* Fix tabs versus spaces and swap if and else clause check from a negative to a positive check.

* Add new OpenSpeedShop gui package based on qt4/qt5 gui toolkit.

* Fix flake8 errors.

* Fix flake8 errors.
2017-08-10 18:08:32 -05:00
Audrey Thoma
81a1d7b72b gblocks: new package (#5061) 2017-08-10 17:56:20 -05:00
Audrey Thoma
ee66c3a7aa kallisto: new package (#5063) 2017-08-10 17:54:29 -05:00
Audrey Thoma
e99834df6a fastphase: new package (#5059) 2017-08-10 17:51:46 -05:00
Michael Kuhn
887e4724c2 go: Fix cgo (#5052) 2017-08-10 09:42:02 -07:00
George Hartzell
c6cd447a8a Add version 2.19.1.403 to bcl2fastq2 package (#5047)
* Update bcl2fastq2 with info for 2.19.1.403

Heads up, the download location changed (domain name AND protocol).

* Flake8 fix

What's one space between friends?
2017-08-09 22:17:34 -05:00
Audrey Thoma
5bb86ce964 soapindel: new package (#5048)
* soapindel: new package

* fixed versioning
2017-08-09 21:39:06 -05:00
Jon Rood
58cdd46ebd Adding lower bound to pnetcdf conflict in Trilinos (#5039)
* Adding lower bound to pnetcdf conflict in Trilinos to allow for use of develop and master branch.

* Using even lower bound for pnetcdf conflict in Trilinos.
2017-08-09 18:50:28 -05:00
Audrey Thoma
869d40648f soap2: new package (#5045) 2017-08-09 18:50:11 -05:00
Audrey Thoma
3edf36b0a4 haploview: new package (#5036) 2017-08-09 17:03:14 -05:00
Audrey Thoma
7ca5e4f734 soapsnp: new package (#5046) 2017-08-09 17:00:59 -05:00
Brian Van Essen
28b0421eb1 Opencv fix (#5040)
* Added a package for the MDAnalysis toolkit.

* Changed cmake_options to args to be consistent with the rest of the
file and fix a cmake error about undefined errors.  Additionally,
added guards for both png and zlib to not include their cmake options
when those variants are not specified.
2017-08-09 15:40:10 -05:00
Audrey Thoma
0137f17306 shapeit: new package (#5042)
* shapeit: new package

* fixing versioning
2017-08-09 15:39:37 -05:00
Audrey Thoma
1f578c5777 pipits: new package (#5041)
* pipits: new package and dependencies

* fixing rdp-classifier java dep

* adding resources to pipits and fixing deps for py-biom-format
2017-08-09 15:04:21 -05:00
becker33
79f9548a9a bugfix for module_cmd (#5038)
* bugfix for modulecmd when bash is symlinked to sh

* update test to make sure module_cmd can interpret sh
2017-08-09 12:14:35 -07:00
Massimiliano Culpo
faeb1b77b2 Merged 'purge' command with 'clean' and deleted 'purge' (#4970)
* Merged 'purge' command with 'clean'. Deleted 'purge'. fixes #2942

'spack purge' has been merged with 'spack clean'. Documentation has been
updated accordingly. The 'clean' and 'purge' behavior are not mutually
exclusive, and they log brief information to tty while they go.

* Fixed a wrong reference to spack clean in the docs

* Added tests for 'spack clean'. Updated bash completion.
2017-08-09 10:02:38 -07:00
pkondamudi
9e8cce41e3 OpenMC parallel build fix. (#5037) 2017-08-09 11:11:09 -05:00
Denis Davydov
db4776fcd5 alglib: add new package (#5035) 2017-08-09 09:10:25 -07:00
Sergey Kosukhin
e463461ed1 Bugfixes for compiler detection on the Cray platform. (#3075)
* Typo fixes in docstrings.

* Let OS classes know if the paths they get were explicitly specified by user.

* Fixed regexp for cray compiler version matching.

* Replaced LinuxDistro with CrayFrontend for the Cray platform's frontend.
2017-08-09 09:00:34 -07:00
Massimiliano Culpo
d6fc2363af slurm: added initial recipe (#4802)
* slurm: added initial recipe

* Modified variants following Adam comment.

The MV variant 'features' has been turned into a set of BV variants. The
dependency on 'readline' has been made optional.
2017-08-09 08:13:33 -05:00
Brian Homerding
a33f52cfb0 Fixed minor issues from Cmake conversion (#5024) 2017-08-08 23:47:34 -05:00
jiseung
a66fb012da Packages/cns nospec (#5023)
* new package: cns-nospec

* made changes as suggested and added proxy-app tag

* updated edit()

* adjusted logic for '+debug'

* install readme and license

* install readme and license

* install readme and license; fix mpi version build issues

* fix build issues for ~mpi

* pep8 compliant
2017-08-08 20:25:00 -05:00
Audrey Thoma
3506f2674c xplor-nih: new package (#5030) 2017-08-08 20:24:42 -05:00
Axel Huebl
dfb34da689 Adios2: ZeroMQ (#5031)
During my last rebase the zeromq core dependency got missing.
Currently it's needed for all dataman WAN transports.
2017-08-08 20:24:27 -05:00
Audrey Thoma
1a3021d22c rtax: new package (#5025)
* rtax: new package

* fixing usearch version flexibility
2017-08-08 16:29:20 -07:00
jiseung
f6a9c7d79c Packages/amr exp parabolic (#5027)
* new package: amr-exp-parabolic

* removed boilerplate and added tag

* install license and readme

* fix mpi build issues

* change access to include/lib directories and pep8 compliant now
2017-08-08 17:25:27 -05:00
Audrey Thoma
7f4d94667c vmatch: new package (#5028)
* vmatch: new package

* adding url_for_version
2017-08-08 17:24:56 -05:00