Commit graph

21762 commits

Author SHA1 Message Date
Massimiliano Culpo
f9ecc4966d
qt: rework to use the when context manager (#24723) 2021-07-06 08:07:36 -06:00
Harmen Stoppels
545f971bec
fix buffered download (#24623)
* Use shutil to do a buffered copy from http response to file

* Fix flake8...

* Somehow flake8 still complains about unrelated files
2021-07-06 06:12:35 -06:00
Manuela Kuhn
9d36f7f518
qt+webkit: fix missing dependencies and gcc11 compatibility (#24366) 2021-07-06 13:18:02 +02:00
Jianwen
e65ab166b9
json-fortran: add version v6.0.11 (#24720) 2021-07-06 07:03:09 -04:00
Mark Olesen
f8743d0cbf
openfoam: add v2106 (#24579)
Co-authored-by: Mark Olesen <Mark.Olesen@esi-group.com>
2021-07-06 08:54:14 +02:00
Adam J. Stewart
9055deea16
py-torch: fix bug in libs/headers attributes (#24624) 2021-07-06 08:53:05 +02:00
Seth R. Johnson
1e3c012fea
xyce: clean and fix trilinos dependencies (#24673) 2021-07-06 08:52:10 +02:00
figroc
61242db8f9
abseil-cpp: add versions up to 20210324.2 (#24692) 2021-07-06 08:42:28 +02:00
figroc
9550703132
tensorflow-serving-client: add v2.3.0 (#24694) 2021-07-06 08:41:16 +02:00
eugeneswalker
e450612188
installer: fix double print of exception (#24697) 2021-07-06 08:40:24 +02:00
Adam J. Stewart
115c39e762
py-black: add v21.6b0 (#24715) 2021-07-06 08:40:12 +02:00
Mark W. Krentel
b8f1bd407e
hpcx-mpi: new package (#24194)
This is a virtual package for Nvidia's HPC-X MPI implementation for
external specs only.
2021-07-06 08:20:47 +02:00
Adam J. Stewart
cea11f3714
OpenCV: various package updates (#24553) 2021-07-06 08:18:58 +02:00
Adam J. Stewart
b35d6d13a7
py-sphinx: add v4.0.2 (#24602) 2021-07-05 13:25:25 -06:00
Manuela Kuhn
6a1a4d4bb6
py-secretstorage: add 3.3.1 (#24705) 2021-07-05 12:24:32 -05:00
Manuela Kuhn
713fd67b4a
py-keyring: fix installation on linux (#24706)
* py-keyring: fix installation on linux

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

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

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

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

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-07-05 12:24:21 -05:00
Adam J. Stewart
2ded87d40e
GDAL: add v3.3.1 (#24713) 2021-07-05 18:45:57 +02:00
Manuela Kuhn
9963642c1c
py-importlib-metadata: add 4.6.1 and 3.10.1 (#24701) 2021-07-05 10:28:01 -05:00
Manuela Kuhn
8e37c30e2f
py-whoosh: add new package (#24707) 2021-07-05 16:08:57 +02:00
Manuela Kuhn
04289b2009
py-keyrings-alt: add new package (#24704) 2021-07-05 12:45:29 +02:00
Manuela Kuhn
d764b776d7
py-patool: add new package (#24703) 2021-07-05 12:44:59 +02:00
Manuela Kuhn
1cb2855054
py-iso8601: add new package (#24702) 2021-07-05 12:44:23 +02:00
Manuela Kuhn
95b0eb9fdd
py-num2words: add new package (#24681) 2021-07-05 11:16:01 +02:00
Sebastian Pipping
a2a273832f
uriparser: add v0.9.5 (#24688) 2021-07-05 11:14:30 +02:00
figroc
cf6aa8f012
grpc: add versions up to 1.33.1 (#24693) 2021-07-05 10:53:35 +02:00
Adam J. Stewart
fd11c6f5f7
py-pandas: add v1.3.0 (#24696) 2021-07-05 10:51:14 +02:00
Adam J. Stewart
eaa918c8f3
py-isort: add v5.9.1, +colors variant (#24699) 2021-07-05 10:50:23 +02:00
Adam J. Stewart
eacba1ffac
py-colorama: add v0.4.4 (#24698) 2021-07-05 10:49:26 +02:00
Adam J. Stewart
a3f6df33ef
Remove add-maintainers-as-reviewers action (#24700) 2021-07-04 18:55:24 -07:00
Adam J. Stewart
3b94e22ad4
Fix fetching for Python 3.9.6 (#24686)
When using Python 3.9.6, Spack is no longer able to fetch anything. Commands like `spack fetch` and `spack install` all break.

Python 3.9.6 includes a [new change](https://github.com/python/cpython/pull/25853/files#diff-b3712475a413ec972134c0260c8f1eb1deefb66184f740ef00c37b4487ef873eR462) that means that `scheme` must be a string, it cannot be None. The solution is to use an empty string like the method default.

Fixes #24644. Also see https://github.com/Homebrew/homebrew-core/pull/80175 where this issue was discovered by CI. Thanks @branchvincent for reporting such a serious issue before any actual users encountered it!

Co-authored-by: Todd Gamblin <tgamblin@llnl.gov>
2021-07-02 22:20:09 -07:00
Robert Underwood
e568564e2f
Update Z-checker and SZ (#24446) 2021-07-02 23:40:14 +02:00
Joe Heaton
6547f41096
Rename cray compiler to cce (#24653)
cp2k was using the outdated and Incorrect compiler name `cray`.
2021-07-02 12:15:43 -07:00
Scott Wittenburg
c895332284
Pipelines: Improve broken specs check (#24643)
We should not fail the generate stage simply due to the presence of
a broken-spec somewhere in the DAG.  Only fail if the known broken
spec needs to be rebuilt.
2021-07-02 10:49:49 -07:00
Massimiliano Culpo
3d11716e54
Add when context manager to group common constraints in packages (#24650)
This PR adds a context manager that permit to group the common part of a `when=` argument and add that to the context:
```python
class Gcc(AutotoolsPackage):
    with when('+nvptx'):
        depends_on('cuda')
        conflicts('@:6', msg='NVPTX only supported in gcc 7 and above')
        conflicts('languages=ada')
        conflicts('languages=brig')
        conflicts('languages=go')
```
The above snippet is equivalent to:
```python
class Gcc(AutotoolsPackage):
    depends_on('cuda', when='+nvptx')
    conflicts('@:6', when='+nvptx', msg='NVPTX only supported in gcc 7 and above')
    conflicts('languages=ada', when='+nvptx')
    conflicts('languages=brig', when='+nvptx')
    conflicts('languages=go', when='+nvptx')
```
which needs a repetition of the `when='+nvptx'` argument. The context manager might help improving readability and permits to group together directives related to the same semantic aspect (e.g. all the directives needed to model the behavior of `gcc` when `+nvptx` is active). 

Modifications:

- [x] Added a `when` context manager to be used with package directives
- [x] Add unit tests and documentation for the new feature
- [x] Modified `cp2k` and `gcc` to show the use of the context manager
2021-07-02 08:43:15 -07:00
Olivier Cessenat
f88d90e432
mfem: adjusted dependencies on hypre (4.2 compiles with hypre up to 2.20) (#24611) 2021-07-02 09:32:31 +02:00
Seth R. Johnson
8089b86dc2
curl: explicitly disable unused dependencies (#24613)
I installed curl on my mac and it picked up a homebrew (I think?)
installation of gsasl. A later system update broke git because of the
implicitly added dependency. Explicitly disabling libraries that *might*
exist on the system is the safe approach here.

```
dyld: Library not loaded: /usr/local/opt/gsasl/lib/libgsasl.7.dylib
  Referenced from: /rnsdhpc/code/spack/opt/spack/apple-clang/curl/gag5v3c/lib/libcurl.4.dylib
  Reason: image not found
error: git-remote-https died of signal 6
```
2021-07-02 09:30:47 +02:00
Chuck Atkins
f1842f363d
dataspaces: move compiler vars to setup_build_environment (#24626) 2021-07-02 09:29:17 +02:00
Adam J. Stewart
7ced07a141
GEOS: add v3.9.1, switch to CMake (#24629) 2021-07-02 08:48:32 +02:00
Weiqun Zhang
189968e207
amrex: add v21.07 (#24655)
Also add conflict with rocm-4.2.
2021-07-02 08:47:08 +02:00
Tiziano Müller
f54fad40ba
amdlibflame: fix build with gcc from CrayPE (#24358)
fixes #24210
2021-07-01 18:37:14 -06:00
Mosè Giordano
38a010b580
sombrero: add new package (#24567) 2021-07-01 18:28:28 -06:00
Matthieu Dorier
e1694afdde
xsd: added patch to fix missing #include <iostream> (#24496) 2021-07-01 18:25:22 -06:00
Axel Huebl
d842c08a9b
WarpX: FFTW+OpenMP (#24604)
FFTW: prefer with OpenMP acceleration for OpenMP compute backend
2021-07-01 18:22:22 -06:00
Sebastian Schmitt
54219852d9
Update dill (#24633) 2021-07-01 16:16:30 -06:00
Harmen Stoppels
4a8a6b4c9d
meson: fix typo (libs instead of default_library) (#24649) 2021-07-01 14:37:36 -06:00
Maciej Wójcik
c5a27980df
Added Perl workaround for CUDA <= 8 (#24291)
* Added Perl workaround for CUDA <= 8
* Re-wrapped comment
* Proofreading corrections
* Added a reference
* Do not override Perl include path
* Retrieve shell once

Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2021-07-01 12:04:04 -07:00
Seth R. Johnson
406117148d
trilinos: improve behavior of gotype (#24565)
* trilinos: add teko conflict
* trilinos: improve gotype variant

Instead of 'none' and 'long' typically being the same (but not for older
trilinos versions), add an explicit 'all' variant that only works for
older trilinos which supports multiple simultaneous tpetra
instantiations.

* trilinos: add self as maintainer
* trilinos: disable vendored gtest by default
2021-07-01 03:13:21 -06:00
Valentin Volkl
e6700d47aa
yoda: add v1.9.0 and compiler conflict for earlier versions (#23814) 2021-07-01 09:27:33 +02:00
Tamara Dahlgren
ca550cd819
hdf: replacing use of install test root with new cached tests dir (#24368) 2021-07-01 09:17:38 +02:00
kwryankrattiger
8c46e82862
sensei: repo update (#24487) 2021-07-01 09:15:16 +02:00