summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-09-16CI: add coverage on Windows (#32610)Massimiliano Culpo1-6/+21
Co-authored-by: Tom Scogland <scogland1@llnl.gov>
2022-09-16bugfix: package hash should affect process, dag, and dunder hashes (#32516)Todd Gamblin5-1/+40
This fixes a bug where two installations that differ only by package hash will not show up in `spack find`. The bug arose because `_cmp_node` on `Spec` didn't include the package hash in its yielded fields. So, any two `Spec` objects that were only different by package hash would appear to be equal and would overwrite each other when inserted into the same `dict`. Note that we could still *install* specs with different package hashes, and they would appear in the database, but we code that needed to put them into data structures that use `__hash__` would have issues. This PR makes `Spec.__hash__` and `Spec.__eq__` include the `process_hash()`, and it makes `Spec._cmp_node` include the package hash. All of these *should* include all information in a spec so that we don't end up in a situation where we are blind to particular field differences. Eventually, we should unify the `_cmp_*` methods with `to_node_dict` so there aren't two sources of truth, but this needs some thought, since the `_cmp_*` methods exist for speed. We should benchmark whether it's really worth having two types of hashing now that we use `json` instead of `yaml` for spec hashing. - [x] Add `package_hash` to `Spec._cmp_node` - [x] Add `package_hash` to `spack.solve.asp.spec_clauses` so that the `package_hash` will show up in `spack diff`. - [x] Add `package_hash` to the `process_hash` (which doesn't affect abstract specs but will make concrete specs correct) - [x] Make `_cmp_iter` report the dag_hash so that no two specs with different process hashes will be considered equal.
2022-09-15adding butterflypack 2.2.0 (#32670)liuyangzhuan1-1/+2
2022-09-15New package: xrdcl-record (#32663)iarspider1-0/+20
* New package: xrdcl-record * Flake-8
2022-09-15Fenicsx v0.5.0 (#32611)Matthew Archer7-7/+45
* initial commit of 0.5.0 changes * updated dependencies * updated ffcx sha * comment style * llvm compilers * introduce pugixml dependency for 0.5.0: * update compilers to support C++20 features * style fixes * xtensor and xtl not needed for basix 0.5.0 and above * Skip to Basix 0.5.1 The 0.5.1 release removes the C++ build dependency on Python that sneaked into the 0.5.0 build system. * Improve depends on version ranges * More dependency version improvements Co-authored-by: Chris Richardson <chris@bpi.cam.ac.uk> Co-authored-by: Garth N. Wells <gnw20@cam.ac.uk>
2022-09-15added missing dependency for py-msgpack that breaks neovim (#32631)Robert Underwood1-1/+2
* added missing dependency for py-msgpack that breaks neovim * Update var/spack/repos/builtin/packages/py-pynvim/package.py Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com> Co-authored-by: Robert Underwood <runderwood@anl.gov> Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-09-15FPLO: add new package (#32580)Glenn Johnson6-0/+373
2022-09-14[py-pip] fix setup_dependent_package in py-pip (#32632)Matthieu Dorier1-1/+1
2022-09-14libcatalyst: use git instead of fixed urls (#32642)Vicente Bolea1-8/+2
The issue is that we are not not able to install (Fetch URL error) any version of catalyst other than the specified in the spack package.py. This very version is accessible only because it is cached by Spack. The real URL does not exist anymore, I believe the reason is that there used to be a tag in catalyst that does not exist anymore.
2022-09-14Bugfix: find_libraries (#32653)John W. Parent2-9/+32
53a7b49 created a reference error which broke `.libs` (and `find_libraries`) for many packages. This fixes the reference error and improves the testing for `find_libraries` by actually checking the extension types of libraries that are retrieved by the function.
2022-09-14Manifest parsing: skip invalid manifest files (#32467)Peter Scheibel3-4/+57
* catch json schema errors and reraise as property of SpackError * no need to catch subclass of given error * Builtin json library for Python 2 uses more generic type * Correct instantiation of SpackError (requires a string rather than an exception) * Use exception chaining (where possible)
2022-09-14llvm: fix detection of LLDB_PYTHON_EXE_RELATIVE_PATH (#32584)Sergey Kosukhin2-0/+35
2022-09-14Allow version to accept the '=' token without activating lexer switch (#32257)psakievich2-54/+126
2022-09-14py-awkward: allow newer, fixed rapidjson versions (#32650)Valentin Volkl1-1/+1
Rapidjson was constrained due to a bug (see https://github.com/spack/spack/pull/29889) , but newer (although untagged) versions of rapidjson have since been added to spack (https://github.com/spack/spack/pull/29869). Tested the build of py-awkward with the latest, works fine.
2022-09-14Add checksum for yoda 1.9.6 (#32648)iarspider1-0/+1
2022-09-14[py-pyprecice] add v2.5.0.0 and v2.5.0.1 and update checksum of v2.4.0.0 ↵Ishaan Desai1-11/+18
(#32551) * Update versions 2.5.0.0 and 2.5.0.1 * Applying review changes * Updating incorrect checksum for v2.4.0.0 * Add for loop to define depends_on for preCICE versions and bindings versions * Formatting * Missing comma
2022-09-14compadre: add v1.5.0, v1.4.1 (#32609)Paul Kuberry1-6/+14
2022-09-14Add hdf5-vol-async v1.3 (#32634)Houjun Tang1-0/+1
2022-09-14py-pytorch-lightning: add v1.7.6 (#32644)Adam J. Stewart1-0/+1
2022-09-14py-tokenize-rt: add missing setuptools dependency (#32639)Adam J. Stewart1-0/+1
2022-09-14phist: add v1.9.5 (#32621)Jonas Thies2-17/+9
2022-09-13berkeley-db: Correct TLS auto-detection (#32592)Erik Schnetter2-0/+29
2022-09-14Revert "e4s ci: restore power builds (#32296)" (#32633)Zack Galbreath3-463/+290
This reverts commit 0d18c32bca8398e2daa736a940154caa235cbacc.
2022-09-13json-glib: add pkgconfig dependency (#32638)Adam J. Stewart1-0/+1
2022-09-13graphite2: fix build on macOS (#32636)Adam J. Stewart1-0/+7
2022-09-13New package: py-qiskit-nature (#32628)João Seródio1-0/+29
2022-09-13add ability to disable werror for rocksdb (#32618)Robert Underwood1-0/+4
* add ability to disable werror for rocksdb * Update var/spack/repos/builtin/packages/rocksdb/package.py Co-authored-by: Robert Underwood <runderwood@anl.gov> Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
2022-09-14Update module_file_support.rst (#32629)Sam Broderick1-1/+1
Missing lead in "This may to inconsistent modulfiles if..."
2022-09-13packages/phist: new version 1.10 (#32581)Jonas Thies1-0/+9
* packages/phist: new version 1.10 * fix (and narrow) conflicts, thanks @glennpj
2022-09-13Add libraqm package; enable in py-pillow (#32619)Ondřej Čertík2-1/+25
* Add libraqm package * py-pillow: Add optional raqm dependency/variant * Use sha256 * Use " instead of ' * Use more explicit import * Only add raqm from @8.4.0: * Make the docstring shorter to satisfy flake * Add conflict, silence warning, adjust version Co-authored-by: Adam J. Stewart <ajstewart426@gmail.com>
2022-09-13Parsec: v3.0.2209 (#32617)Aurelien Bouteiller1-0/+5
Signed-off-by: Aurelien Bouteiller <bouteill@icl.utk.edu> Signed-off-by: Aurelien Bouteiller <bouteill@icl.utk.edu>
2022-09-13gromacs: add 2022.3 (#32624)Carlos Bederián1-0/+1
2022-09-13fix depends on versioning (#32626)Chris White1-8/+8
2022-09-13Windows rpath support (#31930)John W. Parent15-46/+277
Add a post-install step which runs (only) on Windows to modify an install prefix, adding symlinks to all dependency libraries. Windows does not have the same concept of RPATHs as Linux, but when resolving symbols will check the local directory for dependency libraries; by placing a symlink to each dependency library in the directory with the library that needs it, the package can then use all Spack-built dependencies. Note: * This collects dependency libraries based on Package.rpath, which includes only direct link dependencies * There is no examination of libraries to check what dependencies they require, so all libraries of dependencies are symlinked into any directory of the package which contains libraries
2022-09-13unifyfs & gotcha: new releases (#32625)Cameron Stanavige2-20/+26
UnifyFS: - Add 1.0 release - Deprecate older, unsupported versions - Set fortran variant to true by default - Update gotcha and mochi-margo dependency versions for unifyfs@1.0 and unifyfs@develop - Add conflict of unifyfs with libfabric 1.13.* versions - Update configure_args to use helper functions GOTCHA: Hasn't been under active development for a couple years but the develop branch has some fixes UnifyFS uses. To avoid having UnifyFS v1.0 depend on a develop branch of a dependency, this creates a new release in the Gotcha Spack package based on the most recent commit of the develop branch.
2022-09-13rocsparse: add spack build test (#31529)Cory Bloor5-7/+364
* rocsparse: add spack build test * Fix Navi 1x patch for ROCm 5.2 * Remove bench variant and other cleanup * Fix style
2022-09-13charliecloud: deprecate old versions (#32462)Jordan Ogas1-22/+64
* tidy, deprecate old versions * bump python * begrudgingly apply less readable style * adjust comment spacing * apply ghastly multiline function arguments
2022-09-13Add an issue template for reporting package stand-alone test failures (#32487)Tamara Dahlgren1-0/+62
2022-09-13Added 2.6.0 version to NVSHMEM package. Added new variant for GPU (#32622)Brian Van Essen1-0/+10
initiated support experimental feature.
2022-09-13Added install phase test methods for CachedCMakePackage (inherited) and ↵Tamara Dahlgren1-0/+6
WafPackage (#32627)
2022-09-13Hyperqueue package (#32475)Henrik Nortamo1-0/+35
* Adds hyperqueue package * Adds maintainers * Adds missing dockstring * Bump year for Copyright Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com> * Fixes checksum, selects preferred version Don't use a release candidate as the default version * Switch maintainer to one of the developers for HQ * Update package.py Co-authored-by: Tamara Dahlgren <35777542+tldahlgren@users.noreply.github.com>
2022-09-13GDAL: add v3.5.2 (#32614)Adam J. Stewart1-0/+1
2022-09-12openblas: Allow building linktest.c with clang@15 (#32597)Erik Schnetter2-0/+25
2022-09-12VTK-m: Update gcc 11 conflict after patch (#32546)kwryankrattiger1-1/+1
2022-09-12rocalution: fix compilation for Navi 1x and 2x (#32586)Cory Bloor2-0/+81
2022-09-12parallelio: make shared lib the default (#32432)Jim Edwards2-0/+34
2022-09-12cuba: new package (#32510)Wouter Deconinck1-0/+21
2022-09-12dtc: fix build error with clang or Fujitsu compiler (#32543)Qian Jianhua1-0/+4
2022-09-12SDK: Remove conflicting variants from sensei propagation (#32490)kwryankrattiger1-5/+3
2022-09-12r-gridextra: fix the CRAN package name. (#32474)Rémi Lacroix1-1/+1
It seems like it was renamed from "gridExtras" to "gridExtra".