Commit graph

27631 commits

Author SHA1 Message Date
Auriane R
c9054a66af
pika: add conflict with gcc versions strictly inferior to 9 (#29798) 2022-03-31 05:53:51 +02:00
Vicente Bolea
5d47347d8c
ParaView: add v5.10.1 (#29516) 2022-03-31 05:38:22 +02:00
Qian Jianhua
f136f62407
exciting: fix bug on aarch64 (#29762) 2022-03-30 21:30:27 -06:00
Richarda Butler
63b981dba4
Bugfix: Kokkos stand alone test (#29403)
* Use the cmake in the user's path

* Use test_suite cache

* Clean up the code
2022-03-30 18:39:41 -07:00
Scott Wittenburg
685e3d7ae9
spack ci: filter untouched pkgs from PR pipelines (#29697)
We've previously generated CI pipelines for PRs, and they rebuild any packages that don't have
a binary in an existing build cache.  The assumption we were making was that ALL prior merged
builds would be in cache, but due to the way we do security in the pipeline, they aren't. `develop`
pipelines can take a while to catch up with the latest PRs, and while it does that, there may be a
bunch of redundant builds on PRs that duplicate things being rebuilt on `develop`.  Until we can
do better caching of PR builds, we'll have this problem.

We can do better in PRs, though, by *only* rebuilding things in the CI environment that are actually
touched by the PR.  This change computes exactly what packages are changed by a PR branch and
*only* includes those packages' dependents and dependencies in the generated pipeline.  Other
as-yet unbuilt packages are pruned from CI for the PR.

For `develop` pipelines, we still want to build everything to ensure that the stack works, and to ensure
that `develop` catches up with PRs. This is especially true since we do not do rebuilds for *every* commit
on `develop` -- just the most recent one after each `develop` pipeline finishes.  Since we skip around,
we may end up missing builds unless we ensure that we rebuild everything.

We differentiate between `develop` and PR pipelines in `.gitlab-ci.yml` by setting 
`SPACK_PRUNE_UNTOUCHED` for PRs. `develop` will still have the old behavior.

- [x] Add `SPACK_PRUNE_UNTOUCHED` variable to `spack ci`
- [x] Refactor `spack pkg` command by moving historical package checking logic to `spack.repo`
- [x] Implement pruning logic in `spack ci` to remove untouched packages
- [x] add tests
2022-03-30 17:17:29 -07:00
Adam J. Stewart
f97be99f2a
Mixed compilers: drop warning message to debug level (#29748) 2022-03-30 15:18:37 -06:00
haralmha
1eb61dd9f3
py-pysimdjson: Add new package (#29767)
* py-pysimdjson: Add new package

* Cleanup

* Fix python requirement

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

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-03-30 14:58:36 -06:00
Jörg Behrmann
4571f4c994
Add completion of locals to spack python (#29702) 2022-03-30 14:38:39 -06:00
Glenn Johnson
20000493f3
libtiff: add missing dependencies (#29605)
* libtiff: add missing dependencies

- gl
- glu
- freeglut

* Make X/GL only for Darwin/Mac

* Catch the force_autoreconf property

* add platform=darwin to the autotools deps as well

* Update var/spack/repos/builtin/packages/libtiff/package.py

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

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-03-30 14:27:01 -05:00
Harmen Stoppels
36fcf461d9
cmake: add v3.23.0 (#29790) 2022-03-30 08:23:22 -06:00
Greg Becker
58a32b04d9
patch cache: fix bug finding inherited packages (#29574) 2022-03-30 14:19:52 +02:00
Olivier Cessenat
d13c1cfa9f
keepassxc: adding version 2.6.6 and major release 2.7.0 (#29676) 2022-03-30 10:55:56 +02:00
Valentin Volkl
a77ce04005
krb5: add v1.19.3, fix build on clang13 (#29683)
Fixes the following error on %clang@13.0.1
  >> 2413    bison: error while loading shared libraries: libtextstyle.so.0: cannot open shared object file: No such file or directory
  >> 2414    make[2]: *** [<builtin>: getdate.c] Error 127
2022-03-30 10:53:57 +02:00
Weston Ortiz
cd6e70f539
goma: add v7.0.4 (#29685) 2022-03-30 10:53:25 +02:00
Seth R. Johnson
1b067ee3e6
veccore: drop useless variants and switch to new repository location (#29678)
VecCore's new home is on github (hashes have changed even though commit
IDs and presumably contents are the same), and it does not need any configuration
options. See discussion at https://gitlab.cern.ch/VecGeom/VecCore/-/merge_requests/1 .
2022-03-30 10:50:41 +02:00
dlkuehn
cd2b2898a1
kallisto: add v0.48.0 (#29689)
Co-authored-by: David Kuehn <las_dkuehn@iastate.edu>
2022-03-30 10:48:44 +02:00
dlkuehn
4c437a8683
freebayes: add v1.3.6 (#29692)
Co-authored-by: David Kuehn <las_dkuehn@iastate.edu>
2022-03-30 10:45:31 +02:00
Tom Scogland
4898759eab
gcc: add missing dependencies (#29671)
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-03-30 10:42:38 +02:00
Cameron Smith
295507129b
simmetrix-simmodsuite: add opencascade variant and version 16.0-220312 (#29759)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2022-03-30 02:33:45 -06:00
Matthieu Dorier
eba0997521
ftxui: add new package (#29724) 2022-03-30 10:10:45 +02:00
Glenn Johnson
acb982f7fa
py-m2r: constrain py-mistune to version 0.8.1 (#29608)
* py-m2r: constrain py-mistune to version 0.8.1

* Remove lower half of py-mistune version constraint
2022-03-30 08:00:39 +00:00
Greg Sjaardema
ef1e96def4
cgns: add maintainer (#29775) 2022-03-30 09:42:18 +02:00
Niclas Jansson
fdab17a4d4
neko: add new package (#28791)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2022-03-30 09:34:10 +02:00
Thomas Dickerson
8806f9f826
proj: add v8.2.1, v8.2.0 and v8.1.1 (#29774)
Version 9.0.0 drops Autotools support in favor of CMake and will presumably require larger changes to package.py
2022-03-30 01:31:56 -06:00
Robert Pavel
54d738ff9c
Flecsi: updated version semantic (#29780)
Updated flecsi spackage to better support changes in control variables
in post 2.1.0 releases while also making legacy versions clearer as to
what is a tagged release and what is a rolling-ish development branch
2022-03-30 09:21:17 +02:00
Mikael Simberg
e58ac0705d
Add patch to fix compilation of boost with compilers not in path (#29718)
Co-authored-by: Mikael Simberg <mikael.simberg@iki.if>
2022-03-30 09:14:03 +02:00
Glenn Johnson
0182e39d44
r-quantreg: add v5.88 (#29621) 2022-03-29 21:02:41 -06:00
Glenn Johnson
7cfe626e21
py-reportlab: add missing dependency on freetype (#29611)
* py-reportlab: add missing dependency on freetype

* Add missing dependencies

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

Use pil virtual.

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

Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-03-29 20:43:12 -05:00
Seth R. Johnson
0367b73ed5
Trilinos: add linker flags to improve behavior (#29492) 2022-03-29 18:13:09 -04:00
Nichols A. Romero
f66e7aea94
Support DASK backend in XARRAY. (#29726)
* Support DASK backend in XARRAY.

* Create XARRAY parallel variant with correct py-dask dependency.
2022-03-29 14:02:40 -06:00
MicK7
ef23c3b122
Update cgns for new release (#29709)
Add CGNS 4.3.0 version
2022-03-29 20:36:05 +02:00
Asher Mancinelli
078ee48c4b
ExaGO: add v1.4.0 and v1.4.1 (#29712)
* ExaGO: Handling of cuda architectures and amdgpu targets changed
  to effectively handle multiple targets. See #28441.
* Add ROCm support to ExaGO and update ROCm support in HiOp
* ExaGO+rocm requires HiOp+rocm
* Newer versions of CMake may set HIP_CLANG_INCLUDE_PATH incorrectly:
  add comments to the ExaGO/HiOp packages explaining how to address
  this problem if it occurs.
2022-03-29 10:01:30 -07:00
Harmen Stoppels
9516fa9447
cmake: use CMAKE_INSTALL_RPATH_USE_LINK_PATH (#29703)
* cmake: use CMAKE_INSTALL_RPATH_USE_LINK_PATH

Spack has a heuristic to add rpaths for packages it knows are required,
but it's really a heuristic, and it does not work when the dependencies
put their libraries in a different folder than `<prefix>/lib{64,}`.

CMake patches binaries after install with the "install rpaths", which by
default are provided by Spack and its heuristic through
`CMAKE_INSTALL_RPATH`.

CMake however knows better what libraries are effectively being linked
to, and has an option to include those in the install rpath too, through
`CMAKE_INSTALL_RPATH_USE_LINK_PATH`.

These two CMake options are complementary, repeated rpaths seem to be
filtered, and the "use link path" paths are appended to Spack's
heuristic "install rpath".

So, it seems like a good idea to enable "use link path" by default, so
that:
- `dlopen` by library name uses Spack's heuristic search paths
- linked libraries in non-standard locations within a prefix get an
rpath thanks to CMake.

* docs
2022-03-29 12:24:10 -04:00
Greg Sjaardema
c0b400c422
cgns: add v4.3.0 (#29773) 2022-03-29 09:46:55 -06:00
Matthieu Dorier
134debc518
mochi-margo: add v0.9.8 (#29771) 2022-03-29 17:39:14 +02:00
Seth R. Johnson
ed1a48f50a
SUNDIALS: refactor CMake recipe (#29585)
- Use define/define_from_variant
- Remove unused "fortran_flags"
- Fix CUDA architectures when using multiple (needs semicolon not comma
  separators)
- Add `when=` variant restrictions to simplify logic
2022-03-29 17:09:02 +02:00
Carlos Bederián
02cbb8ffaa
cuda: add 11.6.2 (#29756) 2022-03-28 17:38:38 -06:00
Tamara Dahlgren
fd055d4678
spack info: make sections optional; add build/stand-alone test information (#22097)
Add output of build- and install-time tests to info command

Enable dependencies, variants, and versions by default (i.e., provide --no* 
options; add gcc to test_info_fields to increase coverage for c_names->v_names
2022-03-28 22:15:38 +00:00
Thomas Dickerson
40fad1472a
Convert git-over-ssh package URLs to canonical format (#29754)
Use canonical SSH urls for git-over-ssh package urls. See also: discussion on #29706, #29749, and https://forum.gitlab.com/t/provided-ssh-url-is-in-the-wrong-format/14320
2022-03-28 14:48:20 -07:00
Richard Berger
00469d84e7
spiner: fix +cuda (#29758) 2022-03-28 15:30:44 -06:00
John W. Parent
1c2fff2cb7
Add ssh to filter of valid urls (#29749) 2022-03-28 14:13:55 -07:00
eugeneswalker
5424e4bdc1
e4s ci spack.yaml: add h5bench (#29755) 2022-03-28 20:55:14 +00:00
Richard Berger
5fe20b462c
New package: spiner (#29719)
* New package: spiner

* Update dependencies for spiner package

* Update var/spack/repos/builtin/packages/spiner/package.py

Co-authored-by: Seth R. Johnson <johnsonsr@ornl.gov>

* Update var/spack/repos/builtin/packages/spiner/package.py

Co-authored-by: Seth R. Johnson <johnsonsr@ornl.gov>

* Remove versions that can't be installed and use ports-of-call@1.1.0

Co-authored-by: Seth R. Johnson <johnsonsr@ornl.gov>
2022-03-28 13:22:46 -06:00
Massimiliano Culpo
2856b29740
Removed unneeded conflicts in CudaPackage and RocmPackage (#29699)
Since the variant is conditional there's no need to add
conflicts too.
2022-03-28 10:58:56 -06:00
Jim Galarowicz
a7e365536b
survey package: add versions 1.0.2/1.0.3; add tls model variant (#29375) 2022-03-28 09:20:14 -07:00
Richard Berger
6aedbb32da
ports-of-call: new version 1.1.0 (#29723)
Version 1.0.0 was uninstallable.
2022-03-28 11:30:57 -04:00
FJ-NaokiMatsumura
9e169ae243
batchedblas: new package (#29028) 2022-03-28 17:16:03 +02:00
Max Zeyen
1dbab78db1
gpi-space: add v22.03 (#29736) 2022-03-28 14:50:21 +02:00
Filippo Spiga
8228ac7d62
Adding NVIDIA HPC SDK 22.3 (#29737)
Co-authored-by: Filippo Spiga <fspiga@nvidia.com>
2022-03-28 05:18:29 -06:00
Harmen Stoppels
3f41f8d093
julia: add patch reverting llvm rpath changes (#29731) 2022-03-28 02:34:27 -06:00