Commit graph

21937 commits

Author SHA1 Message Date
Harmen Stoppels
e8afc5db15
Fix bug where cmake prefix path on the command line does not include transitive deps (#23965) 2021-06-01 12:45:52 -07:00
Mikael Simberg
690558f927
umpire: add v5.0.1 (#24056) 2021-06-01 20:37:39 +02:00
Michael Kuhn
c90f24d908
gcc: add 9.4.0 (#24064)
This also enables bootstrapping by default since that is what GCC
recommends and what most distributions are doing as well.
2021-06-01 20:22:27 +02:00
Kevin Huck
73c78358a8
apex: updated package, added maintainer (#18569)
Adding versions: 2.2.0, 2.3.0, 2.3.1, 2.3.2, 2.4.0
2021-06-01 20:14:18 +02:00
Massimiliano Culpo
50dac14d10
axom: fix typo in conflicts where "^" is missing (#24058) 2021-06-01 19:06:15 +02:00
Massimiliano Culpo
707a3f7df8
Simplified the spack.util.gpg implementation (#23889)
* Simplified the spack.util.gpg implementation

All the classes defined in this Python module,
which were previously used to construct singleton
instances, have been removed in favor of four
global variables. These variables are initialized
lazily, like before.

The API of the module has been unchanged for the
most part. A few tests have been modified to use
the new global names.
2021-06-01 10:05:42 -07:00
Massimiliano Culpo
c6d21fa154
rocksdb: fix typo in dependency condition (#24061)
refers #23503

`spack audit` caught that the "bzip2" variant was not defined.
2021-06-01 08:11:12 -06:00
Massimiliano Culpo
c015e84291
py-elephant: fix typo in dependency condition (#24060)
refers #23503

`spack audit` caught that the "docs" variant was not defined.
2021-06-01 08:10:38 -06:00
Massimiliano Culpo
379482b653
paradiseo: remove dependency that cannot be triggered (#24059)
refers #23503

Spack audit caught that the "doc" variant was not defined,
and doxygen was conditional on it being set.
2021-06-01 15:55:02 +02:00
Manuela Kuhn
8fe2be0010
py-nipype: add new package (#24045) 2021-06-01 08:41:02 -05:00
Harmen Stoppels
4c3d58ad83
mpich: conflict no longer necessary with clang (#24013) 2021-06-01 06:16:25 -06:00
lpoirel
f8794afcbd
petsc: add +hwloc and +openmp variants (#23675) 2021-06-01 03:37:19 -06:00
Mark W. Krentel
389b02cf71
hpctoolkit: update recipe, add v2021.05.15 (#24017)
1. add version 2021.05.15.
2. add patch to build old revs with gcc 11.x, version 2021.15.05
already has patch integrated, fixes #23667.
3. add variant +debug to build unoptimized, debug version.
4. add variant +viewer to include hpcviewer and add viewer path to
hpctoolkit module.
5. add dependency on memkind to workaround a glibc problem found on
some Cray platforms.
2021-06-01 02:31:48 -06:00
Matthieu Dorier
2cd8139cd7
spdlog: add v1.8.2-v1.8.5, adjusted required version of cmake (#23993) 2021-06-01 10:28:33 +02:00
iarspider
e4edbe89cc
COOL: add new package (#23006)
Co-authored-by: George Hartzell <hartzell@alerce.com>
2021-06-01 10:12:55 +02:00
Michael Kuhn
f1d2ab38a0
enzo: add main branch (#24010)
We also keep around master for compatibility and map it to main.
2021-06-01 10:10:37 +02:00
Adam J. Stewart
ab254e7d86
py-numcodecs: fix import_modules tests (#24015) 2021-06-01 10:00:53 +02:00
Adam J. Stewart
c596dba039
py-psycopg2: need link dep on postgresql (#24016) 2021-06-01 10:00:35 +02:00
Harmen Stoppels
26e1a8287f
Bump cmake (#24043) 2021-06-01 09:41:52 +02:00
Michael Kuhn
f35c3ef9ef
perl: add 5.34.0 (and 5.35.0) (#24047) 2021-06-01 09:41:36 +02:00
Seth R. Johnson
976a97f045
formetis: add new package (#24048) 2021-06-01 09:32:20 +02:00
Harmen Stoppels
bb5fd5c567
Fix leading / during spack buildcache -f ... (#24028)
For me the buildcache force overwrite option does not work. It tries to
delete a file, but errors with a key error, apparently because the
leading / has to be removed.
2021-06-01 01:10:32 -06:00
Ben Darwin
40803365f3
cctools: add v7.2.10 (#24051) 2021-06-01 09:01:55 +02:00
Mark W. Krentel
5fb68b4441
elfutils: add v0.183 through v0.185 (#24052) 2021-06-01 09:01:32 +02:00
Hadrien G
175e6e8c1e
acts: add v8.3.0 (#24053) 2021-06-01 08:59:33 +02:00
Tom Scogland
4a7b0afde2
Log performance improvement (#23925)
* util.tty.log: read up to 100 lines if ready

Rework to read up to 100 lines from the captured stdin as long as data
is ready to be read immediately.  Adds a helper function to poll with
`select` for ready data.  This showed a roughly 5-10x perf improvement
for high-rate writes through the logger with relatively short lines.

* util.tty.log: Defer flushes to end of ready reads

Rather than flush per line, flush per set of reads.  Since this is a
non-blocking loop, the total perceived wait is short.

* util.tty.log: only scan each line once, usually

Rather than always find all control characters then substitute them all,
use `subn` to count the number of control characters replaced.  Only if
control characters exist find out what they are.  This could be made
truly single pass with sub with a function, but it's a more intrusive
change and this got 99%ish of the performance improvement (roughly
another 2x in some cases).

* util.tty.log: remove check for `readable`

Python < 3 does not support a readable check on streams, should not be
necessary here since we control the only use and it's explicitly a
stream to be read.
2021-05-31 20:33:14 -07:00
Manuela Kuhn
ea4a2c9120
py-lxml: add 4.6.3 (#24037)
* py-lxml: add 4.6.3

Also add missing libxml2 and libxslt versions dependencies [1]

[1] https://github.com/lxml/lxml/blob/lxml-4.6.3/INSTALL.txt

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

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

* py-lxml: remove cython dependency again

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2021-05-31 17:34:28 -06:00
Manuela Kuhn
e5513f914e
py-prov: add new package (#24040) 2021-05-31 17:10:29 -06:00
Manuela Kuhn
1fae271be8
py-click: add 8.0.1 (#24041) 2021-05-31 17:46:20 -05:00
Manuela Kuhn
c6da94473d
py-traits: add 6.2.0 (#24044) 2021-05-31 16:48:19 -05:00
Manuela Kuhn
adf2e8230a
py-simplejson: add 3.17.2 (#24042)
Also fix python version dependency.
2021-05-31 16:47:28 -05:00
Manuela Kuhn
f3d506b582
py-networkx: add 2.5.1 (#24038) 2021-05-31 16:42:12 -05:00
Manuela Kuhn
647bee732c
py-nibabel: add new package (#24036) 2021-05-31 16:36:23 -05:00
Manuela Kuhn
9d0b8208e4
py-packaging: add 20.9 (#24034) 2021-05-31 16:35:04 -05:00
Manuela Kuhn
9a902b67a1
py-etelemetry: add new package (#24033) 2021-05-31 15:34:22 -06:00
Manuela Kuhn
444ba3d4cf
py-ci-info: add new package (#24031) 2021-05-31 16:14:13 -05:00
Manuela Kuhn
bc78cf3a2c
py-pydot: add v1.4.2 (#24039) 2021-05-31 19:26:55 +00:00
Manuela Kuhn
c8df8f2702
py-requests: add 2.25.1 (#24032) 2021-05-31 12:59:25 -05:00
Harmen Stoppels
7bae865c7e
Propagate openmp to blas for sirius and spla (#24027)
And also update lowerbounds of dependencies
2021-05-31 14:16:00 +00:00
h-murai
8cdf42e1db
Bugfix: not providing fftw-api@3 (#24024) 2021-05-31 04:01:42 -06:00
Valentin Volkl
ae2fc50861
xqilla: add patches for newer xerces-c, gcc (#24021) 2021-05-31 03:49:23 -06:00
Michael Kuhn
c4e4d3587b
libfabric: add debug variant (#24018) 2021-05-31 09:50:32 +02:00
eugeneswalker
bd6145589d
CI: E4S: enable full E4S (#24011)
* e4s ci: enable full e4s
* add llvm-amdgpu to list of specs needing an xlarge tagged runner
* comment out qt and qwt because of intermittent build failures
* remove +rocm specs because rocblas job consistently fails due to infrastructure
2021-05-30 13:09:07 -07:00
Valentin Volkl
7bdd906580
vbfnlo: add missing build dependencies (#24022) 2021-05-30 19:26:39 +02:00
Paul R. C. Kent
d4585f4328
New versions: py-sphinxcontrib-bibtex, py-sphinx-rtd-theme, py-pybtex-docutils, py-pybtex (#24009)
* New versions

* update deps

* py-sphinxcontrib-bibtex deps
2021-05-29 20:52:36 -05:00
Paul R. C. Kent
120c718da5
New versions: py-gpaw, py-ase (#24008)
* New gpaw and ase versions

* Update ase deps

* flask dep removed after 3.18.0
2021-05-29 23:05:16 +00:00
Seth R. Johnson
9936182f60
qt: skip multimedia when ~opengl (#23989)
* qt: skip multimedia when ~opengl

On 5.9 on macOS the multimedia option causes build errors; on other
platforms and versions it should probably be assumed inoperative anyway.

* qt: Omit flags when disabling multimedia

```
ERROR: Unknown command line option '-no-pulseaudio'.
```

* Work around another qt@5.9 error

* qt: Fix build error on darwin
2021-05-29 20:53:25 +02:00
Vanessasaurus
6f534acbef
adding support for export of private gpg key (#22557)
This PR allows users to `--export`, `--export-secret`, or both to  export GPG keys
from Spack. The docs are updated that include a warning that this usually does not
need to be done.

This addresses an issue brought up in slack, and also represented in #14721.

Signed-off-by: vsoch <vsoch@users.noreply.github.com>

Co-authored-by: vsoch <vsoch@users.noreply.github.com>
2021-05-28 23:32:57 -07:00
Harmen Stoppels
f6febd2ef5
Cache compiler lookup per package (#23988)
Before:

```
$ hyperfine '~/spack/bin/spack -e . build-env rocfft'
Benchmark #1: ~/spack/bin/spack -e . build-env rocfft
  Time (mean ± σ):      1.593 s ±  0.016 s    [User: 1.468 s, System: 0.126 s]
  Range (min … max):    1.575 s …  1.628 s    10 runs
```

After:

```
$ hyperfine '~/spack/bin/spack -e . build-env rocfft'
Benchmark #1: ~/spack/bin/spack -e . build-env rocfft
  Time (mean ± σ):      1.407 s ±  0.020 s    [User: 1.280 s, System: 0.127 s]
  Range (min … max):    1.393 s …  1.455 s    10 runs
```
2021-05-28 21:36:34 +00:00
Greg Becker
7490d63c38
Separable module configuration -- without the bugs this time (#23703)
Currently, module configurations are inconsistent because modulefiles are generated with the configs for the active environment, but are shared among all environments (and spack outside any environment).

This PR fixes that by allowing Spack environments (or other spack config scopes) to define additional sets of modules to generate. Each set of modules can enable either lmod or tcl modules, and contains all of the previously available module configuration. The user defines the name of each module set -- the set configured in Spack by default is named "default", and is the one returned by module manipulation commands in the absence of user intervention.

As part of this change, the module roots configuration moved from the config section to inside each module configuration.

Additionally, it adds a feature that the modulefiles for an environment can be configured to be relative to an environment view rather than the underlying prefix. This will not be enabled by default, as it should only be enabled within an environment and for non-default views constructed with separate projections per-spec.
2021-05-28 14:12:05 -07:00