Commit graph

7440 commits

Author SHA1 Message Date
Yifan Zhu
0c2a691b1b r-protgenerics: created new package (#5998) 2017-10-27 08:08:16 +02:00
Abhinav Bhatele
ad51e818a7 ecp-proxy-apps: add dependencies (#5999) 2017-10-26 19:54:40 -06:00
Christoph Junghans
0b3247c23d miniamr: bump to v1.4.0 (#5975) 2017-10-26 19:51:50 -06:00
Ben Boeckel
bd6378a6d2 Package.extends: update semantics when package isn't concrete (#5600)
This updates the logic for Package.extends so that if the spec
associated with the package is not concrete, it will report true if
the package *could extend* the given spec; generally speaking a
package could extend a spec as long as none of the details associated
with its extendee spec conflict with the given spec. When the spec
associated with the package is concrete, this function will only
report whether the package *does extend* the given spec. When both
the specs are concrete, the semantics are the same as before.
2017-10-26 13:12:32 -07:00
Ondřej Čertík
0e464f86bb Exodus: skip the -G "Unix Makefiles" part (#5906)
* Exodus: skip the -G "Unix Makefiles" part

The problem is that spack passes -G "Unix Makefiles" into cmake, which normally
works. But in the Exodus package, it is being passed into a bash wrapper
script. In there, the $@ then loses the information about "Unix Makefiles"
being just one argument, and in effect passes -G Unix Makefiles into the cmake
(without quotes), and so cmake only sees -G Unix, and then fails. This is a
known problem with bash with no simple solutions. As a workaround, this patch
skips the first two arguments, i.e., -G and "Unix Makefiles". This makes it
work.

Fixes #5895.

* Port exodusii to cmake

The cmake options were taken from the cmake-exodus bash script and ported to
spack directly.

* Use variant forwarding to forward the 'mpi'

Now instead of

    spack install exodusii~mpi^netcdf~mpi^hdf5~mpi

one can just use

    spack install exodusii~mpi
2017-10-26 13:50:18 -06:00
Patrick Gartung
8e47b17a4d Buildcache: symlinks, externals, & install-checking (#5894)
* When creating a tar of a package for a build cache, symlinks are
  preserved (the corresponding path in the newly-created tarfile will
  be a symlink rather than a copy of the file)
* Dont add external packages to a build cache
* When installing from binary cache, don't create install prefix until
  verification is complete
2017-10-26 11:06:59 -07:00
Christoph Junghans
5c09176014 minife: version bump to v2.1.0 (#5985) 2017-10-26 11:45:40 -06:00
Abhinav Bhatele
0ff1fe90fa Laghos: new package (#5956) 2017-10-26 09:18:57 -06:00
Abhinav Bhatele
02744141e9 sw4lite: fix build errors and add variants (#5944)
* sw4lite: fix build errors and add variants

* sw4lite: change linking against blas and lapack

* change order of blas and lapack

* satisfy flake8 requirements

* Update package.py
2017-10-26 09:18:05 -06:00
Jon Rood
18d2fe7647 Customization of the Paraview module file to its nonstandard directory structure (#5799)
* Add the custom paraview lib directory structure to the library paths in the paraview module file.

* Fixing flake8 issues.

* Checking if lib64 exists for paraview module file generation, else use lib.

* Fixing more flake8 problems I introduced.
2017-10-26 11:12:04 +02:00
Christoph Junghans
a05bbd7104 flang: fixed llvm dep (#5948)
* flang: fixed llvm dep

* add support for llvm-5

* Update package.py

* Update package.py
2017-10-26 09:34:33 +02:00
Johann Klähn
306f536138 Add option to install clang python bindings to llvm (#5774) 2017-10-26 01:46:03 +02:00
Ondřej Čertík
89b0a09de0 Make clang use libc++ by default (#5943)
Since LLVM 3.9 Clang can use the libc++ library by default using the
CLANG_DEFAULT_CXX_STDLIB cmake configuration variable, without having to
specify the -stdlib=libc++ option on the clang++ command line.

This commit makes clang++ use libc++ by default for LLVM 3.9 and later if the
libcxx variant is on.

Fixes #5942.
2017-10-25 16:19:32 -06:00
Ondřej Čertík
aa750f12de Colorize "Installing pkg_name" (#5950)
Now one can quickly visually see in the terminal which packages are installed
and where each package begins and ends in the log.
2017-10-26 00:06:56 +02:00
mmwolf
ffb4251666 adding miniTri miniapp (#5935) 2017-10-25 15:49:22 -06:00
scheibelp
dcdd16b35e Check for namespace-qualified packages in repo_for_pkg (#5787)
* Fixes #5754

Previously when RepoPath.repo_for_pkg was invoked with a string,
it did not check if the string included a namespace. Any
namespace-qualified package provided as a string would not be found
(at which point the behavior was to return the highest-precedence
repository).

* handle nested namespaces for packages specified as strings in repo_for_pkg
* add preliminary repository tests
* add test which replicates #5754
* refactor repo tests with fixtures
* define repo_path equivalent at test-level scope for repo tests
* add tests for unknown namespace/package
* rename fixture function (no longer prefixed with 'test_')
2017-10-25 21:08:03 +02:00
Omar Padron
dd39862a80 boost: remove duplicate patch (#5934) 2017-10-25 12:00:50 -07:00
Jimmy Tang
1f4089a78f tweak opencv version (#5623) 2017-10-25 14:37:40 +02:00
Sergey Kosukhin
c9810f8088 Update for 'netcdf'. (#5819) 2017-10-25 14:30:58 +02:00
George Hartzell
b43064190c Specify base branch for flake8 comparison (#5796)
Internally we work against a branch named 'llnl/develop', which
mirrors the public repository's `develop` branch.

It's useful to be able to run flake8 on our changes, using
`llnl/develop` as the base branch instead of `develop`.

Internally the flake8 subcommand generates the list of changes files
using a hardcoded range of `develop...`.

This makes the base of that range a command line option, with a
default of `develop`.

That lets us do this:

```
spack flake8 --base llnl/develop
```

which uses a range of `llnl/develop...`.
2017-10-25 14:30:22 +02:00
Audrey Thoma
d839012e00 delly2: new package (#5820) 2017-10-25 13:55:13 +02:00
David Hows
05b3178ca4 Zlib gets a 50-60% performance win when compiled with -O2 (#5838)
Chasing a performance regression has lead me to this change, going from default optimization gives a significant performance win. The sweet spot for zlib is apparently `-O2`, both `-Ofast` and `-O3` are slightly worse (regression is about 3% compared with `-O2) in my testing. 

Happy to share my methodology with people so we can benchmark on a wider variety of systems.
2017-10-25 13:53:35 +02:00
Sergey Kosukhin
ce8a698b48 Update for 'eccodes'. (#5899) 2017-10-25 13:48:55 +02:00
George Hartzell
5d3a774587 Add package for scalpel@0.5.3 (#5901)
* Add package for scalpel@0.5.3

Scalpel's a bit of a mess, it expects it's users to just unpack the
tarball, build it in the resulting directory and install that
directory onto their PATH.  My install step recapitulates this into
prefix.bin.  The alternative was rewiring their scripts (perl), which
use `FindBin` and expect things to be located in the same dir that the
script itself is.

Sigh.

Lightly tested on CentOS 7.

* Flake8 cleanup

* Additional flake8 cleanup
2017-10-25 13:48:11 +02:00
Audrey Thoma
729c88f068 adding perl-bio-perl and dependencies (#5845)
* perl-bio-perl and dependencies

* minor fixes

* condensing code

* fixing doc error
2017-10-25 13:35:17 +02:00
Sergey Kosukhin
b92ddd72dd Update for 'cdo'. (#5947) 2017-10-25 13:24:19 +02:00
Eric
e2ef033855 bwa: add 0.7.17 (#5902)
* bwa: add 0.7.17

* bwa: add 0.7.13
2017-10-25 12:21:18 +02:00
George Hartzell
ff031de800 Add old version to bcftools (#5907)
* bcftools v1.2 and htslib v1.2

* dependency change - only require dependencies for v1.2
2017-10-25 12:20:42 +02:00
Audrey Thoma
9947306c3e py-xlsxwriter: new package (#5918) 2017-10-25 12:19:59 +02:00
George Hartzell
4fb46501af adding bedtools2 v2.23.0 (#5911) 2017-10-25 12:16:10 +02:00
George Hartzell
98c06eae92 Parallel fix sbangs (#5910)
* Added procedure to edit sbangs of the parallel perl scripts.

* Specify the types of perl dependency

Adding ", type=('build', 'run')" to the dependency declaration to clarify when and how perl is required

* flake8 cleanup
2017-10-25 12:15:10 +02:00
Audrey Thoma
3265008ad2 adding perl-moose and dependencies (#5912)
* adding perl-moose and dependencies

* added missing dependency

* fixed flake8 errors
2017-10-25 12:07:20 +02:00
Robert Pavel
9e1341a162 Added Hypre Dependency to mfem+hypre (#5929)
Added missing hypre defendency from mfem's hypre-enabled version
2017-10-25 12:03:50 +02:00
lingnanyuan
acbd6c9f62 r-geneplotter: Create new package. (#5924) 2017-10-25 12:01:19 +02:00
lingnanyuan
79b49d44af r-gridextra: Update version to 2.3 (#5915) 2017-10-25 11:50:16 +02:00
Audrey Thoma
f8b90d50de r-geiger and dependencies (#5933) 2017-10-25 11:17:37 +02:00
lingnanyuan
cc51cc0b06 r-rbgl: Create new package. (#5931) 2017-10-25 11:17:29 +02:00
Yifan Zhu
f87c426a6c r-variantannotation: created new package (#5932) 2017-10-25 11:17:15 +02:00
lingnanyuan
f1c06dec7c r-gseabase: Create new package. (#5930) 2017-10-25 11:17:00 +02:00
Yifan Zhu
054cc5d361 r-bsgenome: created new package (#5928) 2017-10-25 11:16:53 +02:00
Yifan Zhu
6b6d5d20e2 r-lsei: new package (#5926) 2017-10-25 11:16:46 +02:00
Yifan Zhu
fc3d484784 r-yarn: created new package (#5925) 2017-10-25 11:16:41 +02:00
lingnanyuan
d0a5f73a94 r-formula: Update version to 1.2-2 (#5923) 2017-10-25 11:16:34 +02:00
Yifan Zhu
c5447d7818 r-quantro: created new package (#5922) 2017-10-25 11:16:20 +02:00
lingnanyuan
05997460f6 r-scales: Update url. (#5921) 2017-10-25 11:16:00 +02:00
Yifan Zhu
3216daa905 r-doparallel: added list_url and version 1.0.11 (#5920) 2017-10-25 11:15:49 +02:00
lingnanyuan
21799cbe81 r-hmisc: Create new package. (#5919)
* r-hmisc: Create new package.

* Correct format.
2017-10-25 11:15:40 +02:00
Yifan Zhu
5742ec4fea r-openssl: changed homepage url to the CRAN package homepage, added list_url and added version 0.9.7 (#5848) 2017-10-25 11:12:31 +02:00
Praveen C
5b9de2eaba Glibc 2.26 does not provide xlocale.h (#5862) 2017-10-25 10:39:32 +02:00
Ondřej Čertík
882480fad6 gdbm: pass in proper CPPFLAGS (#5893)
The problem was that the configure script was not using spack's compiler
wrappers. We now pass the proper compiler wrapper using the CC argument
explicitly.

Fixes #5892.
2017-10-25 07:09:41 +02:00