summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-10-26cppunit: add static/shared variant, add version 1.15_20220904 (#33522)iarspider2-2/+39
2022-10-26opencascade: new version 7.6.3 (#33518)Wouter Deconinck1-0/+5
* opencascade: new version 7.6.3 * opencascade: correct hash for 7.6.3 Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
2022-10-26CLHEP: Add checksum for clhep 2.4.5.4, 2.4.6.0; cleanup recipe (#33521)iarspider1-0/+7
* CLHEP: patching of CMake policy not needed for new-ish versions * Add checksum for clhep 2.4.5.4, 2.4.6.0; cleanup recipe
2022-10-26libcatalyst: add 2.0.0-rc3 release (#33322)Ben Boeckel1-0/+3
2022-10-26Windows: fix bootstrap and package install failure (#32942)百地 希留耶5-1/+52
* Add patches for building clingo with MSVC * Help python find clingo DLL * If an executable is located in "C:\Program Files", Executable was running into issues with the extra space. This quotes the exe to ensure that it is treated as a single value. Signed-off-by: Kiruya Momochi <65301509+KiruyaMomochi@users.noreply.github.com>
2022-10-26slepc: fix for slepc+cuda ^petsc+kokkos+cuda ^kokkos+cuda+wrapper (#33529)Satish Balay1-1/+9
kokkos wrappers modify mpicxx - breaking slepc build.
2022-10-26new version (#33537)Miroslav Stoyanov1-1/+2
2022-10-26gitlab ci: show build machine info (#33523)Harmen Stoppels17-0/+49
2022-10-26Allow for packages with multiple build-systems (#30738)Massimiliano Culpo155-3573/+7465
This commit extends the DSL that can be used in packages to allow declaring that a package uses different build-systems under different conditions. It requires each spec to have a `build_system` single valued variant. The variant can be used in many context to query, manipulate or select the build system associated with a concrete spec. The knowledge to build a package has been moved out of the PackageBase hierarchy, into a new Builder hierarchy. Customization of the default behavior for a given builder can be obtained by coding a new derived builder in package.py. The "run_after" and "run_before" decorators are now applied to methods on the builder. They can also incorporate a "when=" argument to specify that a method is run only when certain conditions apply. For packages that do not define their own builder, forwarding logic is added between the builder and package (methods not found in one will be retrieved from the other); this PR is expected to be fully backwards compatible with unmodified packages that use a single build system.
2022-10-26py-torchmetrics: add v0.10.1 (#33535)Adam J. Stewart1-0/+1
2022-10-26pflotran: fix build errors with gfortran@10: (#33527)Satish Balay1-0/+5
>> 38 Error: Rank mismatch between actual argument at (1) and actual argument at (2) (scalar and rank-1)
2022-10-26petsc, py-petsc4py: add 3.18.1 (#33525)Satish Balay2-0/+2
2022-10-26Updating package file for osu-micro-benchmarks for the 6.2 release (#33512)MatthewLieber1-1/+2
* Updating package file for osu-micro-benchmarks for the 6.2 release * updating sha hash for 6.2 tarball Co-authored-by: natshineman <shineman.5@osu.edu>
2022-10-26[mochi-margo] added version 0.10 (#33519)Matthieu Dorier1-0/+1
2022-10-26Add netcdf-c 4.9.0 and netcdf-fortran 4.6.0 (supersedes #31953) (#33514)Dom Heinzeller2-1/+21
* Add netcdf-c 4.9.0 and netcdf-fortran 4.6.0 With v4.9.0 netcdf-c introduces zstandard compression option which is added as a variant. * Fix when= in dependency * Turn on variant zstd by default Co-authored-by: kgerheiser <kgerheiser@icloud.com>
2022-10-26alquimia, pflotran, plasma, py-mpi4py, strumpack - add in new versions (#33447)Satish Balay5-2/+15
* alquimia, pflotran, plasma, py-mpi4py, strumpack - add in new versions * Fix hip CI failure Co-authored-by: eugeneswalker <eugenesunsetwalker@gmail.com>
2022-10-26fix use of non-existing kwarg (#33520)Harmen Stoppels1-1/+1
2022-10-26Relocation regex single pass (#33496)Harmen Stoppels3-21/+36
Instead of looping over multiple regexes and the entire text file contents, create a giant regex with all literal prefixes and do a single pass over files to detect prefixes. Not only is a single pass faster, it's also likely that the regex is compiled better, given that most prefixes share a common ... prefix.
2022-10-26gitlab ci: install binary deps faster (#33248)Harmen Stoppels19-40/+141
* Fast Gitlab CI job setup, and better legibility * Use a non-broken, recent GNU Make
2022-10-25dfs traversal: simplify edges in reverse mode (#33481)Harmen Stoppels1-27/+26
In the dfs code, flip edges so that `parent` means `from` and `spec` means `to` in the direction of traversal. This makes it slightly easier to write generic/composable code. For example when using visitors where one visitor reverses direction, and another only cares about accepting particular edges or not depending on whether the target node is seen before, it would be good if the second visitor didn't have to know whether the order was changed or not.
2022-10-25elfutils: add version 0.187 (#33419)Mark W. Krentel1-2/+9
* elfutils: add version 0.187 * Move conflict for debuginfod to variant when clause. * Add myself as maintainer.
2022-10-25Scotch: 'link_error_lib' variant - Link error handling library to ↵MichaelLaufer3-1/+28
libscotch/libptscotch (#33297)
2022-10-25New packages: mlst, any2fasta, perl-carp, perl-class-method-modifiers, ↵Luke Diorio-Toth7-0/+157
perl-role-tiny, perl-moo, perl-sub-quote (#33274) * added mlst and deps * added install() to any2fasta * added script dependencies, builds OK * fixed style * Update var/spack/repos/builtin/packages/any2fasta/package.py Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
2022-10-25binary_distribution: compress level 9 -> 6 (#33513)Harmen Stoppels1-1/+5
Use the same compression level as `gzip` (6) instead of what Python uses (9). The LLVM tarball takes 4m instead of 12m to create, and is <1% larger. That's not worth the wait...
2022-10-25udunits: Update download URL (#32390)Rémi Lacroix1-4/+19
* udunits: Update download URL * udunits: Deprecate older versions Unidata now only provides the latest version of each X.Y branch. Older 2.2 versions have been deprecated accordingly but are still available in the build cache. Co-authored-by: RemiLacroix-IDRIS <RemiLacroix-IDRIS@users.noreply.github.com> Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
2022-10-25Update wgrib2 from JCSDA/NOAA-EMC fork (#32857)Dom Heinzeller1-14/+189
* Update wgrib2 from JCSDA/NOAA-EMC fork * var/spack/repos/builtin/packages/wgrib2/package.py: fix typo in comment, add conflict for variants netcdf3, netcdf4 * wget hdf5/netcdf4 internal dependencies for wgrib2 * Black-format var/spack/repos/builtin/packages/wgrib2/package.py * More format changes in var/spack/repos/builtin/packages/wgrib2/package.py
2022-10-25depfile: resurrect lost touch (#33504)Harmen Stoppels1-0/+3
2022-10-25feature: Add -x|--explicit option to 'spack test run' (#32910)Tamara Dahlgren3-7/+21
2022-10-25BinaryCacheIndex: track update failures with cooldown (#33509)Jonathon Anderson1-6/+12
#32137 added an option to update() a BinaryCacheIndex with a cooldown: repeated attempts within this cooldown would not actually retry. However, the cooldown was not properly tracked for failures (which is common when the mirror does not store any binaries and therefore has no index.json). This commit ensures that update(..., with_cooldown=True) will also skip the update even if a failure has occurred within the cooldown period.
2022-10-25Gmsh: Fix CGNS support for version up to 4.7.1 (#33508)Rémi Lacroix1-0/+1
Gmsh started supporting the "scoping" option of CGNS in version 4.8.0.
2022-10-25spec.py: prefer transitive link and direct build/run/test deps (#33498)Harmen Stoppels2-2/+48
Due to reuse concretization, we may generate DAGs with two occurrences of the same package corresponding to distinct specs. This happens when build dependencies are reused, since their dependencies are ignored in concretization. This caused a regression, for example: `spec['openssl']` would take the 'openssl' of the build dep `cmake`, instead of the direct `openssl` dependency, simply because the edge to `cmake` was traversed first and we do depth first traversal. One solution that was discussed is to limit `spec[name]` to just direct deps, or direct deps + transitive link deps, but this is too breaking. Instead, this PR simply prioritizes transitive link and direct build/run/test deps, and then falls back to a full DAG traversal. So, it's just about order of iteration.
2022-10-25Update Spack Dockerfiles (#33500)Massimiliano Culpo3-3/+2
* Use spack bootstrap now in containers * Fix wrong path glob expression
2022-10-25Make CI on Windows fail fast (#33502)Massimiliano Culpo1-2/+2
2022-10-25Remove recursive symbolic link in lib/spack/docs from git repository (#33483)Massimiliano Culpo6-16/+3
Delete code removing the symlink during CI
2022-10-25Improve legibility of Gitlab CI (#33482)Harmen Stoppels19-21/+21
Use --backtrace in ci instead of --debug to reduce verbosity and don't show log on error, since log is already printed
2022-10-25CI: speed-up tests by dropping coverage on Python 2.7 (#33497)Massimiliano Culpo1-6/+6
2022-10-25cdo: add new release 2.1.0 (#33303)Brian Spilner1-0/+5
2022-10-24fix problems with missing rocm dependencies (#33381)Miroslav Stoyanov1-1/+37
2022-10-24Add py-myst-parser & update py-mdit-py-plugins and py-sphinxcontrib-mermaid ↵Zach Jibben4-4/+64
(#33427) * Update py-sphinxcontrib-mermaid * Add py-myst-parser * Fix py-mdit-py-plugins and py-myst-parser dependencies * Add py-exhale package * Update var/spack/repos/builtin/packages/py-mdit-py-plugins/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-myst-parser/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-myst-parser/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update var/spack/repos/builtin/packages/py-myst-parser/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> * Update py-exhale and py-myst-parser dependencies * Add @svenevs as py-exhale maintainer * Update var/spack/repos/builtin/packages/py-mdit-py-plugins/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-10-24e4s ci: use an appropriate name for cdash build group name (#33494)eugeneswalker1-1/+1
2022-10-24Add filename to text_to_relocate only if it needs to be relocated (#31074)iarspider5-8/+81
Scan the text files for relocatable prefixes *before* creating a tarball, to reduce the amount of work to be done during install from binary cache. Co-authored-by: Harmen Stoppels <harmenstoppels@gmail.com>
2022-10-24cppcheck: add version 2.9 (#33491)Jon Rood1-0/+1
2022-10-24update fms package for v2022.04 (#33484)Ryan Mulhall1-1/+2
Co-authored-by: rem1776 <Ryan.Mulhall@noaa.gov>
2022-10-24redact line numbers from grouped exception message (#33485)Danny McClanahan1-4/+8
2022-10-24e4s ci: add chai +rocm (#32506)eugeneswalker1-1/+3
2022-10-24chai +rocm: use hipcc as CMAKE_CXX_COMPILER (#33479)eugeneswalker1-0/+7
2022-10-24py-drep and ANIcalculator: new packages (#33467)Luke Diorio-Toth2-0/+79
* py-drep: new package * fixed file extension * added darwin conflict * py-checkm-genome and py-pysam: bumped version and updated deps (#10) added checkm and pysam deps * added dep documentation and fixed style * changed checkm and pysam back to dev version for upstreaming * added url and perl run dep * fixed style
2022-10-24locks: improved errors (#33477)Harmen Stoppels6-12/+59
Instead of showing ``` ==> Error: Timed out waiting for a write lock. ``` show ``` ==> Error: Timed out waiting for a write lock after 1.200ms and 4 attempts on file: /some/file ``` s.t. we actually get to see where acquiring a lock failed even when not running in debug mode. And use pretty time units everywhere, so we don't get 1.45e-9 seconds but 1.450ns etc.
2022-10-23backtraces with --backtrace (#33478)Harmen Stoppels2-2/+10
* backtraces without --debug Currently `--debug` is too verbose and not-`--debug` gives to little context about where exceptions are coming from. So, instead, it'd be nice to have `spack --backtrace` and `SPACK_BACKTRACE=1` as methods to get something inbetween: no verbose debug messages, but always a full backtrace. This is useful for CI, where we don't want to drown in debug messages when installing deps, but we do want to get details where something goes wrong if it goes wrong. * completion
2022-10-23py-gcovr: add 5.2 (#33476)Michael Kuhn1-2/+7