Commit graph

24395 commits

Author SHA1 Message Date
eugeneswalker
65e7e1f969
tau: use filter_compiler_wrappers to take advantage of builtin functionality (#24457) 2021-06-22 12:00:27 -05:00
Adam J. Stewart
b0a915a3b6
py-scipy: add v1.7.0 (#24438) 2021-06-22 11:56:16 -05:00
Erik Schnetter
e3b220f699
Implement CVS fetcher (#23212)
Spack packages can now fetch versions from CVS repositories. Note
this fetch mechanism is unsafe unless using :extssh:. Most public
CVS repositories use an insecure protocol implemented as part of CVS.
2021-06-22 09:51:31 -07:00
Adam J. Stewart
512edfcceb
py-pythran: add new package (#24440) 2021-06-22 07:07:15 -06:00
Vanessasaurus
8e249c03de
adding save of build times on install (#24350)
Here we are adding an install_times.json into the spack install metadata folder.
We record a total, global time, along with the times for each phase. The type
of phase or install start / end is included (e.g., build or fail)

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

Co-authored-by: vsoch <vsoch@users.noreply.github.com>
2021-06-22 03:01:15 -06:00
Adam J. Stewart
726537e01b
py-beniget: add new package (#24439) 2021-06-22 08:50:10 +02:00
Adam J. Stewart
d71a0590b7
py-gast: add v0.4.0 (#24437) 2021-06-22 08:49:38 +02:00
Paul Henning
3039237a0e
hdf5: fix compiler detection in flag_handler (#24451)
The original implementation of `flag_handler` searched the
`self.compiler.cc` string for `clang` or `gcc` in order to add a flag
for those compilers.  This approach fails when using a spack-installed
compiler that was itself built with gcc or clang, as those strings will
appear in the fully-qualified compiler executable paths.  This commit
switches to searching for `%gcc` or `%clang` in `self.spec`.

Co-authored-by: Paul Henning <phenning@lanl.gov>
2021-06-21 23:36:28 -07:00
Howard Pritchard
5e48d2c16f
open mpi: remove preferred for 4.0.5 release (#24433)
the 4.1.1 release has fixes for problems that kept 4.1.0 from
being the default open mpi version to build using spack.

related to #24396

Signed-off-by: Howard Pritchard <hppritcha@gmail.com>
2021-06-21 23:36:09 -07:00
Adam J. Stewart
31e6967c49
MAGMA: add patch to build with CUDA sm_37 (#24442) 2021-06-21 20:18:26 -07:00
Chris White
c9932b2d1e
Axom: Remove blueos check on cuda variant (#24349)
* remove blueos check on cuda variant, fix typo

* restore necessary compiler guard

* remove axom+cuda from testing because it only partially works outside ppc systems
2021-06-22 01:29:18 +00:00
Peter Scheibel
c83f4b01aa
Fetching: git on Mac OS (#24247)
Extend the changes in #24163 to unit tests.
2021-06-21 17:53:12 -07:00
Adam J. Stewart
7b6ca59038
psimd: add new package (#24406) 2021-06-19 08:25:21 -05:00
Adam J. Stewart
62653b9c36
cpuinfo: add new versions (#24402) 2021-06-19 11:05:41 +02:00
Adam J. Stewart
ebcc222181
FP16: add new versions, prevent downloads (#24403) 2021-06-19 11:05:24 +02:00
Adam J. Stewart
9984e61347
pthreadpool: add new versions (#24404) 2021-06-19 11:04:52 +02:00
Adam J. Stewart
76632d6710
FXdiv: add new package (#24405) 2021-06-19 11:04:25 +02:00
snehring
d394e9978e
singularity: add v3.8.0 (#24407) 2021-06-19 10:57:37 +02:00
Alec Scott
5f415c9782
Beast2: add v2.6.4 (#24410) 2021-06-19 10:53:59 +02:00
Alec Scott
c432076280
bedtools2: add v2.30.0 (#24412) 2021-06-19 10:53:21 +02:00
Alec Scott
73d7444ca7
benchmark: add v1.5.5 (#24413) 2021-06-19 10:52:51 +02:00
Alec Scott
93c75fe3f7
Bismarck: add v0.23.0 (#24414) 2021-06-19 10:51:59 +02:00
Alec Scott
aa65293709
cantera: add v2.5.1 (#24415) 2021-06-19 10:51:32 +02:00
Alec Scott
767f03f82f
coreset: add v1.09 (#24419) 2021-06-19 10:47:27 +02:00
Alec Scott
4ba6a850d9
diamond: add v2.0.9 (#24421) 2021-06-19 10:46:41 +02:00
Glenn Johnson
91ef60eb0e
reditools: update and add features (#24370)
This PR does the following:
- adds version corresponding to commit at 08/03/2020
- adds missing get_DE_events.py script
- adds dependencies needed by get_DE_events.py
- removes REDItoolDenovo.py.patch and python2to3.patch in favor of
  running 2to3 and reindent pre-build
- add batch_sort.patch to handle differences in string/char handling
  betweeen python2 and python3
- adds a variant for the Nature Protocol
- adds dependencies for the nature_protocol variant
- added myself as maintainer
This PR adds a new version of reditools from git.
2021-06-18 21:34:50 -05:00
Thomas Gruber
383d4cc84c
Add LIKWID 5.2.0 and a patch for LIKWID 5.1.0 (#24399) 2021-06-18 12:52:51 -06:00
Alec Scott
ca9ff82ad0
abi-dumper: add v1.2 (#24392) 2021-06-18 12:52:23 -06:00
Sergei Shudler
4690fdc081
SLATE: Add e4s testsuite-inspired smoke test (#23376) 2021-06-18 10:50:18 -07:00
Sergei Shudler
1b368e433c
Heffte: Add e4s testsuite-inspired smoke test (#23652) 2021-06-18 10:47:44 -07:00
G-Ragghianti
94d6d3951a
Removed unofficial MAGMA release and enabled MAGMA in e4s (#24400) 2021-06-18 17:28:35 +00:00
Simon Frasch
58272c9d57
spla: add version 1.5.0 and fix compilation with amdblis (#24374) 2021-06-18 09:55:29 -06:00
Themos Tsikas
1b51f09bf0
Checksum update for NAGCompiler download , Version 7.0 (Build 7048) (#24360) 2021-06-18 09:43:15 -06:00
Satish Balay
e3f4036212
petsc, petsc4py: add version 3.15.1 (#24397) 2021-06-18 08:49:37 -06:00
Erik Schnetter
eeacda3dce
double-conversion: New versions 3.1.5, 2.0.2 (#24385)
A version 2.0.3 is also advertised, but doesn't download.
2021-06-18 08:34:38 -06:00
Glenn Johnson
c6961ba4d3
Fixes for opencv (#24361)
This PR fixes a couple of issues with the opencv package, mostly in
relation to cuda. This is only focused on cuda, not any of the other
variants.
- Added versions to the contrib_vers list. Added for all that can be
  retrieved from github. The one for the latest version was missing.
- Added a cmake patch for v3.2.0.
- Deprecated versions 3.1.0 and 3.2.0 as neither of those could be
  built, with or without cuda.
- Adjusted constraints on applying initial cmake patch.
- Added cudnn dependency when +cuda.
- Set constraints for cudnn and cuda for older versions of opencv.
2021-06-18 16:15:58 +02:00
Massimiliano Culpo
32f1aa607c
Add an audit system to Spack (#23053)
Add a new "spack audit" command. This command can check for issues
with configuration or with packages and is intended to help a
user debug a failed Spack build. 

In some cases the reported issues are always errors but are too
costly to check for (e.g. packages that specify missing variants on
dependencies). In other cases the issues may be legitimate but
uncommon usage of Spack and we want to be sure the user intended the
behavior (e.g. duplicate compiler definitions).

Audits are grouped by theme, and for now the two themes are packages
and configuration. For example you can run all available audits
on packages with "spack audit packages". It is intended that in
the future users will be able to define their own audits.

The package audits are good candidates for running in package_sanity
(i.e. they could catch bugs in user-submitted packages before they
are merged) but that is left for a later PR.
2021-06-18 07:52:08 -06:00
Adam J. Stewart
8ad05d6a74
FBGEMM: GCC 5+ and AVX2 required (#24356) 2021-06-18 08:49:18 -05:00
Massimiliano Culpo
57467d05e1
Disable magma in the E4S pipeline (#24395)
Building magma has been failing consistently and is currently
blocking PRs from being merged. Disable that spec while we
investigate the failure and work on a fix.
2021-06-18 12:55:31 +00:00
Glenn Johnson
9750459e05
gsl package: update patch for later version (#22968)
Old patch is still provided for older versions.
2021-06-17 17:37:57 -07:00
Frank Willmore
2c1e9cc7b7
oneAPI compiler: update openmp flag (#23771) 2021-06-17 17:26:46 -07:00
Vanessasaurus
e7ac422982
Adding support for spack monitor with containerize (#23777)
This should get us most of the way there to support using monitor during a spack container build, for both Singularity and Docker. Some quick notes:

### Docker
Docker works by way of BUILDKIT and being able to specify --secret. What this means is that you can prefix a line with a mount of type secret as follows:

```bash
# Install the software, remove unnecessary deps
RUN --mount=type=secret,id=su --mount=type=secret,id=st cd /opt/spack-environment && spack env activate . && export SPACKMON_USER=$(cat /run/secrets/su) && export SPACKMON_TOKEN=$(cat /run/secrets/st) && spack install --monitor --fail-fast && spack gc -y
```
Where the id for one or more secrets corresponds to the file mounted at `/run/secrets/<name>`. So, for example, to build this container with su (spackmon user) and sv (spackmon token) defined I would export them on my host and do:

```bash
$ DOCKER_BUILDKIT=1 docker build --network="host" --secret id=st,env=SPACKMON_TOKEN --secret id=su,env=SPACKMON_USER -t spack/container . 
```
And when we add `env` to the secret definition that tells the build to look for the secret with id "st" in the environment variable `SPACKMON_TOKEN` for example.

If the user is building locally with a local spack monitor, we also need to set the `--network` to be the host, otherwise you can't connect to it (a la isolation of course.)

## Singularity

Singularity doesn't have as nice an ability to clearly specify secrets, so (hoping this eventually gets implemented) what I'm doing now is providing the user instructions to write the credentials to a file, add it to the container to source, and remove when done.

## Tags

Note that the tags PR https://github.com/spack/spack/pull/23712 will need to be merged before `--monitor-tags` will actually work because I'm checking for the attribute (that doesn't exist yet):

```bash
"tags": getattr(args, "monitor_tags", None)
```
So when that PR is merged to update the argument group, it will work here, and I can either update the PR here to not check if the attribute is there (it will be) or open another one in the case this PR is already merged. 

Finally, I added a bunch of documetation for how to use monitor with containerize. I say "mostly working" because I can't do a full test run with this new version until the container base is built with the updated spack (the request to the monitor server for an env install was missing so I had to add it here).

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

Co-authored-by: vsoch <vsoch@users.noreply.github.com>
2021-06-17 17:15:22 -07:00
eugeneswalker
e916b699ee
e4s ci env: package preferences: use newer versions (#24371) 2021-06-17 15:17:49 -06:00
Erik Schnetter
fa89ca2eb0
vtk: Limit freetype versions (#24389)
freetype 2.0.3 introduces an incompatible change

Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
2021-06-17 15:13:33 -06:00
Adam J. Stewart
1c22742eed
gloo: add +cuda variant (#24390) 2021-06-17 20:32:38 +00:00
Erik Schnetter
d4b5911671
hwloc: New version 2.5.0 (#24387) 2021-06-17 13:16:28 -06:00
Erik Schnetter
47e9b62b43
freetype: Add version 2.0.2 (#24386) 2021-06-17 12:37:31 -06:00
Todd Gamblin
100078ec3a
codecov: disable inline annotations on PRs (#24362)
Inline codecov annotations make the code hard to read, and they add annotations
in files that seemingly have nothing to do with the PR. Sadly, they add a whole
lot of noise and not a lot of benefit over looking at the PR on codecov. We
should just have people look at the coverage on codecov itself.
2021-06-17 12:22:23 -06:00
Adam J. Stewart
54d8fea9fc
MAGMA: add v2.6.0, sm_37 support (#24383) 2021-06-17 11:10:39 -06:00
Adam J. Stewart
3eee93ee76
ONNX: add new package (#24384) 2021-06-17 11:07:35 -06:00