Commit graph

29704 commits

Author SHA1 Message Date
Jen Herting
ba9b225ffc
zopfli: add new package (#31879)
Co-authored-by: James A Zilberman <jazrc@rit.edu>
Co-authored-by: qwertos <qwertos@users.noreply.github.com>
2022-08-03 06:02:02 -06:00
Piotr Luszczek
a5d49ef77a
plasma: add code generation step for develop version (#31668)
Co-authored-by: Massimiliano Culpo <massimiliano.culpo@gmail.com>
2022-08-03 13:30:24 +02:00
Peter Scheibel
5603b031de
Also set FC when building hypre+fortran (#31850) 2022-08-03 13:12:42 +02:00
dunatotatos
a8480281d5
QTLTools: add new package (#31881) 2022-08-03 12:42:45 +02:00
dunatotatos
ab87cac63f
Match documentation of spack create with actual behavior. (#31892) 2022-08-03 10:38:56 +00:00
Jen Herting
09c56255c3
libspng: add new package (#31878)
Co-authored-by: James A Zilberman <jazrc@rit.edu>
Co-authored-by: qwertos <qwertos@users.noreply.github.com>
2022-08-03 04:30:05 -06:00
Massimiliano Culpo
080a26a314
Remove macOS 10.15 from bootstrap tests (#31890)
That version of the runners have been deprecated, see:
https://github.blog/changelog/2022-07-20-github-actions-the-macos-10-15-actions-runner-image-is-being-deprecated-and-will-be-removed-by-8-30-22/
2022-08-03 12:29:29 +02:00
Yang Zongze
ad09f7a1af
Make parmmg dependent on mmg and metis (#31838)
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-03 01:57:53 -06:00
Adam J. Stewart
8f55c3c34a
py-pytorch-lightning: add v1.7.0 (#31871) 2022-08-03 09:44:27 +02:00
Ken Raffenetti
84073466e6
mpich: fix hwloc config option for version >= 4.0 (#31874)
In MPICH 4.0, the config option for external hwloc changed from
--with-hwloc-prefix to --with-hwloc
2022-08-03 09:21:50 +02:00
dependabot[bot]
4aaa3841b8
build(deps): bump actions/setup-python from 4.1.0 to 4.2.0 (#31882)
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](c4e89fac7e...b55428b188)

---
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-03 09:08:03 +02:00
Chris Green
4d2ed35552
black: fix bootstrap for Python 3.6 (#31872)
* py-platformdirs: sanitize UTF-8 setup.cfg on Python 3.6

* py-platformdirs: black compliance

* Minimal fix per @adamjstewart
2022-08-02 20:49:36 -06:00
Chuck Atkins
2ed03407f4
libedit: Make sure libedit linkes to the correct terminfo lib from spack (#31870) 2022-08-02 20:49:14 -06:00
eugeneswalker
0462818c2e
e4s oneapi ci: build vtk-m ~openmp due to issue #31830 (#31840) 2022-08-02 14:45:58 -07:00
Harmen Stoppels
2ecec26188
ca-certificates-mozilla: add v2022-07-19 and v2022-04-26(#31863) 2022-08-02 15:30:02 -06:00
eugeneswalker
b3f221185e
butterflypack %oneapi: patch CMakeLists to solve issue #31818 (#31848)
* butterflypack %oneapi: patch CMakeLists to solve issue #31818

* uncomment builds affected by failing butterflypack

Co-authored-by: e <e>
2022-08-02 14:02:00 -06:00
Andrew W Elble
e11211eec6
new package: py-alphafold (#27849)
* 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-02 20:01:22 +00:00
Peter Scheibel
4e723b634e
Allow building with camp@0.2.3 for raja@0.14.0 and umpire@6.0.0 (#31853) 2022-08-02 21:39:45 +02:00
Jonathon Anderson
8c50ea9dc0
spack ci rebuild: Don't install in a login shell (#31771)
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-02 11:45:50 -07:00
Massimiliano Culpo
6e0b7959a4
Optimize reuse from buildcaches (#30806)
* 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-02 11:43:14 -07:00
Massimiliano Culpo
aeac72e1e3 Style fixes 2022-08-02 10:52:52 -07:00
Massimiliano Culpo
0b832b2929 Remove line that sets non-existing attribute? 2022-08-02 10:52:52 -07:00
Massimiliano Culpo
2b3f350071 Use __slots__ for fast attribute access 2022-08-02 10:52:52 -07:00
Massimiliano Culpo
b6c8779772 Use __slots__ for fast attribute access during parsing 2022-08-02 10:52:52 -07:00
Harmen Stoppels
57e6452831
Document that reuse is higher priority than preferences in packages.yaml (#31864)
Resurrect Known issues, since users ask frequently about that.
2022-08-02 18:54:41 +02:00
Harmen Stoppels
3b4d1bdd31 py-pre-commit 2.20.0 2022-08-02 05:07:41 -07:00
Todd Gamblin
415ac29665
docs: Fix outdated pre-0.18 text on build dependencies (#31860) 2022-08-02 11:34:58 +00:00
Melven Roehrig-Zoellner
ac3b1d77fb
gdb: add v12.1 (#31765) 2022-08-02 04:05:44 -06:00
Sebastian Ehlert
5533256dc6
Add mctc-lib v0.3.1 and toml-f v0.3.0 (#31847) 2022-08-02 08:03:00 +02:00
Adam J. Stewart
22d4612d94
Add meson Python build backend (#31809) 2022-08-02 07:55:41 +02:00
Adam J. Stewart
113acd4714
py-flake8: add v5.0 (#31854) 2022-08-02 07:44:02 +02:00
Adam J. Stewart
1a61252c64
spack checksum: black compliance (#31851) 2022-08-02 07:29:30 +02:00
eugeneswalker
df4e66ecde
kokkos: set CMAKE_CXX_STANDARD instead of Kokkos_CXX_STANDARD (#31841)
* kokkos@develop: set CMAKE_CXX_STANDARD instead of Kokkos_CXX_STANDARD

* use CMAKE_CXX_STANDARD regardless of kokkos version
2022-08-01 23:12:32 +00:00
Peter Scheibel
c0ede0e0fa
Add c++14 support flag for xl compiler (#31826) 2022-08-01 22:51:02 +00:00
Adam J. Stewart
77537fab82
lerc: add libs property (#31684) 2022-08-01 21:42:36 +00:00
Adam J. Stewart
d9d3438637
mxnet: prefer stable release (#31821) 2022-08-01 20:15:46 +00:00
Weiqun Zhang
2f34556f44
amrex: add v22.08 (#31844) 2022-08-01 19:40:02 +00:00
eugeneswalker
0fc045392b
e4s oneapi stack: remove notes for now-fixed builds (#31839) 2022-08-01 12:03:39 -07:00
RichardABunt
d9c0080858
arm-forge: add v22.0.4. (#31835) 2022-08-01 19:53:30 +02:00
Adam J. Stewart
f018b869e6
Add support for macOS Ventura (#31812) 2022-08-01 16:45:56 +00:00
Adam J. Stewart
90dbfea895
python: fix clingo bootstrapping on Apple M1/M2 (#31792) 2022-08-01 15:48:07 +00:00
Seth R. Johnson
ae3c039908
celeritas: new package (#31834)
ROOT also needs updating for downstream macOS packages
2022-08-01 10:59:09 -04:00
Seth R. Johnson
2ec17288f3
py-breathe: fix version constraints to avoid concretizing old breathe (#31828) 2022-08-01 10:58:54 -04:00
Adam J. Stewart
c98d367a91
CUDA: add new GCC conflict (#31820) 2022-08-01 14:31:07 +00:00
Erik Schnetter
e985a9884a
gperftools: make the "libunwind" variant conditional (#31673)
libunwind is supported on Linux only
2022-08-01 14:17:31 +00:00
Erik Schnetter
532668af29
wi4mpi: New version 3.6.0 (#31681)
* wi4mpi: New version 3.6.0
2022-07-31 22:25:35 -06:00
Todd Gamblin
ab04d697c7 tests: remove old changed_files() test
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-31 21:01:02 -07:00
Todd Gamblin
98d6862787 black: fix .git-blame-ignore-revs commit
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-31 15:06:38 -07:00
Todd Gamblin
143f3f830c style: simplify arguments with --tool TOOL and --skip TOOL
`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-31 13:29:20 -07:00
Todd Gamblin
76b190a624 black: ensure that spack create templates are black-compliant
- [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-31 13:29:20 -07:00