summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-03-30spack ci: filter untouched pkgs from PR pipelines (#29697)Scott Wittenburg8-99/+292
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-30Mixed compilers: drop warning message to debug level (#29748)Adam J. Stewart1-2/+1
2022-03-30py-pysimdjson: Add new package (#29767)haralmha1-0/+22
* 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-30Add completion of locals to spack python (#29702)Jörg Behrmann1-0/+4
2022-03-30libtiff: add missing dependencies (#29605)Glenn Johnson1-6/+14
* 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-30cmake: add v3.23.0 (#29790)Harmen Stoppels1-0/+1
2022-03-30patch cache: fix bug finding inherited packages (#29574)Greg Becker2-2/+25
2022-03-30keepassxc: adding version 2.6.6 and major release 2.7.0 (#29676)Olivier Cessenat1-0/+3
2022-03-30krb5: add v1.19.3, fix build on clang13 (#29683)Valentin Volkl1-0/+10
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-30goma: add v7.0.4 (#29685)Weston Ortiz1-0/+1
2022-03-30veccore: drop useless variants and switch to new repository location (#29678)Seth R. Johnson2-35/+22
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-30kallisto: add v0.48.0 (#29689)dlkuehn1-0/+1
Co-authored-by: David Kuehn <las_dkuehn@iastate.edu>
2022-03-30freebayes: add v1.3.6 (#29692)dlkuehn1-0/+1
Co-authored-by: David Kuehn <las_dkuehn@iastate.edu>
2022-03-30gcc: add missing dependencies (#29671)Tom Scogland1-0/+9
Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-03-30simmetrix-simmodsuite: add opencascade variant and version 16.0-220312 (#29759)Cameron Smith1-0/+39
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2022-03-30ftxui: add new package (#29724)Matthieu Dorier1-0/+16
2022-03-30py-m2r: constrain py-mistune to version 0.8.1 (#29608)Glenn Johnson1-1/+1
* py-m2r: constrain py-mistune to version 0.8.1 * Remove lower half of py-mistune version constraint
2022-03-30cgns: add maintainer (#29775)Greg Sjaardema1-0/+1
2022-03-30neko: add new package (#28791)Niclas Jansson1-0/+42
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2022-03-30proj: add v8.2.1, v8.2.0 and v8.1.1 (#29774)Thomas Dickerson1-0/+3
Version 9.0.0 drops Autotools support in favor of CMake and will presumably require larger changes to package.py
2022-03-30Flecsi: updated version semantic (#29780)Robert Pavel1-8/+13
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-30Add patch to fix compilation of boost with compilers not in path (#29718)Mikael Simberg2-0/+16
Co-authored-by: Mikael Simberg <mikael.simberg@iki.if>
2022-03-29r-quantreg: add v5.88 (#29621)Glenn Johnson1-0/+1
2022-03-29py-reportlab: add missing dependency on freetype (#29611)Glenn Johnson1-0/+5
* 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-29Trilinos: add linker flags to improve behavior (#29492)Seth R. Johnson1-3/+12
2022-03-29Support DASK backend in XARRAY. (#29726)Nichols A. Romero1-0/+2
* Support DASK backend in XARRAY. * Create XARRAY parallel variant with correct py-dask dependency.
2022-03-29Update cgns for new release (#29709)MicK71-1/+2
Add CGNS 4.3.0 version
2022-03-29ExaGO: add v1.4.0 and v1.4.1 (#29712)Asher Mancinelli2-29/+85
* 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-29cmake: use CMAKE_INSTALL_RPATH_USE_LINK_PATH (#29703)Harmen Stoppels2-31/+80
* 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-29cgns: add v4.3.0 (#29773)Greg Sjaardema1-0/+1
2022-03-29mochi-margo: add v0.9.8 (#29771)Matthieu Dorier1-0/+1
2022-03-29SUNDIALS: refactor CMake recipe (#29585)Seth R. Johnson1-181/+95
- 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-28cuda: add 11.6.2 (#29756)Carlos Bederián1-0/+4
2022-03-28spack info: make sections optional; add build/stand-alone test information ↵Tamara Dahlgren4-49/+191
(#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-28Convert git-over-ssh package URLs to canonical format (#29754)Thomas Dickerson3-3/+3
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-28spiner: fix +cuda (#29758)Richard Berger1-2/+2
2022-03-28Add ssh to filter of valid urls (#29749)John W. Parent1-1/+1
2022-03-28e4s ci spack.yaml: add h5bench (#29755)eugeneswalker1-0/+1
2022-03-28New package: spiner (#29719)Richard Berger1-0/+77
* 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-28Removed unneeded conflicts in CudaPackage and RocmPackage (#29699)Massimiliano Culpo2-8/+0
Since the variant is conditional there's no need to add conflicts too.
2022-03-28survey package: add versions 1.0.2/1.0.3; add tls model variant (#29375)Jim Galarowicz1-3/+16
2022-03-28ports-of-call: new version 1.1.0 (#29723)Richard Berger1-2/+2
Version 1.0.0 was uninstallable.
2022-03-28batchedblas: new package (#29028)FJ-NaokiMatsumura2-0/+52
2022-03-28gpi-space: add v22.03 (#29736)Max Zeyen1-0/+1
2022-03-28Adding NVIDIA HPC SDK 22.3 (#29737)Filippo Spiga1-0/+4
Co-authored-by: Filippo Spiga <fspiga@nvidia.com>
2022-03-28julia: add patch reverting llvm rpath changes (#29731)Harmen Stoppels2-0/+35
2022-03-28julia 1.6/1.7: constrain libgit2, libssh2 (#29728)Harmen Stoppels1-4/+8
2022-03-27py-torch: fix to build with fujitsu-ssl2 (#29283)FJ-NaokiMatsumura8-0/+544
* py-torch: fix build with fujitsu-ssl2 * fix to use fujitsu-ssl2 in py-torch v1.5.0 to v1.11.0 * fix to use fujitsu-ssl2 in py-torch v1.2.0 to v1.11.0 * Delete fj-ssl2.patch * renamed the patches * Rename fj-ssl2.1.5.patch to fj-ssl2_1.5.patch * Delete fj-ssl2_1.5.patch
2022-03-27mochi-thallium: new package (#29722)Matthieu Dorier1-0/+60
2022-03-27autotools doc: add missing right quote (#29734)百地 希留耶1-1/+1