Commit graph

18375 commits

Author SHA1 Message Date
Harmen Stoppels
50f8332d95
Compiler wrapper linting (#20249)
* Fix duplicate entries in case
* make sure the arg is not interpreted as two items in a list
* use -n over ! -z
2020-12-07 18:58:19 -08:00
Massimiliano Culpo
98c2627132 bugfix: work around issue handling packages not in any repo 2020-12-07 17:18:33 -08:00
Todd Gamblin
1343a815c0 concretizer: refactor handling of special variants dev_build and patches
Other parts of the concretizer code build up lists of things we can't
know without traversing all specs and packages, and they output these
list at the very end.

The code for this for variant values from spec literals was intertwined
with the code for traversing the input specs. This only covers the input
specs and misses variant values that might come from directives in
packages.

- [x] move ad-hoc value handling code into spec_clauses so we do it in
  one place for CLI and packages

- [x] move handling of `variant_possible_value`, etc. into
  `concretize.lp`, where we can automatically infer variant existence
  more concisely.

- [x] simplify/clarify some of the code for variants in `spec_clauses()`
2020-12-07 17:18:33 -08:00
vvolkl
8035a52f7b
edm4hep: added package at v0.3, updated podio at v0.13 (#20241) 2020-12-07 18:58:10 +01:00
vvolkl
ed258ca9e9
Add "spack versions --new" flag to only show new versions (#20030)
* [cmd versions] add spack versions --new flag to only fetch new versions

format

[cmd versions] rename --latest to --newest and add --remote-only

[cmd versions] add tests for --remote-only and --new

format

[cmd versions] update shell tab completion

[cmd versions] remove test for --remote-only --new which gives empty output

[cmd versions] final rename

format

* add brillig mock package

* add test for spack versions --new

* [brillig] format

* [versions] increase test coverage

* Update lib/spack/spack/cmd/versions.py

Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>

* Update lib/spack/spack/cmd/versions.py

Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>

Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2020-12-07 09:29:10 -06:00
ketsubouchi
b4ed4fb226
povray: model mkl dependency correctly (#20265)
Added the correct depends_on directive if the mkl variant is active.
Added conflicts for archs that don't support mkl
2020-12-07 15:45:56 +01:00
Owen Solberg
af9bf816fe
py-xopen: added v1.0.1 and v0.8.4 (#20245) 2020-12-07 10:25:53 +01:00
Robert Maynard
039d4a81be
VTK-m: update to specify correct requirements to kokkos (#20097) 2020-12-07 10:16:44 +01:00
Martin Oberzalek
a5b3a77741
krb5: added 'shared' variant and support to build static library (#20017)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2020-12-07 10:13:01 +01:00
Adam J. Stewart
401fe7179f
OpenCV: disable variants by default (#20162) 2020-12-07 10:10:28 +01:00
Jacob Merson
1f73c87157
ccls: new package at v0.20201025 (#20251) 2020-12-07 09:53:34 +01:00
Jacob Merson
89c54ff01e
spdlog: added versions up to v1.8.1 (#20252) 2020-12-07 09:49:23 +01:00
Paul R. C. Kent
ec3a506414
curl: added v7.73.0 (#20246) 2020-12-07 09:23:02 +01:00
iulian787
bb27b05b24
tempestremap: added new package at v2.0.5, updated moab to v5.2.1 (#20014) 2020-12-07 09:21:32 +01:00
h-denpo
3c2392554b
apr: add depends_on ('libuuid', type='link') (#20261) 2020-12-07 09:02:40 +01:00
Sreenivasa Murthy Kolam
0fc36844b0
atmi, rccl: added v3.10.0 (rocm-3.10.0) (#20264) 2020-12-07 08:52:33 +01:00
Massimiliano Culpo
3843f43e69
concretizer: each external version is allowed by definition (#20247)
Registering external versions among the lists of allowed ones
generates the correct rules for `version_satisfies`
2020-12-06 10:29:05 +01:00
perrymil
fbb127c46a
raxml-ng: new package at v1.0.1 (#20223) 2020-12-04 22:56:24 +01:00
Ben Morgan
0dd628d0d3
geant4, geant4-data: versions 10.6.3 and 10.7.0 (#20250)
Update geant4-data and individual datasets for Geant4 versions 10.6.3
and 10.7.0.

Update geant4 package with new versions 10.6.3 and 10.7.0. Update
dependencies on CLHEP and VecGeom with versions required for Geant4
10.7.

Add GEANT4_INSTALL_PACKAGE_CACHE=OFF to CMake args for 10.6 onwards.
Prevents install of the "package cahce" file that contains hard-coded
paths for dependencies, improving relocatability. It relies on Spack
setting CMAKE_PREFIX_PATH correctly in build/use environments that
consume the geant4 package.
2020-12-04 13:22:47 -05:00
Harmen Stoppels
984ae7e695
Also allow --rpath as rpath linker flags (#18473) 2020-12-04 12:29:55 -05:00
Massimiliano Culpo
8b74b50cff
concretizer: restrict maximizing variant values to MV variants (#20194) 2020-12-04 16:27:03 +01:00
TAKAHASHI Shuuji
98517af024
postgresql: added xml variant (#20224) 2020-12-04 12:27:52 +01:00
arjun-raj-kuppala
321298b115
AMD ROCm - Bump up rocalution with 3.9.0 and 3.10.0 releases (#20243) 2020-12-04 11:23:55 +01:00
Sreenivasa Murthy Kolam
5c0ac61a95
Added v3.10.0 for miopengemm, rocm-opencl and rocm (#20235) 2020-12-04 10:21:10 +01:00
Erik Schnetter
2d3e491845
amrex: constrain cmake if using cuda 11 (#20237)
`cmake @3.17:` is necessary to handle `cuda @11:` correctly. Earlier versions of `cmake` do not know that `cuda @11:` does not support `compute_30` any more, and list that compute capability as supported. This is handled in `cmake`'s file `Modules/FindCUDA/select_compute_arch.cmake`.
2020-12-04 10:16:35 +01:00
Ethan Stam
f391b2e8e5
py-cinemasci: new package at v1.3 (#20239) 2020-12-04 10:13:45 +01:00
Howard Pritchard
61f0f840d4
libtheora: patch for png_sizeof issue (#20240)
See

https://gitlab.freedesktop.org/gstreamer/cerbero/blob/master/recipes/libtheora/0004-examples-Don-t-use-png_sizeof.patch

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2020-12-04 10:12:44 +01:00
George Hartzell
9afaaa3c25
bowtie2: fix installation prefix (#20205)
The bowtie2 Makefile uses `prefix`, not `PREFIX`, for versions before v2.4.

Credit to @tkameyama

Co-authored-by: george.hartzell <george.hartzell@sana.com>
2020-12-04 09:59:59 +01:00
eugeneswalker
badf3368ad
allow install of build-deps from cache via --include-build-deps switch (#19955)
* allow install of build-deps from cache via --include-build-deps switch

* make clear that --include-build-deps is useful for CI pipeline troubleshooting
2020-12-03 15:27:01 -08:00
Matthias Wolf
794b60f7e7
environment installs: fix reporting. (#20004)
PR #15702 changed the invocation of the report context when installing
specs, do the same when building environments.
2020-12-03 15:04:13 -08:00
Greg Becker
d6765fe95d
avoid circular import (#20236) 2020-12-03 13:54:09 -08:00
Andrew W Elble
09aae616c7
concretizer: call inject_patches_variants() on the roots of the specs (#20203)
As was done in the old concretizer. Fixes an issue where conditionally
patched dependencies did not show up in spec (gdal+jasper)
2020-12-03 16:28:34 +01:00
Sreenivasa Murthy Kolam
39be60ab92
bump up version for rocm_3.10.0 rel (#20229) 2020-12-03 14:28:51 +01:00
Sreenivasa Murthy Kolam
a1b9a00a13
bumpup the version for rocm-3.10.0 release (#20227) 2020-12-03 12:40:54 +01:00
Danny Taller
e22e037e30
Add CARE package, fixes for ROCmPackage and subclasses (#20070)
* use develop version of blt with fixes for rocm

* package updates for care+rocm

* fixes for plain cpu build

* add camp dependency on raja
2020-12-02 17:07:56 -08:00
Danny Taller
f37adc71f0
fix harmen branch (#20216) 2020-12-02 22:49:24 +01:00
Massimiliano Culpo
05848c87c5
concretizer: try hard to infer the real version of compilers (#20099)
fixes #20055

Compiler with custom versions like gcc@foo are not currently
matched to the appropriate targets. This is because the
version of spec doesn't match the "real" version of the
compiler.

This PR replicates the strategy used in the original
concretizer to deal with that and tries to detect the real
version of compilers if the version in the spec returns no
results.
2020-12-02 20:30:28 +01:00
fcannini
007ff2a6b0
namd: added cuda support (#20143) 2020-12-02 20:22:12 +01:00
Justin S
651bd50d86
py-mikado: new package at 20201016 (#20186) 2020-12-02 20:20:27 +01:00
Desmond Orton
c65090bac1
blast-plus: added v2.11.0 (#20024)
Co-authored-by: Dan Han <las_danhan@iastate.edu>
2020-12-02 20:02:14 +01:00
Andrew W Elble
881c4e87df
pmix/openpmix: added v3.2.1 and v3.1.5 (#20087) 2020-12-02 19:36:30 +01:00
Sreenivasa Murthy Kolam
ff4c45289e
bump up version for rocm-3.10.0 release (#20214)
* bump up version for rocm-3.10.0 release

* bump up version for rocm-3.10.0

* remove duplicate version addition for 3.9.0

* bump up version for rocm-3.10.0 release

* bump up version for rocm-3.10.0 release

* bump up version for rocm-debug-agent and rocm-dbgapi

* bump up version for rocm-bandwidth-test,rocm-gdb,rocprofiler,roctracer for rocm-3.10.0
2020-12-02 12:33:40 -06:00
Justin S
6d0e8d760a
r-loo: added v2.3.1 (#20075) 2020-12-02 19:33:21 +01:00
Adam J. Stewart
80b6b768df
G2O: add new package (#20165) 2020-12-02 19:30:26 +01:00
Adam J. Stewart
898ac9f9c2
libqglviewer: build dylib instead of Framework (#20178) 2020-12-02 19:23:31 +01:00
Andrew W Elble
3c25ae5130
py-ucx-py: added new package at v0.16.0 (#20093)
Added also py-pynvml
2020-12-02 19:15:23 +01:00
mic84
5deeff89f3
amrex: added v20.12 (#20200) 2020-12-02 19:05:55 +01:00
Howard Pritchard
d84c59c9a0
libtheora: patch autogen.sh to avoid (#20008)
configure problem when spack runs the configure stage of its build/install pipeline

Signed-off-by: Howard Pritchard <howardp@lanl.gov>
2020-12-02 10:24:37 -06:00
Harmen Stoppels
b0baf42988
Fix hipcc once more (#20095) 2020-12-02 15:58:58 +01:00
Toyohisa Kameyama
e575a38d96
py-tensorlow: use mkdtemp for temporary directory. (#20212) 2020-12-02 08:45:30 -06:00