summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2022-08-03Make parmmg dependent on mmg and metis (#31838)Yang Zongze3-0/+17
1. copy source of mmg to its install tree for parmmg's build 2. add cmake args for parmmg 3. add '+mmg' when '+parmmg' for petsc
2022-08-03py-pytorch-lightning: add v1.7.0 (#31871)Adam J. Stewart1-1/+5
2022-08-03mpich: fix hwloc config option for version >= 4.0 (#31874)Ken Raffenetti1-4/+13
In MPICH 4.0, the config option for external hwloc changed from --with-hwloc-prefix to --with-hwloc
2022-08-03build(deps): bump actions/setup-python from 4.1.0 to 4.2.0 (#31882)dependabot[bot]4-19/+19
Bumps [actions/setup-python](https://github.com/actions/setup-python) from 4.1.0 to 4.2.0. - [Release notes](https://github.com/actions/setup-python/releases) - [Commits](https://github.com/actions/setup-python/compare/c4e89fac7e8767b327bbad6cb4d859eda999cf08...b55428b1882923874294fa556849718a1d7f2ca5) --- updated-dependencies: - dependency-name: actions/setup-python 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>
2022-08-02black: fix bootstrap for Python 3.6 (#31872)Chris Green1-0/+11
* py-platformdirs: sanitize UTF-8 setup.cfg on Python 3.6 * py-platformdirs: black compliance * Minimal fix per @adamjstewart
2022-08-02libedit: Make sure libedit linkes to the correct terminfo lib from spack ↵Chuck Atkins1-0/+10
(#31870)
2022-08-02e4s oneapi ci: build vtk-m ~openmp due to issue #31830 (#31840)eugeneswalker1-2/+3
2022-08-02ca-certificates-mozilla: add v2022-07-19 and v2022-04-26(#31863)Harmen Stoppels1-0/+10
2022-08-02butterflypack %oneapi: patch CMakeLists to solve issue #31818 (#31848)eugeneswalker3-3/+17
* butterflypack %oneapi: patch CMakeLists to solve issue #31818 * uncomment builds affected by failing butterflypack Co-authored-by: e <e>
2022-08-02new package: py-alphafold (#27849)Andrew W Elble14-2/+380
* new package: alphafold and related dependencies, depends on #27138 * [@spackbot] updating style on behalf of aweits * fix Co-authored-by: aweits <aweits@users.noreply.github.com>
2022-08-02Allow building with camp@0.2.3 for raja@0.14.0 and umpire@6.0.0 (#31853)Peter Scheibel2-2/+2
2022-08-02spack ci rebuild: Don't install in a login shell (#31771)Jonathon Anderson1-3/+2
On some systems the shell in login mode wipes important parts of the environment, such as PATH. This causes the build to fail since it can't find `spack`. For better robustness, don't use a login shell. In a full CI job the final spack install is run in an environment formed by scripts running in this order: export AWS_SECRET=... # 1. Load environment from GitLab project variables source spack/share/spack/setup-env.sh # 2. Load Spack into the environment (PATH) spack env activate -V concrete_env # 3. Activate the concrete environment source /etc/profile # 4. Bash login shell (from -l) spack install ... Whereas when a user launches their own container with (docker|podman) run -it, they end up running spack install in an environment formed in this order: source /etc/bash.bashrc # (not 4). Bash interactive shell (default with TTY) export AWS_SECRET=... #~1. Manually load environment from GitLab project variables source spack/share/spack/setup-env.sh # 2. Load Spack into the environment (PATH) spack env activate -V concrete_env # 3. Activate the concrete environment spack install ... The big problem being that (4) has a completely different position and content (on Leap 15 and possibly other containers). So in context, this PR removes (4) from the CI job case, leaving us with the simpler: export AWS_SECRET=... # 1. Load environment from GitLab project variables source spack/share/spack/setup-env.sh # 2. Load Spack into the environment (PATH) spack env activate -V concrete_env # 3. Activate the concrete environment spack install ...
2022-08-02Optimize reuse from buildcaches (#30806)Massimiliano Culpo2-11/+13
* database: don't sort on return from query_local * ASP-based solver: don't build the hash-lookup dictionary twice Building this dictionary twice and traversing all the specs might be time-consuming for large buildcaches.
2022-08-02Style fixesMassimiliano Culpo3-10/+11
2022-08-02Remove line that sets non-existing attribute?Massimiliano Culpo1-1/+0
2022-08-02Use __slots__ for fast attribute accessMassimiliano Culpo2-0/+12
2022-08-02Use __slots__ for fast attribute access during parsingMassimiliano Culpo2-0/+8
2022-08-02Document that reuse is higher priority than preferences in packages.yaml ↵Harmen Stoppels2-0/+35
(#31864) Resurrect Known issues, since users ask frequently about that.
2022-08-02py-pre-commit 2.20.0Harmen Stoppels1-0/+2
2022-08-02docs: Fix outdated pre-0.18 text on build dependencies (#31860)Todd Gamblin1-5/+13
2022-08-02gdb: add v12.1 (#31765)Melven Roehrig-Zoellner1-0/+1
2022-08-02Add mctc-lib v0.3.1 and toml-f v0.3.0 (#31847)Sebastian Ehlert2-0/+2
2022-08-02Add meson Python build backend (#31809)Adam J. Stewart4-36/+117
2022-08-02py-flake8: add v5.0 (#31854)Adam J. Stewart4-45/+62
2022-08-02spack checksum: black compliance (#31851)Adam J. Stewart1-1/+1
2022-08-01kokkos: set CMAKE_CXX_STANDARD instead of Kokkos_CXX_STANDARD (#31841)eugeneswalker1-1/+1
* kokkos@develop: set CMAKE_CXX_STANDARD instead of Kokkos_CXX_STANDARD * use CMAKE_CXX_STANDARD regardless of kokkos version
2022-08-01Add c++14 support flag for xl compiler (#31826)Peter Scheibel1-0/+8
2022-08-01lerc: add libs property (#31684)Adam J. Stewart1-0/+4
2022-08-01mxnet: prefer stable release (#31821)Adam J. Stewart1-1/+5
2022-08-01amrex: add v22.08 (#31844)Weiqun Zhang1-1/+2
2022-08-01e4s oneapi stack: remove notes for now-fixed builds (#31839)eugeneswalker1-3/+1
2022-08-01arm-forge: add v22.0.4. (#31835)RichardABunt1-0/+9
2022-08-01Add support for macOS Ventura (#31812)Adam J. Stewart1-0/+1
2022-08-01python: fix clingo bootstrapping on Apple M1/M2 (#31792)Adam J. Stewart2-7/+10
2022-08-01celeritas: new package (#31834)Seth R. Johnson2-0/+91
ROOT also needs updating for downstream macOS packages
2022-08-01py-breathe: fix version constraints to avoid concretizing old breathe (#31828)Seth R. Johnson1-1/+2
2022-08-01CUDA: add new GCC conflict (#31820)Adam J. Stewart1-0/+1
2022-08-01gperftools: make the "libunwind" variant conditional (#31673)Erik Schnetter1-1/+3
libunwind is supported on Linux only
2022-07-31wi4mpi: New version 3.6.0 (#31681)Erik Schnetter1-0/+1
* wi4mpi: New version 3.6.0
2022-07-31tests: remove old `changed_files()` testTodd Gamblin1-10/+0
This test relied on an old version of the `flake8_package` fixture that modified the spack repository, but it doesn't do that anymore. There are other tests for `changed_files()` that do a better job of mocking up a git repository with changes, so we can just delete this one.
2022-07-31black: fix `.git-blame-ignore-revs` commitTodd Gamblin1-1/+1
A GitHub rebase merge seems to rewrite commits even if it would be a fast-forward, which means that the commit merged from #24718 is wrong. - [x] update `.git-blame-ignore-revs` with real commit from `develop`
2022-07-31style: simplify arguments with `--tool TOOL` and `--skip TOOL`Todd Gamblin3-59/+69
`spack style` tests were annoyingly brittle because we could not easily be specific about which tools to run (we had to use `--no-black`, `--no-isort`, `--no-flake8`, and `--no-mypy`). We should be able to specify what to run OR what to skip. Now you can run, e.g.: spack style --tool black,flake8 or: spack style --skip black,isort - [x] Remove `--no-black`, `--no-isort`, `--no-flake8`, and `--no-mypy` args. - [x] Add `--tool TOOL` argument. - [x] Add `--skip TOOL` argument. - [x] Allow either `--tool black --tool flake8` or `--tool black,flake8` syntax.
2022-07-31black: ensure that `spack create` templates are black-compliantTodd Gamblin2-114/+101
- [x] remove alignment spaces from tempaltes - [x] replace single with double quotes - [x] Makefile template now generates parsable code (function body is `pass` instead of just a comment) - [x] template checks now run black to check output
2022-07-31black: do not align `sha56`'s with spaces in `spack checksum` outputTodd Gamblin1-9/+1
2022-07-31black: add badge to `README.md`Todd Gamblin1-0/+1
2022-07-31black: bootstrap if black in `PATH` is too newTodd Gamblin1-4/+27
Previously we'd accept any version for bootstrapping black, but we need <= 21. - [x] modify bootstrapping code to check black version before accepting an executable from `PATH`.
2022-07-31black: add .git-blame-ignore-revs toignore black reformatting in blameTodd Gamblin2-2/+15
- [x] add `.git-blame-ignore-revs` to ignore black reformatting - [x] make `spack blame` respect `.git-blame-ignore-revs` (even if the user hasn't configured git to do so)
2022-07-31black: fix format-sensitive testsTodd Gamblin3-7/+7
Some of our tests rely on single vs. double quotes, and others rely on specific line numbers in the source. These needed fixing after the switch to Black.
2022-07-31black: reformat entire repository with blackTodd Gamblin7220-170462/+186733
2022-07-31black: fix style check package and flake8 formatting for blackTodd Gamblin6-117/+90
Black will automatically fix a lot of the exceptions we previously allowed for directives, so we don't need them in our custom `flake8_formatter` anymore. - [x] remove `E501` (long line) exceptions for directives from `flake8_formatter`, as they won't help us now. - [x] Refine exceptions for long URLs in the `flake8_formatter`. - [x] Adjust the mock `flake8-package` to exhibit the exceptions we still allow. - [x] Update style tests for new `flake8-package`. - [x] Blacken style test.