Commit graph

6799 commits

Author SHA1 Message Date
Audrey Thoma
6485c3feb5 snap-berkeley: new package (#4855)
* snap: new package

* changing name and adding stable release
2017-08-05 12:42:33 -05:00
snehring
cf017baa8d chlorop: new package (#4865)
* chlorop: new package

* chlorop: moving main script to bin and moving runtime tmp location.

* chlorop: fixing flake8 error.

* chlorop: cleaning up, removing CHLOROTMP, advising user to set it.

* chlorop: removing unused import
2017-08-05 12:39:44 -05:00
Sam Bateman
ce6d357161 Correct boost +mpi for Cray compiler wrappers (#4909) 2017-08-05 12:06:46 -05:00
Axel Huebl
50bf261197 Add ADIOS2 (#4944)
Adds ADIOS2, the C++ Exascale HPC I/O rewrite of ORNL's ADIOS
library.

Currently, many variants (especially for data transforms such as
compression) are not yet added. It already provides Python bindings.
2017-08-05 12:05:38 -05:00
Kelly (KT) Thompson
c54108cf63 Moab depends on BLAS. (#4952) 2017-08-05 12:04:12 -05:00
Adam J. Stewart
a31ce17f0b Various fixes to package name URL parsing (#4978) 2017-08-05 10:15:47 -05:00
Adam J. Stewart
c7df12f698 Massive conversion from Package to CMakePackage (#4975) 2017-08-05 10:15:18 -05:00
Adam J. Stewart
17cdb73be7 Add latest version of numpy and scipy (#4982) 2017-08-05 15:37:53 +02:00
Adam J. Stewart
7eb263effe Add a SConsPackage base class (#4936)
* Add a SConsPackage base class

* Make Matlab extendable

* Most dependencies are actually required

* Cantera requires older version of fmt
2017-08-04 16:52:10 -05:00
Adam J. Stewart
b8ed61cfea Make CMake the default build system (#4862) 2017-08-04 14:53:05 -05:00
Massimiliano Culpo
9be294de31 Changed every 'fpic' variant to 'pic' (#4969)
* Changed every 'fpic' variant to 'pic'. fixes #2463

Every variant that activates compilation of position independent code
has been changed to 'pic'. Hardcoded compiler flags in packages have
been substituted with `self.compiler.pic_flag`.

* Changed literal uses of '-fpic' to 'self.compiler.pic_flag'
2017-08-04 18:21:43 +02:00
Adam J. Stewart
452f382293 Add a QMakePackage base class (#4925)
* Add a QMakePackage base class

* Fix sqlite linking bug in qt-creator

* Add latest version of qt-creator

* Add latest version of qwt

* Use raw strings for regular expressions

* Increase minimum required version of qt

* Add comment about specific version of sqlite required

* Fixes for latest version of qwt and qt-creator

* Older versions of Qwt only work with older versions of Qt
2017-08-04 08:46:07 -07:00
Sergey Kosukhin
f6c2adc0ad New package libaec: a BSD-licensed replacement for the szip library. (#4437)
* Added package for 'libaec'.

* New version for package 'libaec'.
2017-08-04 10:38:54 -05:00
Adam J. Stewart
408dfc8e86 Qt: disable OpenGL support by default (#4962)
* Qt: disable OpenGL support by default

* Fix qt+opengl build
2017-08-04 09:36:02 -05:00
Sergey Kosukhin
f8dfb6a486 OpenBLAS: one of the patches is not needed starting version 0.2.20. (#4971) 2017-08-04 09:34:58 -05:00
Adam J. Stewart
739bb9e5b7 Fix trilinos dependency on superlu-dist (#4968) 2017-08-04 08:17:28 -05:00
Elsa Gonsiorowski
bb4692fdb6 SCR CMake package (#3916)
* SCR CMake package

* Fix dtcmp variant description and set pdsh deptypes to build/run

* added variants for system config file location

* add variants for several scr cmake options

* Added more variants for compile time options

* Added libyogrt and made corrosponding changes to scr package.

* Cleanup yogrt package now that Ive verified it works

* Added description for libyogrt

* upper case async api names

* Make use of mv variants

* fix pdsh package for scr

* added IBM BBAPI as async option

* update pdsh and scr to use static pdsh modules
2017-08-03 16:52:52 -07:00
Axel Huebl
8a7678cae0 Version: Dev -> Develop (#4947)
Adjust the CRP packages with the properly defined version
label "develop" which is now standardized in spack.
2017-08-03 16:35:28 -05:00
George Hartzell
f24398cde6 Add package for libbsd, add variant to expat for libbsd (#4945)
* Add package for libbsd, add variant to expat for libbsd

The recent expat release requires a high quality source of randomness.

CentOS 7 does not seem to have one, but one is available in libbsd.

This commit adds a package for libbsd and adds a variant to expat to
use it (defaults to False).

* Make libbsd default for newer, conflict for older

Make the libbsd variant default to true.

Conflict if you're asking for libbsd and an older version of expat.

This means that in order to install an older version of expat you'll
need to specify `~libbsd`.

* Rework so that 2.2.0 and 2.2.2 work by default

Get rid of the conflicts and use better constraints/tests in the
`depends_on` and the `configure_args` bits.
2017-08-03 14:57:58 -05:00
Adam J. Stewart
4e269510c5 Fix trailing whitespace at the end of headers.cpp_flags (#4957) 2017-08-03 14:24:51 -05:00
George Hartzell
36496b9174 Fix crashes when running spack install under nohup (#4926)
* Fix crashes when running spack install under nohup

Fixes #4919

For reasons that I do not entire understand, duplicate_stream() throws
an '[Errno 22] Invalid argument' exception when it tries to
`os.fdopen()` the duplicated file descriptor generated by
`os.dup(original.fileno())`.  See spack/llnl/util/lang.py, line
394-ish.

This happens when run under `nohup`, which supposedly has hooked
`stdin` to `/dev/null`.

It seems like opening and using `devnull` on the `input_stream` in
this situation is a reasonable way to handle the problem.

* Be more specific about error being handled.

Only catch the specific error that happens when trying to dup
the stdin that nohup provides.

Catching e as a StandardErorr and then
`type(e).__name__` tells me that it's an OSError.

Printing e.errno tells me that it's 22

Double checking tells me that 22 is EINVAL.

Phew.
2017-08-03 10:33:16 -07:00
Adam J. Stewart
5ac10b90c5 Add database support to apr-util package (#4932) 2017-08-03 12:18:23 -05:00
homerdin
d087eeacbd CloverLeaf, miniGhost, miniMD, miniSMAC2D, miniXyce: Adding Tags (#4963) 2017-08-03 12:13:44 -05:00
George Hartzell
687904c714 New package for canu (#4937)
* Add package for canu

There's a top-level perl script, which is touched up to use a
spack-built perl instead of `#!/usr/bin/env perl`.  It's
self-contained, it uses `FindBin` to locate it's libaries.

* Add dependency on gnuplot

I noticed a hidden mention of the use of gnuplot in the docs.

This adds the dependency.

* Tighten dependencies, flake8 cleanup

gnuplot is a run dependency.
jdk is a run dependency.
perl is a run dependency.

Make flake8 happy.
2017-08-03 11:32:44 -05:00
Sergey Kosukhin
963eb99b7f Account for hyphens in package names when searching for libraries. (#4948) 2017-08-03 09:17:07 +02:00
Axel Huebl
269925f775 Protobuf: CMake (#4846)
* Protobuf: CMake

This rebuilds protobuf to be build with CMake,
so cmake config packages are created and installed, too.

Unfurtunately, this drops support for protobuf < 3.

* Protobuf CMake: Add .pc files

* libprotobuf.a: -fPIC

* Protobuf: Minor Updates

Updates from upstream review and planned patch inclusion.
2017-08-02 08:03:31 -05:00
Todd Gamblin
44ce0adbd5 Fix color bug in Spec.format() introduced by #3013 2017-08-01 17:40:54 -07:00
Todd Gamblin
b88f55e523 Add spack dependencies command and tests for it and dependents. 2017-08-01 17:40:54 -07:00
Todd Gamblin
af3c794ab5 document and make display_specs more versatile 2017-08-01 17:40:54 -07:00
Todd Gamblin
b575d008bd Fix issue with case check and spack -m 2017-08-01 17:40:54 -07:00
Todd Gamblin
c8b2100630 Refactor installed_dependents -> installed_relatives 2017-08-01 17:40:54 -07:00
Todd Gamblin
36b3dd8cfe Package.possible_dependencies() descends into virtuals. 2017-08-01 17:40:54 -07:00
Todd Gamblin
b9606e3157 Add --transitive option to spack dependents 2017-08-01 17:40:54 -07:00
Todd Gamblin
6928cf7a68 spack dependents lists possible dependencies by default. 2017-08-01 17:40:54 -07:00
Todd Gamblin
bd94a17066 Remove last vestiges of "special" deptypes.
- Remove `special_types` dict in spec.py, as only 'all' is still used
- Still allow 'all' to be used as a deptype
- Simplify `canonical_deptype` function
- Clean up args in spack graph
- Add tests
2017-08-01 17:40:54 -07:00
Todd Gamblin
43f576cf19 Remove unused code. 2017-08-01 17:40:54 -07:00
Todd Gamblin
f2ddcfac5f Add --all argument to spack dependents
--all causes spack dependents to list all possible dependents for a
package, rather than actual dependents for an installed spec.
2017-08-01 17:40:54 -07:00
Alicia Klinvex
44653fa488 Fix xsdk build broken by petsc and trilinos (#4893)
* Fix xsdk build broken by petsc and trilinos

See #4891 for details

* Fix version conflict in trilinos package

Trilinos version 11 may conflict with superlu-dist.
The version "xsdk-0.2.0" was conflicting with superlu-dist,
even though it shouldn't.  I added a lower bound to the
comparison to fix this problem.

Thanks for the help @davydden!
2017-08-01 12:05:15 -05:00
Adam J. Stewart
82735deafd Clarify docs on using a hash in a spec (#4908) 2017-07-31 13:13:39 -07:00
scheibelp
69a6c8ef78 Fix preference for X.Y version when mixed with X.Y.Z versions (#4922)
For packages which contain a mix of versions with formats X.Y and
X.Y.Z, if the user entered an X.Y version as a preference in
packages.yaml, Spack would get confused and favor any version A.B.Z
where X=A and Y=B. In the case where there is a mix of these version
types, this commit updates preferences so Spack will favor an exact
match.
2017-07-31 13:11:08 -07:00
paulhopkins
1c7e5724d9 Add --color=[always|never|auto] argument; fix color when piping (#3013)
* Disable spec colorization when redirecting stdout and add command line flag to re-enable
* Add command line `--color` flag to control output colorization
* Add options to `llnl.util.tty.color` to allow color to be auto/always/never
* Add `Spec.cformat()` function to be used when `format()` should have auto-coloring
2017-07-31 12:57:47 -07:00
Adam J. Stewart
f3c70c235c Add latest version of SCons (#4929) 2017-07-31 19:57:56 +02:00
Axel Huebl
751f1d4fca ZeroMQ: C++ Headers (cppzmq) (#4841)
Adds the cppzmq library, adding a C++ API to ZeroMQ (libzmq). In order to find the autotools-build libzmq, this requires the upcoming cppzmq release (or development branch).
2017-07-31 19:54:06 +02:00
Adam J. Stewart
1f5ca90929 Add missing dependencies to unixodbc (#4928) 2017-07-31 19:44:33 +02:00
Adam J. Stewart
0aaab9bc8c Add latest version of expat (#4930) 2017-07-31 19:36:18 +02:00
Adam J. Stewart
a9efae271b Add latest version of apr (#4931) 2017-07-31 19:35:48 +02:00
George Hartzell
c126c5553c zsh: add variant that skips tcsetpgrp test (#4923)
zsh's configure script fails if there's it tries to test for terminal
functionality if there's not a terminal (e.g. in a Jenkins build).

The configure script has a switch that asserts that tcsetpgrp works
and thereby avoids running that test.

This commit adds a variant that invokes that switch, defaulting to
True.
2017-07-31 11:17:04 -05:00
Axel Huebl
6d97397ab0 gBenchmark: v1.2.0 (#4935)
Adds a the latest version of gBenchmark, release 1.2.0.

This is the first gBenchmark version with proper
[CMake config package installs](https://github.com/google/benchmark/issues/363).
This is important for dependencies building against it, such as gRPC.
2017-07-31 10:06:17 -05:00
Robert Pavel
f7c24289e5 Initial Spackage for qmd-progress library (#4924)
* Initial Spackage for qmd-progress library

PROGRESS is a library is focused on the development of general solvers
that are commonly used in quantum chemistry packages.

* Removed LA-CC from description to fix formatting

* Added Additional Formatting Requests

Added requested formatting changes and also ensured that graphlib and
mpi are disabled if not enabled
2017-07-28 17:10:24 -05:00
sknigh
92ea7c4337 Fix for m4%clang (#4912)
* Fix for m4%clang

* Restricted condition to not subsitute rtlib on OSX
2017-07-28 11:32:53 -05:00