summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2023-11-02go/rust bootstrap: no versions if unsupported arch (#40841)Harmen Stoppels2-2/+2
The lookup in a dictionary causes KeyError on package load for unsupported architectures such as i386 and ppc big endian.
2023-11-02spack external find: fix multi-arch troubles (#33973)Harmen Stoppels3-16/+98
2023-11-02env remove: add a unit test removing two environments (#40814)Tamara Dahlgren1-11/+40
2023-11-02openscenegraph: support more file formats (#39897)Martin Aumüller2-20/+127
2023-11-01Cherry-picking virtual dependencies (#35322)Massimiliano Culpo29-153/+1126
This PR makes it possible to select only a subset of virtual dependencies from a spec that _may_ provide more. To select providers, a syntax to specify edge attributes is introduced: ``` hdf5 ^[virtuals=mpi] mpich ``` With that syntax we can concretize specs like: ```console $ spack spec strumpack ^[virtuals=mpi] intel-parallel-studio+mkl ^[virtuals=lapack] openblas ``` On `develop` this would currently fail with: ```console $ spack spec strumpack ^intel-parallel-studio+mkl ^openblas ==> Error: Spec cannot include multiple providers for virtual 'blas' Requested 'intel-parallel-studio' and 'openblas' ``` In package recipes, virtual specs that are declared in the same `provides` directive need to be provided _together_. This means that e.g. `openblas`, which has: ```python provides("blas", "lapack") ``` needs to provide both `lapack` and `blas` when requested to provide at least one of them. ## Additional notes This capability is needed to model compilers. Assuming that languages are treated like virtual dependencies, we might want e.g. to use LLVM to compile C/C++ and Gnu GCC to compile Fortran. This can be accomplished by the following[^1]: ``` hdf5 ^[virtuals=c,cxx] llvm ^[virtuals=fortran] gcc ``` [^1]: We plan to add some syntactic sugar around this syntax, and reuse the `%` sigil to avoid having a lot of boilerplate around compilers. Modifications: - [x] Add syntax to interact with edge attributes from spec literals - [x] Add concretization logic to be able to cherry-pick virtual dependencies - [x] Extend semantic of the `provides` directive to express when virtuals need to be provided together - [x] Add unit-tests and documentation
2023-11-01edm4hep: Add 0.10.1 tag and update maintainers (#40829)Thomas Madlener1-1/+2
* edm4hep: add latest tag * edm4hep: Add myself as maintainer
2023-11-01ceres-solver: adding version 2.2.0 (#40824)snehring1-2/+17
* ceres-solver: adding version 2.2.0 * ceres-solver: adding suite-sparse dep
2023-11-01vcftools: add v0.1.16 (#40805)snehring1-1/+10
* vcftools: adding new version 0.1.16 * Update var/spack/repos/builtin/packages/vcftools/package.py Co-authored-by: Alec Scott <alec@bcs.sh> --------- Co-authored-by: Alec Scott <alec@bcs.sh>
2023-11-01py-matplotlib: add v3.8.1 (#40819)Adam J. Stewart1-2/+7
2023-11-01libCEED v0.12.0, Ratel v0.3.0 (#40822)Jeremy L Thompson2-0/+4
* ratel - add v0.3.0 * libceed - add version 0.12.0
2023-11-01pika: Add 0.20.0 (#40817)Mikael Simberg1-0/+1
2023-11-01heffte: add v2.4.0 (#40741)Miroslav Stoyanov2-50/+22
* update the heffte versions * remove obsolete patch files * update testing * style * restore version (unknown reason) * restore old patch * change the syntax * [@spackbot] updating style on behalf of mkstoyanov * missed one * style
2023-11-01pflotran: add version 5.0.0 (#40828)Satish Balay3-2/+6
alquimia: add version 1.1.0 And fix alquimia@master
2023-11-01build(deps): bump black in /.github/workflows/style (#40681)dependabot[bot]1-1/+1
Bumps [black](https://github.com/psf/black) from 23.9.1 to 23.10.1. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/23.9.1...23.10.1) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-11-01changelog: add 0.20.2 and 0.20.3 changes (#40818)Harmen Stoppels1-0/+30
2023-11-01hiop: fix cuda constraints and add tag to versions (#40721)Cameron Rutherford1-30/+43
* hiop: fix cuda constraints and add tag to versions * hiop: fix styling
2023-11-01superlu-dist: -std=c99 prevents usage of putenv() (#40729)Satish Balay1-2/+0
2023-11-01amrex: add v23.11 (#40821)Weiqun Zhang1-0/+1
2023-11-01petsc, py-petsc4py: add v3.20.1 (#40794)Satish Balay2-0/+2
2023-11-01butterflypack: add version 2.4.0 (#40826)Satish Balay1-0/+1
2023-11-01LBANN: add explicit variant for shared builds (#40808)Brian Van Essen1-0/+11
2023-11-01Add 2.33 to tau (#40810)wspear1-0/+1
2023-11-01podio: Add latest tags and variants and update dependencies accordingly (#40182)Thomas Madlener1-5/+32
* Make sure sio is in dependent build env for podio * podio: Fix likely(?) typo in root dependency * podio: Add latest tag and new variants + dependencies * podio: Add v00-16-07 tag * podio: Fix dependencies flagged by package audit * podio: Simplify root dependency * podio: Add 0.17.1 tag
2023-11-01fix: sentence framing (#40809)Bilal Mirza1-1/+1
2023-11-01Executable.add_default_arg: multiple (#40801)Harmen Stoppels6-13/+8
2023-11-01Parser: fix ambiguity with whitespace in version ranges (#40344)Harmen Stoppels2-14/+27
Allowing white space around `:` in version ranges introduces an ambiguity: ``` a@1: b ``` parses as `a@1:b` but should really be parsed as two separate specs `a@1:` and `b`. With white space disallowed around `:` in ranges, the ambiguity is resolved.
2023-11-01`SetupContext.get_env_modifications` fixes and documentation (#40683)Harmen Stoppels3-74/+83
Call setup_dependent_run_environment on both link and run edges, instead of only run edges, which restores old behavior. Move setup_build_environment into get_env_modifications Also call setup_run_environment on direct build deps, since their run environment has to be set up.
2023-11-01Revert python build isolation & setuptools source install (#40796)Harmen Stoppels3-163/+208
* Revert "Improve build isolation in PythonPipBuilder (#40224)" This reverts commit 0f43074f3e93d13445ea662a13f5672f960947c2. * Revert "py-setuptools: sdist + rpath patch backport (#40205)" This reverts commit 512e41a84aa794ec0cc53872aaa6c228c36e0b49.
2023-11-01Fix env remove indentation (#40811)Tamara Dahlgren1-21/+19
2023-10-31Enable address sanitizer in rocm's llvm-amdgpu package. (#40570)Sreenivasa Murthy Kolam2-1/+46
* enable address sanitizer in rocm's llvm-amdgpu package * remove references to 5.7.0 for now * fix style error * address review comments
2023-10-31fix create/remove env with invalid spack.yaml (#39898)Luisa Burini3-30/+60
* fix create/remove env with invalid spack.yaml * fix isort error * fix env ident unittests * Fix pull request points
2023-10-31beatnik: mall changes for v1.0 (#40726)Patrick Bridges2-3/+2
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2023-10-31force color in subshell if not SPACK_COLOR (#40782)Harmen Stoppels1-4/+4
2023-10-31PyTorch: build with external gloo (#40759)Adam J. Stewart3-12/+21
* PyTorch: build with external gloo * Fix gloo compilation with GCC 11 * undeprecate * py-torch+cuda+gloo requires gloo+cuda
2023-10-31Update sperr (#40626)Samuel Li2-15/+26
* update SPERR package * remove blank line * update SPERR to be version 0.7.1 * a little clean up * bound versions that require zstd * add USE_ZSTD * add libpressio-sperr version upbound * update libpressio-sperr * address review comments * improve format --------- Co-authored-by: Samuel Li <Sam@Navada> Co-authored-by: Samuel Li <sam@cisl-m121a>
2023-10-31Fix cflags requirements (#40639)Peter Scheibel2-13/+22
2023-10-31TAU: Added dyninst variant (#40790)jalcaraz1-0/+12
* Added dyninst variant * Added dyninst variant and fixed some issues * Update package.py * Removed whitespace * Update package.py * Update package.py * Fixed conflicting version --------- Co-authored-by: eugeneswalker <38933153+eugeneswalker@users.noreply.github.com>
2023-10-31add new recipe for rocm packages- amdsmi (#39270)Sreenivasa Murthy Kolam1-0/+49
* add new recipe for rocm packages- amdsmilib * update tags,maintainers list
2023-10-31Fix interaction of spec literals that propagate variants with unify:false ↵Massimiliano Culpo5-1/+91
(#40789) * Add tests to ensure variant propagation syntax can round-trip to/from string * Add a regression test for the bug in 35298 * Reconstruct the spec constraints in the worker process Specs do not preserve any information on propagation of variants when round-tripping to/from JSON (which we use to pickle), but preserve it when round-tripping to/from strings. Therefore, we pass a spec literal to the worker and reconstruct the Spec objects there.
2023-10-31spack checksum: improve signature (#40800)Harmen Stoppels1-3/+9
2023-10-31Seacas: Update for latest seacas releaes version (#40698)Greg Sjaardema1-3/+8
2023-10-31spack checksum: fix error when initial filter yields empty list (#40799)Harmen Stoppels1-6/+5
2023-10-31ci: bump tutorial image and toolchain (#40795)Harmen Stoppels2-8/+8
2023-10-31tutorial: replace zlib -> gmake to avoid deprecated versions (#40769)Harmen Stoppels1-13/+8
2023-10-30Added NVML and cgroup support to the slurm package (#40638)G-Ragghianti2-0/+22
* Added NVML support to the slurm package * dbus package is required for cgroup support * Fixing formatting * Style fix * Added PAM support * Added ROCm SMI support
2023-10-30docs: update `license()` docs with examples and links (#40598)Todd Gamblin2-11/+45
- [x] Add links to information people are going to want to know when adding license information to their packages (namely OSI licenses and SPDX identifiers). - [x] Update the packaging docs for `license()` with Spack as an example for `when=`. After all, it's a dual-licensed package that changed once in the past. - [x] Add link to https://spdx.org/licenses/ in the `spack create` boilerplate as well.
2023-10-30selalib: add (sca)lapack dependency (#40667)Freifrau von Bleifrei1-0/+2
* selalib: add (sca)lapack dependency * selalib: change when "-mpi" to "~mpi"
2023-10-30dd4hep: Add tag for version 1.27 (#40776)Thomas Madlener1-0/+1
2023-10-30Add hdf5 version 1.14.3. (#40786)Larry Knox1-2/+12
Add hdf5 version 1.10.11. Update version condition for adding h5pfc->h5fc symlink. File h5pfc exists in versions 1.10.10 and 1.10.22.
2023-10-31build(deps): bump black from 23.9.1 to 23.10.1 in /lib/spack/docs (#40680)dependabot[bot]1-1/+1
Bumps [black](https://github.com/psf/black) from 23.9.1 to 23.10.1. - [Release notes](https://github.com/psf/black/releases) - [Changelog](https://github.com/psf/black/blob/main/CHANGES.md) - [Commits](https://github.com/psf/black/compare/23.9.1...23.10.1) --- updated-dependencies: - dependency-name: black dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>