summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2021-07-02Add `when` context manager to group common constraints in packages (#24650)Massimiliano Culpo7-173/+326
This PR adds a context manager that permit to group the common part of a `when=` argument and add that to the context: ```python class Gcc(AutotoolsPackage): with when('+nvptx'): depends_on('cuda') conflicts('@:6', msg='NVPTX only supported in gcc 7 and above') conflicts('languages=ada') conflicts('languages=brig') conflicts('languages=go') ``` The above snippet is equivalent to: ```python class Gcc(AutotoolsPackage): depends_on('cuda', when='+nvptx') conflicts('@:6', when='+nvptx', msg='NVPTX only supported in gcc 7 and above') conflicts('languages=ada', when='+nvptx') conflicts('languages=brig', when='+nvptx') conflicts('languages=go', when='+nvptx') ``` which needs a repetition of the `when='+nvptx'` argument. The context manager might help improving readability and permits to group together directives related to the same semantic aspect (e.g. all the directives needed to model the behavior of `gcc` when `+nvptx` is active). Modifications: - [x] Added a `when` context manager to be used with package directives - [x] Add unit tests and documentation for the new feature - [x] Modified `cp2k` and `gcc` to show the use of the context manager
2021-07-02mfem: adjusted dependencies on hypre (4.2 compiles with hypre up to 2.20) ↵Olivier Cessenat1-2/+4
(#24611)
2021-07-02curl: explicitly disable unused dependencies (#24613)Seth R. Johnson1-5/+17
I installed curl on my mac and it picked up a homebrew (I think?) installation of gsasl. A later system update broke git because of the implicitly added dependency. Explicitly disabling libraries that *might* exist on the system is the safe approach here. ``` dyld: Library not loaded: /usr/local/opt/gsasl/lib/libgsasl.7.dylib Referenced from: /rnsdhpc/code/spack/opt/spack/apple-clang/curl/gag5v3c/lib/libcurl.4.dylib Reason: image not found error: git-remote-https died of signal 6 ```
2021-07-02dataspaces: move compiler vars to setup_build_environment (#24626)Chuck Atkins1-5/+12
2021-07-02GEOS: add v3.9.1, switch to CMake (#24629)Adam J. Stewart1-35/+12
2021-07-02amrex: add v21.07 (#24655)Weiqun Zhang1-0/+3
Also add conflict with rocm-4.2.
2021-07-01amdlibflame: fix build with gcc from CrayPE (#24358)Tiziano Müller2-0/+29
fixes #24210
2021-07-01sombrero: add new package (#24567)Mosè Giordano1-0/+34
2021-07-01xsd: added patch to fix missing #include <iostream> (#24496)Matthieu Dorier1-0/+6
2021-07-01WarpX: FFTW+OpenMP (#24604)Axel Huebl1-1/+1
FFTW: prefer with OpenMP acceleration for OpenMP compute backend
2021-07-01Update dill (#24633)Sebastian Schmitt1-1/+3
2021-07-01meson: fix typo (libs instead of default_library) (#24649)Harmen Stoppels1-2/+2
2021-07-01Added Perl workaround for CUDA <= 8 (#24291)Maciej Wójcik1-1/+20
* Added Perl workaround for CUDA <= 8 * Re-wrapped comment * Proofreading corrections * Added a reference * Do not override Perl include path * Retrieve shell once Co-authored-by: Axel Huebl <axel.huebl@plasma.ninja>
2021-07-01trilinos: improve behavior of `gotype` (#24565)Seth R. Johnson1-18/+15
* trilinos: add teko conflict * trilinos: improve gotype variant Instead of 'none' and 'long' typically being the same (but not for older trilinos versions), add an explicit 'all' variant that only works for older trilinos which supports multiple simultaneous tpetra instantiations. * trilinos: add self as maintainer * trilinos: disable vendored gtest by default
2021-07-01yoda: add v1.9.0 and compiler conflict for earlier versions (#23814)Valentin Volkl1-0/+5
2021-07-01hdf: replacing use of install test root with new cached tests dir (#24368)Tamara Dahlgren1-4/+10
2021-07-01sensei: repo update (#24487)kwryankrattiger1-12/+12
2021-07-01vim: use value variant and update config script (#24554)Seth R. Johnson1-76/+43
This changes several conflicting variants to a single multi-value variant, and uses conflicts instead of raising InstallError. (With clingo, requesting +gui automatically selects features=huge!) I have also rearranged the dependencies for clarity and simplified the conifgure args.
2021-06-30sirius: add v7.2.5 (#24587)Harmen Stoppels1-1/+2
2021-06-30py-wxpython: Version update to 4.1.1 (#24569)Desmond Orton1-3/+4
2021-06-30ci: only write to broken-specs list on SpackError (#24618)Zack Galbreath2-18/+20
ci: only write to broken-specs list on SpackError Only write to the broken-specs list when `spack install` raises a SpackError, instead of writing to this list unnecessarily when infrastructure-related problems prevent a develop job from completing successfully.
2021-06-30root: Add Version 6.24.02 (#24619)Dr. Christian Tacke1-1/+3
Also fixes some style issues
2021-06-30python: new versions; 3.9.6, 3.8.11, 3.7.11, 3.6.14 (#24593)Robert Mijakovic1-4/+7
2021-06-30py-torchvision: add v0.10.0 (#24340)Adam J. Stewart1-0/+3
2021-06-30py-torch: overhaul package (#24294)Adam J. Stewart3-142/+299
* py-torch: patch no longer needed on master * Overhaul PyTorch package * py-torch: add v1.9.0 * Change defaults on macOS * Submodules still needed... * Add ONNX dependency * System libs don't work for many submodules * Silence CMake warning * Add conflict for +cuda+rocm * Add more deps * Add more BLAS options * Disable some broken system libs options * Add patches to build older versions * +mkldnn requires mkl * Fix BLAS settings
2021-06-30scr and other packages: rename default branches to main (#24578)Adam Moody9-19/+17
2021-06-30ci: Don't raise an exception if we fail to relate CDash builds (#24299)Zack Galbreath4-73/+96
ci: Do not allow cdash-related errors to cause pipeline failure
2021-06-30py-vermin: add v1.2.1 (#24607)Morten Kristensen1-1/+2
2021-06-30py-pytorch-sphinx-theme: add master version (#24594)Adam J. Stewart1-2/+2
2021-06-30cmake: add v3.20.4, v3.20.5 (#24582)Robert Mijakovic1-0/+2
Co-authored-by: Robert Mijakovic <robert.mijakovic@lxp.lu>
2021-06-30r-stringi: add v1.6.2 (#24585)Manuela Kuhn1-4/+6
2021-06-30darshan-runtime,darshan-util: add v3.3.1 + updated git repository (#24574)shanedsnyder2-9/+12
2021-06-29genfit package: add googletest dependency (#24467)Thomas Madlener1-0/+1
2021-06-29HiPACE++: FFTW+OpenMP (#24575)Axel Huebl1-2/+2
- change the default compute backend: we just start to add OpenMP support - FFTW: prefer with OpenMP acceleration for OpenMP compute backend
2021-06-29New package: py-datasets (#24597)Jen Herting1-0/+35
* [py-datasets] created template * [py-datasets] added dependencies * [py-datasets] requires py-pyarrow with +parquet * [py-datasets] Final cleanup - added homepage - added description - removed fixmes
2021-06-29dependency for py-torchmeta (#24595)Jen Herting1-0/+20
Co-authored-by: Sid Pendelberry <sid@rit.edu>
2021-06-29hdf5: a follow-up to #18937 (#23820)Sergey Kosukhin6-826/+170
2021-06-29spack style: warn if flake8-import-order is missing (#24590)Adam J. Stewart1-4/+7
2021-06-29py-nipype: add 1.6.1 (#24584)Manuela Kuhn1-0/+1
2021-06-29py-nilearn: add 0.8.0 (#24583)Manuela Kuhn1-5/+13
2021-06-29Fix prefix-collision detection for projections (#24049)Harmen Stoppels5-33/+82
If two Specs have the same hash (and prefix) but are not equal, Spack originally had logic to detect this and raise an error (since both cannot be installed in the same place). Recently this has eroded and the check no-longer works; moreover, when defining projections (which may truncate the hash or other distinguishing properties from the prefix) Spack was also failing to detect collisions (in both of these cases, Spack would overwrite the old prefix with the new Spec). This PR maintains a list of all "taken" prefixes: if a hash is not registered (i.e. recorded as installed in the database) but the prefix is occupied, that is a collision. This can detect collisions created by defining projections (specifically when they omit the hash). The PR does not detect collisions where specs have the same hash (and prefix) but are not equal.
2021-06-29py-numpy: conflict with gcc11 and switch master to main (#24573)Manuela Kuhn1-4/+8
Fix syntax of conflict between numpy 1.21.0 and gcc11 to that the clingo concretizer recognizes it. In addition the upstream master branch was renamed to main.
2021-06-29New package: py-pyautogui (#24572)Jen Herting1-0/+32
* [py-pyautogui] created template * [py-pyautogui] added some unconditional dependencies * [py-pyautogui] Final cleanup - added homepage - added description - removed fixmes * [py-pyautogui] added missing dependencies
2021-06-29CGNS: add CMake dependency (#24564)Christoph Conrads1-0/+3
2021-06-29ruby: add v3.0.1 (#24560)holrock1-0/+1
2021-06-29simgrid: add v3.27, update package (#24513)Vinícius1-5/+32
2021-06-29vermin: show line numbers of violations (#24580)Massimiliano Culpo1-2/+2
This commit runs vermin with the --violations option that shows details of the violations to target requirements.
2021-06-29New package: py-huggingface-hub (#24588)Jen Herting1-0/+26
* [py-huggingface-hub] created template * [py-huggingface-hub] added dependencies * [py-huggingface-hub] added version 0.0.8 * [py-huggingface-hub] Final cleanup - added description - added homepage - removed fixmes
2021-06-29pipelines: build warpx on instance with more memory (#24592)Scott Wittenburg1-0/+1
2021-06-29libzmq: Fix gcc11 build failure (#24563)Chuck Atkins1-0/+3