Commit graph

17892 commits

Author SHA1 Message Date
manifest
f7269ffd0a
pest suit + (#19458)
* pestpp +

* build -f default
2020-10-28 20:46:04 -05:00
manifest
b4a0a43d98
PopLDdecay package + (#17802)
* poplddecay bio

* flake8 debug

* bin PATH correction

* build step opt

* BUILD_PATH fix

* retro implementation + style fix
2020-10-28 20:45:24 -05:00
manifest
3243e904a8
Pbbam debug (#17803)
* pbbam path fix

* pbbam flake8 fix

* sys var build_directory sub

* pbbam flake8 fix
2020-10-28 20:44:38 -05:00
Todd Gamblin
aebf20ebdc sbang: vendor sbang
`sbang` now lives at https://github.com/spack/sbang, and it has its own
test suite that's more extensive than what's in Spack. We'll leave sbang
tests to sbang from now on, and just vendor `bin/sbang` directly.
Remaining `sbang` tests have to do with patching files, not with
`sbang`'s functionality.

This update also fixes a bug with `sbang` and multiple command line
arguments that was introduced in #19529. See:
  * https://github.com/spack/sbang/pull/1
  * https://github.com/spack/sbang/pull/2

- [x] include latest `sbang` from https://github.com/spack/sbang
- [x] remove old `sbang` tests from Spack
- [x] update `COPYRIGHT` and `cmd/license.py`
2020-10-28 17:43:23 -07:00
David Beckingsale
44bacefb27
RAJA package: Don't set both CUDA_ARCH and CMAKE_CUDA_FLAGS (#19589) 2020-10-28 16:54:23 -07:00
dunatotatos
f028079564
Update strelka (#19565)
* Update package.py

Remove breaking patch.

Patching the shebang is useless is the dependencies are properly loaded before execution. Furthermore, the long paths which can be generated when installing with Spack can exceed the maximum length of the shebang.

* Add newer versions of strelka.
2020-10-28 10:58:30 -05:00
dunatotatos
1dd7370885
Remove unused dependency. (#19566)
Boost is not used to build Manta.
2020-10-28 10:57:19 -05:00
Toyohisa Kameyama
f320a650d8
py-mmcv: fix Opencv detection. (#19567) 2020-10-28 10:56:52 -05:00
Roberto Di Remigio
98a1771590
Do not build XCFun tests (#19568) 2020-10-28 10:56:11 -05:00
Roberto Di Remigio
f4b63db78f
Do not build MRCPP tests (#19569) 2020-10-28 10:55:46 -05:00
Roberto Di Remigio
85e6334d6f
Add new package: mrchem (#19571) 2020-10-28 10:55:19 -05:00
Dr. Christian Tacke
674fb16828
openssl: Add version 1.1.1h (#19574) 2020-10-28 10:53:33 -05:00
Pieter Ghysels
9b809e01b4
Add new minor version 1.2.1 for ButterflyPACK (#19554) 2020-10-27 20:28:24 -05:00
lorddavidiii
6a5d399f55
asciidoc-py3 add docbook dependency and fix a enviroment variable problem for docbook-{xml,xsl} (#19547)
* asciidoc-py3: add docbook-{xml,xsl} dependency

* docbook-{xsl,xml}: fix XML_CATALOG_FILES enviroment variable
2020-10-27 20:11:37 -05:00
Jen Herting
79b0eab2af
New package: libcudf (#19110)
* [libcudf] created template

* [libcudf] depends on cuda

* [libcudf] set cmake dir

* [libcudf] depends on boost

* [libcudf] depends on py-pyarrow

* [libcudf] depends on librmm

* [libcudf] depends on dlpack

* [libcudf] added more dependency information from https://github.com/rapidsai/libcudf/blob/v0.15.0/CONTRIBUTING.md#customizing-the-build

* [libcudf] removed python dependencies

* [libcudf] fixed url that got mangled in package renaming

* [libcudf] added default build options from build.sh

* [libcudf] added version 0.16.0a

* [libcudf] removed version 0.16.0a as it's an alpha version

* [libcudf] added homepage and description. removed fixmes

* [libcudf] flake8

* [libcudf] arrow requires +orc

* [libcudf] requires +parquet

* [libcudf] checksum changed
2020-10-27 20:11:06 -05:00
Jen Herting
7bd5397aca
New Package: py-rmm (#19104)
* [py-rmm] created template

* [py-rmm] added dependencies

* [py-rmm] setting build_directory

* [py-rmm] added dependencies cuda and spdlog

* [py-rmm] added homepage and description. removed fixmes

* [py-rmm] added for loop for dependency versions

* [py-rmm] flake8

* [py-rmm] updating upper range of python version

* [py-rmm] removing python upper limit
2020-10-27 20:10:40 -05:00
t-nojiri
429f49a1e4
bowtie2: Add version 2.4.2 (#19537) 2020-10-27 20:09:05 -05:00
Todd Gamblin
965ccb78cf sbang: use bashcov in sbang on Linux 2020-10-27 13:59:46 -07:00
Todd Gamblin
ec9456feb8 sbang: convert sbang script to POSIX shell
`sbang` was previously a bash script but did not need to be. This
converts it to a plain old POSIX shell script and adds some options. This
also allows us to simplify sbang shebangs to `#!/bin/sh /path/to/sbang`
instead of `#!/bin/bash /path/to/sbang`.

The new script passes shellcheck (with a few exceptions noted in the file)

- [x] `SBANG_DEBUG` env var enables printing what *would* be executed
- [x] `sbang` checks whether it has been passed an option and fails gracefully
- [x] `sbang` will now fail if it can't find a second shebang line, or if
      the second line happens to be sbang (avoid infinite loops)
- [x] add more rigorous tests for `sbang` behavior using `SBANG_DEBUG`
2020-10-27 13:59:46 -07:00
adityakavalur
9f89a7e9f7
Update package.py (#19513)
On Cori(Cray-XC40), I need to pass the entire path for the compilers, this is what is saved in c_compiler, cpp_compiler, f_compiler. Therefore, when for the MPI wrappers only the binary name is provided I run into the same issue. There is no drawback of passing the entire path, this is set by the user through the compiler path anyways.
2020-10-27 13:24:09 -05:00
Roberto Di Remigio
7313cf5ea5
Update MRCPP package.py (#19541) 2020-10-27 09:58:24 -05:00
h-denpo
78a759129a
ghostscript: fix: add: depends_on('krb5', type='link') (#19536) 2020-10-27 09:54:33 -05:00
t-nojiri
f6c51efa85
diamond: Add version 2.0.4 (#19535) 2020-10-27 09:53:38 -05:00
Jungwon Kim
64974c43c7
added -lpthread flag in kv/tests/CMakeLists.txt (#19533)
* added -lpthread flag in kv/tests/CMakeLists.txt

* Update var/spack/repos/builtin/packages/papyrus/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-10-27 09:53:22 -05:00
daichi-nishi
e214deec5b
modified:var/spack/repos/builtin/packages/ppopen-appl-bem-at/package.py (#19538) 2020-10-27 09:53:04 -05:00
Chuck Atkins
57200f01fd
camp: Add missing checksum (#19543) 2020-10-27 09:52:28 -05:00
Toyohisa Kameyama
bb00b1a7c9
sbang: add support for php (#18299)
PHP supports an initial shebang, but its comment syntax can't handle our 2-line
shebangs. So, we need to embed the 2nd-line shebang comment to look like a
PHP comment:

    <?php #!/path/to/php ?>

This adds patching support to the sbang hook and support for
instrumenting php shebangs.

This also patches `phar`, which is a tool used to create php packages.
`phar` itself has to add sbangs to those packages (as phar archives
apparently contain UTF-8, as well as binary blobs), and `phar` sets a
checksum based on the contents of the package.

Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
2020-10-26 22:11:43 -07:00
t-nojiri
cb07d9ddb1
netgauge: Fix for aarch64 (#19462)
* netgauge: Fix for aarch64

* netgauge: Revise the points indicated by the review.
2020-10-26 20:20:18 -05:00
Geoffrey Gunter
e9223062a8
New package: date (#19515)
* Add new package: date

* date: resolve style conformance issues

* date: explicitly disable some cmake options

Explicitly disable CMake options corresponding to variant
'tzdb=download'

* date: make more cmake options explicit

* date: simplify defining cmake cli args
2020-10-26 20:18:34 -05:00
Todd Gamblin
bc4e7eabfe
coverage: add bin directory to coverage (#19530) 2020-10-26 16:23:22 -07:00
iarspider
93c985e5a9
New package: py-minrpc (#19524)
* New package: py-minrpc

* Delete package.py.save

* Update var/spack/repos/builtin/packages/py-minrpc/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-10-26 16:20:45 -05:00
jthies
5d5711621a
packages/phist: fix incorrect git url (#19527)
Co-authored-by: Thies <thie_jo@fe-store01.sc.bs.dlr.de>
2020-10-26 16:19:53 -05:00
Sinan
4f720fb9ba
package/gunrock add v1.2 (#19516)
* package/gunrock add v1.2

* Update var/spack/repos/builtin/packages/gunrock/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: sbulut <sbulut@3vgeomatics.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-10-26 16:17:27 -05:00
David Beckingsale
4f9c621284
Add camp & BLT dependencies to Umpire (#19411)
* Add camp & BLT dependencies to Umpire

* Remove tests variant
2020-10-26 16:12:03 -05:00
Patrick Gartung
1c2c30a139
sbang: put sbang in the install_tree (#11598)
`sbang` is not always accessible to users of packages, e.g., if Spack
is installed in someone's home directory and they deploy software
for others.  Avoid this by:

1. Always installing the `sbang` script in the `install_tree`
2. Relocating binaries to point to the copy in the `install_tree` 
   and not the one in the Spack installation.

This PR also:
- ensures that `sbang` is reinstalled if it is modified in Spack
- adds tests
- updates the way `gobject-introspection` patches Makefiles
   to support `sbang`

Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
2020-10-26 12:37:54 -07:00
dunatotatos
718150b997
Update GATK versions. (#19521) 2020-10-26 13:32:35 -05:00
takanori-ihara
b9d3d668d9
fujitsu-ssl2: update package.py (#19519) 2020-10-26 13:31:45 -05:00
Geoffrey Gunter
7ce4518cc0
abseil-cpp: add versions 20200923.{1,2} (#19517) 2020-10-26 13:29:16 -05:00
Jen Herting
7649c652c0
New package: py-visdom (#19479)
* [py-visdom] created template

* [py-visdom] added dependencies

* [py-visdom] added homepage and description. removed fixmes

* [py-visdom] added dependency on py-torchfile

* [py-visdom] py-pillow -> pil

* [py-visdom] fixed url format

* [py-visdom] fixed url format
2020-10-26 13:24:30 -05:00
David Beckingsale
7ca1f6c5d5
Add BLT package (#19410)
* Add BLT package

* Switch install function

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* Add type='run' to cmake dependency

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

* Add git attribute to BLT

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-10-26 12:15:55 -05:00
Tiziano Müller
f921bcbe0b
cp2k, libxc, libint: fix builds with %intel, resp. intel-parallel-studio+mkl (#19522)
* cp2k: locate correct include dir when using intel-parallel-studio+mkl for fftw-api

* libxc: drop arch-specific intel opt. flags

fixes #17794

* libint: drop arch-specific intel opt. flags, always build Fortran example with FC

fixes #17509
2020-10-26 16:32:15 +01:00
Todd Gamblin
fd6c163e02
bugfix: test_push_and_fetch_keys should be skipped w/o gpg (#19511)
- [x] add a `@pytest.skipif` decorator
2020-10-26 07:24:49 -07:00
Sinan
2e3355d2f9
package/pmdk add variants, version 1.9 (#19512)
* package/pmdk add variants, version 1.9

* add dependency

* Update var/spack/repos/builtin/packages/pmdk/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: sbulut <sbulut@3vgeomatics.com>
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-10-25 20:39:44 -05:00
jthies
182ca4cb68
phist: two new versions and disable ccache because we don't have a dependency on ccache. (#19510)
Otherwise, phist would look for ccache via cmake, which is not the spack way to do it.

Co-authored-by: Thies <thie_jo@be-cpu03.sc.bs.dlr.de>
2020-10-25 16:35:43 -05:00
Todd Gamblin
01953dc513
bugfix: fix config merge order for OrderdDicts (#18482)
The logic in `config.py` merges lists correctly so that list elements
from higher-precedence config files come first, but the way we merge
`dict` elements reverses the precedence.

Since `mirrors.yaml` relies on `OrderedDict` for precedence, this bug
causes mirrors in lower-precedence config scopes to be checked before
higher-precedence scopes.

We should probably convert `mirrors.yaml` to use a list at some point,
but in the meantie here's a fix for `OrderedDict`.

- [x] ensuring that keys are ordered correctly in `OrderedDict` by
      re-inserting keys from the destination `dict` after adding the keys from
      the source `dict`.

- [x] also simplify the logic in `merge_yaml` by always reinserting
      common keys -- this preserves mark information without all the special
      cases, and makes it simpler to preserve insertion order.

Assuming a default spack configuration, if we run this:

```console
$ spack mirror add foo https://bar.com
```

Results before this change:

```console
$ spack config blame mirrors
---                                                          mirrors:
/Users/gamblin2/src/spack/etc/spack/defaults/mirrors.yaml:2    spack-public: https://spack-llnl-mirror.s3-us-west-2.amazonaws.com/
/Users/gamblin2/.spack/mirrors.yaml:2                          foo: https://bar.com
```

Results after:

```console
$ spack config blame mirrors
---                                                          mirrors:
/Users/gamblin2/.spack/mirrors.yaml:2                          foo: https://bar.com
/Users/gamblin2/src/spack/etc/spack/defaults/mirrors.yaml:2    spack-public: https://spack-llnl-mirror.s3-us-west-2.amazonaws.com/
```
2020-10-24 16:48:04 -07:00
Massimiliano Culpo
6752a39629
py-coverage: added v5.3 (#19509) 2020-10-24 22:29:48 +02:00
Todd Gamblin
2893c23e7c
docs: update docs on shell support and using packages (#19486)
Shell integration no longer requires setting `SPACK_ROOT`, so we can
simplify the documentation on it. The docs on shell support and using
packages are getting a bit old, and information on `spack load` (which
seems to be everyone's most common way of using packages) is hard to
find.

This PR simplifies the shell documentation to remove SPACK_ROOT, and also
moves some sections around for clearer organization.

- [x] make docs on sourcing setup scripts clearer and simpler

- [x] introduce `spack load` early in the basic usage guide instead of
      burying it in the module docs

- [x] clean up module docs so that spack module tcl loads comes later

- [x] be clear about the different ways to use packages so that the users
      can find the docs better.

Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2020-10-23 22:16:01 -07:00
Todd Gamblin
560beb098e
csh: don't require SPACK_ROOT for sourcing setup-env.csh (#18225)
Don't require SPACK_ROOT for sourcing setup-env.csh and make output more consistent
2020-10-23 18:54:34 -07:00
Marty Kandes
4cf85ed5f7
Fix GROMACS to require FFTW when using cuda (#19505)
GROMACS still requires a version of FFTW when compiling it to utilize
NVIDIA GPUs. In fact, the type of calculation that depends on FFTW --
Particle-Mesh Ewald (PME) -- is generally run on the host system's CPUs,
even when GPUs are available.
2020-10-23 18:58:13 -05:00
iarspider
978d8ad0af
New package: py-rise (#19496)
* New package: py-rise

* Fix URL and add description

* Update var/spack/repos/builtin/packages/py-rise/package.py

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-10-23 14:59:52 -05:00