summaryrefslogtreecommitdiff
path: root/var
AgeCommit message (Collapse)AuthorFilesLines
2024-09-22py-beautifulsoup4: added 4.12.3 (#46310)Jen Herting1-0/+1
2024-09-22gsmsh: add missing png, jpeg and zlib deps (#46395)Christophe Prud'homme1-0/+3
2024-09-22py-tensorflow: add GCC 13 conflict (#46435)Adam J. Stewart1-0/+1
2024-09-22py-sphinx-fortran: new package (#46401)Richard Berger1-0/+26
2024-09-22py-pyenchant: new package (#46400)Richard Berger1-0/+23
2024-09-22fftw: Apply fix for missing FFTW3LibraryDepends.cmake (#46477)Tuomas Koskela1-0/+5
2024-09-22py-horovod: support newer torch, gcc (#46432)Adam J. Stewart1-113/+56
2024-09-22py-linkchecker: new package (#46403)Richard Berger1-0/+27
2024-09-22py-fiona: add v1.10.1 (#46425)Adam J. Stewart1-0/+1
2024-09-22static-analysis-suite: delete: no longer available (#46519)Wouter Deconinck1-38/+0
2024-09-22py-nvidia-dali: update to v1.41.0 (#46369)Thomas Bouvier1-2/+26
* py-nvidia-dali: update to v1.41.0 * py-nvidia-dali: drop unnecessary 'preferred' attribute
2024-09-22fpart: Confirm license and c dependency (#46509)Derek Ryan Strong1-3/+2
2024-09-22bird: change url and checksums, add v2.15.1 (#46513)Wouter Deconinck1-4/+33
2024-09-22codec2: fix url; add v1.2.0 (#46514)Wouter Deconinck1-1/+11
2024-09-22grackle: fix url, checksums, deps and sbang (#46516)Wouter Deconinck1-8/+25
2024-09-22goblin-hmc-sim: fix url (#46515)Wouter Deconinck1-1/+1
2024-09-22yajl: fix url (#46518)Wouter Deconinck1-1/+1
2024-09-22shc: fix url (#46517)Wouter Deconinck1-1/+1
2024-09-22testdfsio: fix url and switch to be deprecated (#46520)Wouter Deconinck1-3/+7
2024-09-22evemu: fix url (#46521)Wouter Deconinck1-7/+8
2024-09-22py-falcon: fix url (#46522)Wouter Deconinck1-1/+1
2024-09-22py-cftime: fix url (#46523)Wouter Deconinck1-1/+1
2024-09-22tinker: add v8.7.2 (#46527)Wouter Deconinck1-1/+7
2024-09-22opendatadetector: Add an env variable pointing to the share directory (#46511)Juan Miguel Carceller1-1/+1
* opendatadetector: Add an env variable pointing to the share directory * Rename the new variable to OPENDATADETECTOR_DATA and use join_path --------- Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com>
2024-09-22geant4: Add a patch for twisted tubes (#45368)Juan Miguel Carceller2-0/+878
Co-authored-by: jmcarcell <jmcarcell@users.noreply.github.com>
2024-09-21py-onnxruntime: add v1.18.0 -> v1.18.3 and add ROCm support (#46448)afzpatel2-1/+115
* add ROCm support for py-onnxruntime * add new versions of py-onnxruntime * add review changes
2024-09-21Bazel: add GCC 13 support for v6 (#46430)Adam J. Stewart1-2/+13
* Bazel: add GCC 13 support for v6 * Fix offline builds
2024-09-21py-onnx: link to external protobuf (#46434)Adam J. Stewart1-1/+1
2024-09-21py-ruff: add v0.6.5 (#46459)Adam J. Stewart1-0/+1
2024-09-21py-cmocean: add v4.0.3 (#46454)Adam J. Stewart1-0/+4
2024-09-21Remove `spack.target` from code (#46503)Massimiliano Culpo8-18/+23
The `spack.target.Target` class is a weird entity, that is just needed to: 1. Sort microarchitectures in lists deterministically 2. Being able to use microarchitectures in hashed containers This PR removes it, and uses `archspec.cpu.Microarchitecture` directly. To sort lists, we use a proper `key=` when needed. Being able to use `Microarchitecture` objects in sets is achieved by updating the external `archspec`. Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2024-09-21cans: update homepage and url (#46488)Wouter Deconinck1-2/+2
2024-09-21chatterbug: update homepage and git (#46489)Wouter Deconinck1-2/+2
2024-09-20Introduce the bufr_query library from NOAA-EMC (#45920)Stephen Herbener1-0/+59
* Introduce the bufr_query library from NOAA-EMC (#461) This PR adds in a new package.py script for the new bufr_query library from NOAA-EMC. This is being used by JEDI and other applications. * Add explicit build dependency spec to the pybind11 depends_on spec Co-authored-by: Wouter Deconinck <wdconinc@gmail.com> * Convert patch file to the URL form which pulls the changes from github. Co-authored-by: Wouter Deconinck <wdconinc@gmail.com> * Added new version (0.0.3) and removed obsolete site-packages.patch file --------- Co-authored-by: Wouter Deconinck <wdconinc@gmail.com>
2024-09-20gcc: simplify setup_run_environment (#46505)Massimiliano Culpo1-26/+7
If the spec is external, it has extra attributes. If not, we know which names are used. In both cases we don't need to search again for executables. Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2024-09-20petsc@3.21 +rocm: add patches for rocm 6+ (#46486)eugeneswalker1-0/+10
2024-09-20gptune: don't make `git` attribute an Executable (#46492)Wouter Deconinck1-14/+11
* gptune: don't make `git` attribute an Executable * gptune: fine, I'll fix style myself then
2024-09-20Remove code from Compiler that is not used anymore (#45982)Massimiliano Culpo1-1/+1
Signed-off-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2024-09-19amr-wind: use CMAKE_CUDA_ARCHITECTURES (#46442)Jon Rood1-3/+1
2024-09-19py-pyogrio: add missing GDAL dependency (#46458)Adam J. Stewart1-0/+1
2024-09-19quantum-espresso: ensure no space in HDF5 lib variable (#46089)etiennemlb1-0/+5
* Ensure no space in HDF5 lib variable. * QE patch fix
2024-09-19bdw-gc: add v8.2.8 (#46286)Ivan Maidanski1-1/+2
2024-09-17Replace `if ... in spec` with `spec.satisfies` in h* and i* packages (#46387)Auriane R.50-215/+231
* Replace if ... in spec with spec.satisfies in h* packages * Replace if ... in spec with spec.satisfies in i* packages
2024-09-17variants: Unify metadata dictionaries to index by `when` (#44425)Todd Gamblin2-0/+35
Continuing the work started in #40326, his changes the structure of Variant metadata on Packages from a single variant definition per name with a list of `when` specs: ``` name: (Variant, [when_spec, ...]) ``` to a Variant definition per `when_spec` per name: ``` when_spec: { name: Variant } ``` With this change, everything on a package *except* versions is keyed by `when` spec. This: 1. makes things consistent, in that conditional things are (nearly) all modeled in the same way; and 2. fixes an issue where we would lose information about multiple variant definitions in a package (see #38302). We can now have, e.g., different defaults for the same variant in different versions of a package. Some notes: 1. This required some pretty deep changes to the solver. Previously, the solver's job was to select value(s) for a single variant definition per name per package. Now, the solver needs to: a. Determine which variant definition should be used for a given node, which can depend on the node's version, compiler, target, other variants, etc. b. Select valid value(s) for variants for each node based on the selected variant definition. When multiple variant definitions are enabled via their `when=` clause, we will always prefer the *last* matching definition, by declaration order in packages. This is implemented by adding a `precedence` to each variant at definition time, and we ensure they are added to the solver in order of precedence. This has the effect that variant definitions from derived classes are preferred over definitions from superclasses, and the last definition within the same class sticks. This matches python semantics. Some examples: ```python class ROCmPackage(PackageBase): variant("amdgpu_target", ..., when="+rocm") class Hipblas(ROCmPackage): variant("amdgpu_target", ...) ``` The global variant in `hipblas` will always supersede the `when="+rocm"` variant in `ROCmPackage`. If `hipblas`'s variant was also conditional on `+rocm` (as it probably should be), we would again filter out the definition from `ROCmPackage` because it could never be activated. If you instead have: ```python class ROCmPackage(PackageBase): variant("amdgpu_target", ..., when="+rocm") class Hipblas(ROCmPackage): variant("amdgpu_target", ..., when="+rocm+foo") ``` The variant on `hipblas` will win for `+rocm+foo` but the one on `ROCmPackage` will win with `rocm~foo`. So, *if* we can statically determine if a variant is overridden, we filter it out. This isn't strictly necessary, as the solver can handle many definitions fine, but this reduces the complexity of the problem instance presented to `clingo`, and simplifies output in `spack info` for derived packages. e.g., `spack info hipblas` now shows only one definition of `amdgpu_target` where before it showed two, one of which would never be used. 2. Nearly all access to the `variants` dictionary on packages has been refactored to use the following class methods on `PackageBase`: * `variant_names(cls) -> List[str]`: get all variant names for a package * `has_variant(cls, name) -> bool`: whether a package has a variant with a given name * `variant_definitions(cls, name: str) -> List[Tuple[Spec, Variant]]`: all definitions of variant `name` that are possible, along with their `when` specs. * `variant_items() -> `: iterate over `pkg.variants.items()`, with impossible variants filtered out. Consolidating to these methods seems to simplify the code a lot. 3. The solver does a lot more validation on variant values at setup time now. In particular, it checks whether a variant value on a spec is valid given the other constraints on that spec. This allowed us to remove the crufty logic in `update_variant_validate`, which was needed because we previously didn't *know* after a solve which variant definition had been used. Now, variant values from solves are constructed strictly based on which variant definition was selected -- no more heuristics. 4. The same prevalidation can now be done in package audits, and you can run: ``` spack audit packages --strict-variants ``` This turns up around 18 different places where a variant specification isn't valid given the conditions on variant definitions in packages. I haven't fixed those here but will open a separate PR to iterate on them. I plan to make strict checking the defaults once all existing package issues are resolved. It's not clear to me that strict checking should be the default for the prevalidation done at solve time. There are a few other changes here that might be of interest: 1. The `generator` variant in `CMakePackage` is now only defined when `build_system=cmake`. 2. `spack info` has been updated to support the new metadata layout. 3. split out variant propagation into its own `.lp` file in the `solver` code. 4. Add better typing and clean up code for variant types in `variant.py`. 5. Add tests for new variant behavior.
2024-09-17untangle spack.config / spack.util.cpus & spack.spec (#46427)Harmen Stoppels1-1/+0
2024-09-16kokkos, kokkos-kernels, kokkos-nvcc-wrapper: add v4.4.01 (#46377)Satish Balay4-1/+5
* kokkos, kokkos-kernels, kokkos-nvcc-wrapper: add v4.4.01 * trilinos: update @[master,develop] dependency on kokkos ==> Error: InstallError: For Trilinos@[master,develop], ^kokkos version in spec must match version in Trilinos source code. Specify ^kokkos@4.4.01 for trilinos@[master,develop] instead of ^kokkos@4.4.00.
2024-09-16lammps-example-plugin: add new versions, fix bug (#46331)Richard Berger1-5/+11
2024-09-16nghttp2: add v1.62.1, v1.63.0 (#46358)Wouter Deconinck1-0/+3
2024-09-16libxslt: add through v1.1.42 (now at gnome.org) (#46364)Wouter Deconinck1-6/+24
* libxslt: add through v1.1.42 (now at gnome.org) * libxslt: add v1.1.35 (apparently forgotten)
2024-09-16libedit: add v3.1-20240517, v3.1-20240808 (#46366)Wouter Deconinck1-2/+8