Commit graph

21937 commits

Author SHA1 Message Date
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
Seth R. Johnson
d0bbe18c79
vim: use value variant and update config script (#24554)
This changes several conflicting variants to a single
multi-value variant, and uses conflicts instead of raising InstallError.
(With clingo, requesting +gui automatically selects features=huge!)
I have also rearranged the dependencies for clarity and simplified the
conifgure args.
2021-07-01 09:12:05 +02:00
Harmen Stoppels
ca538e18a4
sirius: add v7.2.5 (#24587) 2021-06-30 23:16:23 -06:00
Desmond Orton
59028aa0a5
py-wxpython: Version update to 4.1.1 (#24569) 2021-06-30 16:55:14 -06:00
Zack Galbreath
c8868f1922
ci: only write to broken-specs list on SpackError (#24618)
ci: only write to broken-specs list on SpackError

Only write to the broken-specs list when `spack install` raises a SpackError,
instead of writing to this list unnecessarily when infrastructure-related problems
prevent a develop job from completing successfully.
2021-06-30 12:16:15 -06:00
Dr. Christian Tacke
89bed5773e
root: Add Version 6.24.02 (#24619)
Also fixes some style issues
2021-06-30 12:10:34 -06:00
Robert Mijakovic
1639ac8e86
python: new versions; 3.9.6, 3.8.11, 3.7.11, 3.6.14 (#24593) 2021-06-30 12:01:29 -06:00
Adam J. Stewart
7a794f8b0a
py-torchvision: add v0.10.0 (#24340) 2021-06-30 12:42:25 -04:00
Adam J. Stewart
4f9b539644
py-torch: overhaul package (#24294)
* py-torch: patch no longer needed on master

* Overhaul PyTorch package

* py-torch: add v1.9.0

* Change defaults on macOS

* Submodules still needed...

* Add ONNX dependency

* System libs don't work for many submodules

* Silence CMake warning

* Add conflict for +cuda+rocm

* Add more deps

* Add more BLAS options

* Disable some broken system libs options

* Add patches to build older versions

* +mkldnn requires mkl

* Fix BLAS settings
2021-06-30 12:38:53 -04:00
Adam Moody
7753c816f0
scr and other packages: rename default branches to main (#24578) 2021-06-30 10:31:41 -06:00
Zack Galbreath
0bbd71d561
ci: Don't raise an exception if we fail to relate CDash builds (#24299)
ci: Do not allow cdash-related errors to cause pipeline failure
2021-06-30 10:26:26 -06:00
Morten Kristensen
b8512983d9
py-vermin: add v1.2.1 (#24607) 2021-06-30 09:13:21 -06:00
Adam J. Stewart
ea261e3530
py-pytorch-sphinx-theme: add master version (#24594) 2021-06-30 07:52:20 -06:00
Robert Mijakovic
acd1b04ea2
cmake: add v3.20.4, v3.20.5 (#24582)
Co-authored-by: Robert Mijakovic <robert.mijakovic@lxp.lu>
2021-06-30 09:31:00 +02:00
Manuela Kuhn
f2d60261c9
r-stringi: add v1.6.2 (#24585) 2021-06-30 09:30:15 +02:00
shanedsnyder
8ad1dd6036
darshan-runtime,darshan-util: add v3.3.1 + updated git repository (#24574) 2021-06-30 09:11:16 +02:00
Thomas Madlener
c832ac28ae
genfit package: add googletest dependency (#24467) 2021-06-29 22:37:25 -07:00
Axel Huebl
a647ae2aeb
HiPACE++: FFTW+OpenMP (#24575)
- change the default compute backend: we just start to add OpenMP support
- FFTW: prefer with OpenMP acceleration for OpenMP compute backend
2021-06-29 20:55:22 -06:00
Jen Herting
d00082e70b
New package: py-datasets (#24597)
* [py-datasets] created template

* [py-datasets] added dependencies

* [py-datasets] requires py-pyarrow with +parquet

* [py-datasets] Final cleanup

- added homepage
- added description
- removed fixmes
2021-06-29 20:28:23 -06:00
Jen Herting
501f87fb22
dependency for py-torchmeta (#24595)
Co-authored-by: Sid Pendelberry <sid@rit.edu>
2021-06-29 18:58:21 -06:00
Sergey Kosukhin
55dd306790
hdf5: a follow-up to #18937 (#23820) 2021-06-29 18:34:12 -06:00
Adam J. Stewart
a2b7f9997d
spack style: warn if flake8-import-order is missing (#24590) 2021-06-29 23:49:18 +00:00
Manuela Kuhn
1c6504d2f5
py-nipype: add 1.6.1 (#24584) 2021-06-29 17:04:23 -06:00
Manuela Kuhn
cc1285c1e1
py-nilearn: add 0.8.0 (#24583) 2021-06-29 16:04:28 -06:00
Harmen Stoppels
304249604a
Fix prefix-collision detection for projections (#24049)
If two Specs have the same hash (and prefix) but are not equal, Spack
originally had logic to detect this and raise an error (since both
cannot be installed in the same place). Recently this has eroded and
the check no-longer works; moreover, when defining projections (which
may truncate the hash or other distinguishing properties from the
prefix) Spack was also failing to detect collisions (in both of these
cases, Spack would overwrite the old prefix with the new Spec).

This PR maintains a list of all "taken" prefixes: if a hash is not
registered (i.e. recorded as installed in the database) but the prefix
is occupied, that is a collision. This can detect collisions created
by defining projections (specifically when they omit the hash).

The PR does not detect collisions where specs have the same hash
(and prefix) but are not equal.
2021-06-29 14:44:56 -07:00
Manuela Kuhn
1eb2798c43
py-numpy: conflict with gcc11 and switch master to main (#24573)
Fix syntax of conflict between numpy 1.21.0 and gcc11 to that the clingo
concretizer recognizes it.
In addition the upstream master branch was renamed to main.
2021-06-29 15:40:32 -06:00