Commit graph

17650 commits

Author SHA1 Message Date
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
Tiziano Müller
bbc048e615
let intel-parallel-studio provide fftw-api for +mkl (#19497) 2020-10-23 11:02:56 -05:00
Scott McMillan
ccc331af26
CMake fix: narrow versions that the PGI patch is applied to (#19495)
Co-authored-by: Scott McMillan <smcmillan@nvidia.com>
2020-10-23 11:00:16 -05:00
iarspider
1d56ad0cdb
New package: py-gsi (#19494)
* New package: py-gsi

* Add dependency on py-setuptools
2020-10-23 10:59:31 -05:00
lorddavidiii
4d414e58b9
Update asciidoc-py3 and fix build problem (#19491)
* asciidoc-py3: add new version 9.0.3

* asciidoc-py3: fix build

- add libxml2 and libxslt as dependency
2020-10-23 10:47:38 -05:00
daichi-nishi
270c647e71
modified:var/spack/repos/builtin/packages/ppopen-appl-fem/package.py (#19489) 2020-10-23 10:46:57 -05:00
daichi-nishi
5e3e3672f6
modified:var/spack/repos/builtin/packages/ppopen-appl-fdm/package.py (#19488) 2020-10-23 10:46:30 -05:00
Tiziano Müller
33989341bd
gaussian-src: initial commit, gaussian-view: update to 6.1.1 (#17711)
* gaussian-src: initial commit to build from source

* do not install the source to ensure to not accidentally distribute
  it to users
* set required runtime env vars based on the login.profile

* gaussian-view: update to 6.1.1
2020-10-23 10:43:34 -05:00
Michael Kuhn
dcf8cf317b
gcc: Fix zstd patch version range (#19490)
PR #19482 updated gcc to only apply the zstd patch until @10.2 but the
releases/gcc-10 branch actually does not contain the patch yet, that is,
gcc@10.3 will most likely have the same problem. Apply the patch for all
10.x releases instead.
2020-10-23 07:37:15 -05:00
darmac
4d4f7393a3
Add new package: acpica-tools (#18739)
* Add new package: acpica-tools

* refine build dependencies
2020-10-23 10:17:46 +02:00
Thomas Green
fe04f06896
gcc: fix build of gcc@master by limiting the version range of a patch (#19482)
Co-authored-by: Thomas Green <ca-tgreen@gw4a64fxlogin00.head.gw4.metoffice.gov.uk>
2020-10-23 09:32:05 +02:00
Todd Gamblin
7b7907077f
graphviz: add patch for XCode 12 (#19485)
- [x] Add a patch to fix an implicit declaration error with apple-clang 12
2020-10-23 09:26:55 +02:00
darmac
a381b44b75
openipmi: added new package at v2.0.28 (#18790)
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-10-23 09:24:05 +02:00
daichi-nishi
98a7cf7654
modified:var/spack/repos/builtin/packages/ppopen-appl-fvm/package.py (#19487) 2020-10-22 23:06:37 -05:00
manifest
8ac4284e66
Bcolz (#19331)
* gemini dep -py-bcolz +

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

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

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

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

* py-bcolz URL fix

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

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

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-10-22 23:04:38 -05:00
iarspider
625136b5da
Syscalc hash (#19323)
* Update syscalc hash

* Tiny fix

* Change URL and update hash as advised by the devs

Co-authored-by: iarspider <iarpsider@gmail.com>
2020-10-22 16:55:52 -05:00
Jen Herting
971d13e9bd
New package: py-dominate (#19483)
* [py-dominate] created template

* [py-dominate] added dependencies

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

* [py-dominate] fixed url format
2020-10-22 16:53:01 -05:00
Scott McMillan
0015dd0bf8
Enable packages to use the NVIDIA HPC SDK (#19452)
* Enable packages to use the NVIDIA HPC SDK

* fix linter and review items

* fix linter issue

Co-authored-by: Scott McMillan <smcmillan@nvidia.com>
2020-10-22 16:42:48 -05:00
Jen Herting
fd3dbb2493
New package: py-torchfile (#19481)
* [py-torchfile] created template

* [py-torchfile] set python versions

* [py-torchfile] depends on py-numpy

* [py-torchfile] fixed url format

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

* [py-torchfile] fixed url format
2020-10-22 16:36:34 -05:00
Massimiliano Culpo
4ec404dfc0
Add scratch module roots to test configuration (#19477)
fixes #19476

Module file content is written to file in a
temporary location and read back to be analyzed
by unit tests.

The approach to patch "open" and write to a
StringIO in memory has been abandoned, since
over time other operations insisting on the
filesystem have been added to the module file
generator.
2020-10-22 13:59:39 -07:00
Jen Herting
d6f19eeed2
[py-pyarrow] cuda and orc support (#19445)
* [py-pyarrow] telling setup.py that we want cuda support

* [py-pyarrow] added orc variant

* [py-pyarrow] passing the orc variant down the line

* [py-pyarrow] added variant description
2020-10-22 15:19:16 -05:00
Jen Herting
0baaeec58d
Arrow: add orc support (#19442)
* [arrow] added orc support variant

* [arrow] depends on orc

* [arrow] added explicit disable of features for variants
2020-10-22 15:18:54 -05:00
daichi-nishi
5407a74f2b
modified:var/spack/repos/builtin/packages/ppopen-appl-amr-fdm/package.py (#19459) 2020-10-22 15:03:09 -05:00
daichi-nishi
680c0ac06d
modified : var/spack/repos/builtin/packages/ppopen-appl-bem/package.py (#19460) 2020-10-22 15:02:41 -05:00
daichi-nishi
fb82810d50
ppopen-appl-dem-util:change download site to github. (#19461)
* modified:var/spack/repos/builtin/packages/ppopen-appl-dem-util/package.py

* modified:var/spack/repos/builtin/packages/ppopen-appl-dem-util/package.py:deleted whitespace
2020-10-22 15:02:11 -05:00
lorddavidiii
6a82b2260f
Add opencl-headers and use ocl-icd as OpenCL provider (#19463)
* ocl-icd: fix build problems

* New package: opencl-c-headers

* New package: opencl-clhpp

* New bundled package: opencl-headers

- bundle C and C++ header files

* ocl-icd: Add +headers variant to use this as opencl provider

* ocl-icd: add new upstream release 2.2.13

* ocl-icd: add asciidoc-py3 and xmlto dependency needed for manpage generation

* ocl-icd and opencl-headers provides OpenCL 3.0

- also add more explicit version providing for older ocl-icd versions

* opencl-headers: add maximum of supported opencl versions for all versions

* opencl-headers: there aren't final releases with OpenCL 3.0
2020-10-22 15:00:40 -05:00
daichi-nishi
7c78d15e74
modified:var/spack/repos/builtin/packages/ppopen-appl-fdm-at/package.py (#19464) 2020-10-22 14:57:37 -05:00
dunatotatos
61a7900573
Restrict Python version for Strelka to Python 2. (#19466)
Fix #19465
2020-10-22 14:56:54 -05:00
Jen Herting
32a68fbbd4
New Package: py-fastrlock (#19467)
* [py-fastrlock] created template

* [py-fastrlock] added dependencies and setting --with-cython

* [py-fastrlock] added homepage and description. removed fixmes
2020-10-22 14:55:14 -05:00
Andrew W Elble
e4ce123ddf
hercules (#19434) 2020-10-22 15:20:30 -04:00
darmac
0d46531791
Add new package: py-cantoolz (#18812)
* Add new package: py-cantoolz

* refine depends
2020-10-22 14:11:06 -05:00
Jen Herting
e1e0bbb4cb
New package: orc (#19441)
* [orc] created template

* [orc] depends on maven

* [orc] building with -fPIC

* [orc] fixed name of c flags option

* [orc] depends on openssl

* [orc] added dependencies and disableing installing vendored libs

* [orc] disabling hdfs

* [orc] depending on specific versions of dependencies

* [orc] no building of third party libs

* [orc] helping cmake find the dependencies

* [orc] disabling features that would require static protobuf libraries

* [orc] dependency versions are ranges

* [orc] added homepage and description. removed fixmes

* [orc] flake8

* [orc] switching to compilier indipendent code
2020-10-22 14:05:18 -05:00
Jen Herting
bd0b53f4fb
[treelite] added python and protobuf support (#19444)
* [treelite] added protobuf variant

* [treelite] adding python support

* [treelite] disable protobuf by default

* [treelite] flake8

* [treelite] reordered phases
2020-10-22 14:03:05 -05:00
Justin S
121a8a5cd9
transrate: new package at 1.0.3 (#19295)
* transrate: new package at 1.0.3

* transrate: add macOS binary distribution

* transrate: fix platform switching
2020-10-22 14:01:49 -05:00
Justin S
db167897f4
py-tomlkit: new package at 0.7.0 (#19450)
* py-tomlkit: new package at 0.7.0

* py-tomlkit: add dependencies
2020-10-22 14:01:14 -05:00
Andrew W Elble
f4049a71c2
New package: py-labours (#19433)
* py-labours

* fix dep version constraints
2020-10-22 14:14:57 -04:00
Andrew W Elble
b77279e9cc
py-seriate (#19432) 2020-10-22 12:36:12 -04:00
Andrew W Elble
745875b008
New package: py-or-tools (#19431)
* py-or-tools

* python is, of course, a runtime dep

* more dependency fixes, use extends.

* protobuf is >= 3.12.2
2020-10-22 11:59:48 -04:00
darmac
646af81263
r-sf: fix build error (#19386)
* r-sf: fix build error

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

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

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2020-10-22 10:57:28 -05:00
iarspider
601636b755
Add herwig3 (#19406)
* Add recipe for qgraf

* Revert "Add recipe for qgraf"

This reverts commit 76783f73867a32b4a96e980e31a433ed3c0037fd.

* Add herwig3

* Prepare fixes based on MR (needs checking)

* Set all dependencies (except python) as build-type

* OK now

* Move import to the top of the file

* Fix dependency name

Co-authored-by: Ivan Razumov <ivan.razumov@cern.ch>
2020-10-22 10:56:53 -05:00
Andrew W Elble
019205ec7a
cbc (#19419) 2020-10-22 11:20:19 -04:00
Andrew W Elble
7935ec501f
cgl (#19420) 2020-10-22 10:47:23 -04:00
Andrew W Elble
caab89b9c9
New package: py-lifelines (#19429)
* py-lifelines

* also carry the newer version of lifelines

* 0.25.5 needs python >= 3.6
2020-10-21 22:33:02 -05:00