Skip to content

Commit 03ecae6

Browse files
authored
Merge pull request #401 from climbfuji/feature/merge_spack_dev_20240126
Merge spack/develop as of 2024/01/26 into jcsda_emc_spack_stack
2 parents 4d3663d + 980218a commit 03ecae6

File tree

8,794 files changed

+56953
-19605
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

8,794 files changed

+56953
-19605
lines changed

.github/workflows/audit.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
operating_system: ["ubuntu-latest", "macos-latest"]
2424
steps:
2525
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # @v2
26-
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # @v2
26+
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # @v2
2727
with:
2828
python-version: ${{inputs.python_version}}
2929
- name: Install Python packages

.github/workflows/bootstrap.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ jobs:
159159
brew install cmake bison@2.7 tree
160160
- name: Checkout
161161
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
162-
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # @v2
162+
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # @v2
163163
with:
164164
python-version: "3.12"
165165
- name: Bootstrap clingo

.github/workflows/build-containers.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ jobs:
5757
- name: Checkout
5858
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # @v2
5959

60-
- uses: docker/metadata-action@96383f45573cb7f253c731d3b3ab81c87ef81934
60+
- uses: docker/metadata-action@dbef88086f6cef02e264edb7dbf63250c17cef6c
6161
id: docker_meta
6262
with:
6363
images: |
@@ -113,7 +113,7 @@ jobs:
113113
password: ${{ secrets.DOCKERHUB_TOKEN }}
114114

115115
- name: Build & Deploy ${{ matrix.dockerfile[0] }}
116-
uses: docker/build-push-action@0565240e2d4ab88bba5387d719585280857ece09
116+
uses: docker/build-push-action@4a13e500e55cf31b7a5d59a38ab2040ab0f42f56
117117
with:
118118
context: dockerfiles/${{ matrix.dockerfile[0] }}
119119
platforms: ${{ matrix.dockerfile[1] }}

.github/workflows/nightly-win-builds.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
1818
with:
1919
fetch-depth: 0
20-
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236
20+
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
2121
with:
2222
python-version: 3.9
2323
- name: Install Python packages
+5-5
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
black==23.10.1
1+
black==23.12.1
22
clingo==5.6.2
3-
flake8==6.1.0
4-
isort==5.12.0
5-
mypy==1.6.1
3+
flake8==7.0.0
4+
isort==5.13.2
5+
mypy==1.8.0
66
types-six==1.16.21.9
7-
vermin==1.5.2
7+
vermin==1.6.0

.github/workflows/unit_tests.yaml

+5-5
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ jobs:
6666
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # @v2
6767
with:
6868
fetch-depth: 0
69-
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # @v2
69+
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # @v2
7070
with:
7171
python-version: ${{ matrix.python-version }}
7272
- name: Install System packages
@@ -117,7 +117,7 @@ jobs:
117117
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # @v2
118118
with:
119119
fetch-depth: 0
120-
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # @v2
120+
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # @v2
121121
with:
122122
python-version: '3.10'
123123
- name: Install System packages
@@ -184,7 +184,7 @@ jobs:
184184
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # @v2
185185
with:
186186
fetch-depth: 0
187-
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # @v2
187+
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # @v2
188188
with:
189189
python-version: '3.10'
190190
- name: Install System packages
@@ -223,7 +223,7 @@ jobs:
223223
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # @v2
224224
with:
225225
fetch-depth: 0
226-
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236 # @v2
226+
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c # @v2
227227
with:
228228
python-version: ${{ matrix.python-version }}
229229
- name: Install Python packages
@@ -248,7 +248,7 @@ jobs:
248248
$(which spack) bootstrap disable spack-install
249249
$(which spack) solve zlib
250250
common_args=(--dist loadfile --tx '4*popen//python=./bin/spack-tmpconfig python -u ./bin/spack python' -x)
251-
$(which spack) unit-test --cov --cov-config=pyproject.toml --cov-report=xml:coverage.xml "${common_args[@]}"
251+
$(which spack) unit-test --verbose --cov --cov-config=pyproject.toml --cov-report=xml:coverage.xml "${common_args[@]}"
252252
- uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d
253253
with:
254254
flags: unittests,macos

.github/workflows/valid-style.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
runs-on: ubuntu-latest
2929
steps:
3030
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
31-
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236
31+
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
3232
with:
3333
python-version: '3.11'
3434
cache: 'pip'
@@ -47,7 +47,7 @@ jobs:
4747
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
4848
with:
4949
fetch-depth: 0
50-
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236
50+
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
5151
with:
5252
python-version: '3.11'
5353
cache: 'pip'

.github/workflows/windows_python.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
1919
with:
2020
fetch-depth: 0
21-
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236
21+
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
2222
with:
2323
python-version: 3.9
2424
- name: Install Python packages
@@ -42,7 +42,7 @@ jobs:
4242
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
4343
with:
4444
fetch-depth: 0
45-
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236
45+
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
4646
with:
4747
python-version: 3.9
4848
- name: Install Python packages
@@ -66,7 +66,7 @@ jobs:
6666
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11
6767
with:
6868
fetch-depth: 0
69-
- uses: actions/setup-python@65d7f2d534ac1bc67fcd62888c5f4f3d2cb2b236
69+
- uses: actions/setup-python@0a5c61591373683505ea898e09a3ea4f39ef2b9c
7070
with:
7171
python-version: 3.9
7272
- name: Install Python packages

CITATION.cff

+12-8
Original file line numberDiff line numberDiff line change
@@ -31,13 +31,17 @@ type: software
3131
message: "If you are referencing Spack in a publication, please cite the paper below."
3232
title: "The Spack Package Manager: Bringing Order to HPC Software Chaos"
3333
abstract: >-
34-
Large HPC centers spend considerable time supporting software for thousands of users, but the complexity of HPC software is quickly outpacing the capabilities of existing software management tools.
35-
Scientific applications require specific versions of compilers, MPI, and other dependency libraries, so using a single, standard software stack is infeasible.
36-
However, managing many configurations is difficult because the configuration space is combinatorial in size.
37-
We introduce Spack, a tool used at Lawrence Livermore National Laboratory to manage this complexity.
38-
Spack provides a novel, re- cursive specification syntax to invoke parametric builds of packages and dependencies.
39-
It allows any number of builds to coexist on the same system, and it ensures that installed packages can find their dependencies, regardless of the environment.
40-
We show through real-world use cases that Spack supports diverse and demanding applications, bringing order to HPC software chaos.
34+
Large HPC centers spend considerable time supporting software for thousands of users, but the
35+
complexity of HPC software is quickly outpacing the capabilities of existing software management
36+
tools. Scientific applications require specific versions of compilers, MPI, and other dependency
37+
libraries, so using a single, standard software stack is infeasible. However, managing many
38+
configurations is difficult because the configuration space is combinatorial in size. We
39+
introduce Spack, a tool used at Lawrence Livermore National Laboratory to manage this complexity.
40+
Spack provides a novel, re- cursive specification syntax to invoke parametric builds of packages
41+
and dependencies. It allows any number of builds to coexist on the same system, and it ensures
42+
that installed packages can find their dependencies, regardless of the environment. We show
43+
through real-world use cases that Spack supports diverse and demanding applications, bringing
44+
order to HPC software chaos.
4145
preferred-citation:
4246
title: "The Spack Package Manager: Bringing Order to HPC Software Chaos"
4347
type: conference-paper
@@ -71,7 +75,7 @@ preferred-citation:
7175
type: doi
7276
value: 10.1145/2807591.2807623
7377
- description: "The DOE Document Release Number of the work"
74-
type: other
78+
type: other
7579
value: "LLNL-CONF-669890"
7680
authors:
7781
- family-names: "Gamblin"

LICENSE-MIT

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2013-2023 LLNS, LLC and other Spack Project Developers.
3+
Copyright (c) 2013-2024 LLNS, LLC and other Spack Project Developers.
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

+33-11
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,34 @@
1-
# <img src="https://cdn.rawgit.com/spack/spack/develop/share/spack/logo/spack-logo.svg" width="64" valign="middle" alt="Spack"/> Spack
1+
<div align="left">
22

3-
[![Unit Tests](https://github.com/spack/spack/workflows/linux%20tests/badge.svg)](https://github.com/spack/spack/actions)
4-
[![Bootstrapping](https://github.com/spack/spack/actions/workflows/bootstrap.yml/badge.svg)](https://github.com/spack/spack/actions/workflows/bootstrap.yml)
5-
[![codecov](https://codecov.io/gh/spack/spack/branch/develop/graph/badge.svg)](https://codecov.io/gh/spack/spack)
6-
[![Containers](https://github.com/spack/spack/actions/workflows/build-containers.yml/badge.svg)](https://github.com/spack/spack/actions/workflows/build-containers.yml)
7-
[![Read the Docs](https://readthedocs.org/projects/spack/badge/?version=latest)](https://spack.readthedocs.io)
8-
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
9-
[![Slack](https://slack.spack.io/badge.svg)](https://slack.spack.io)
10-
[![Matrix](https://img.shields.io/matrix/spack-space%3Amatrix.org?label=Matrix)](https://matrix.to/#/#spack-space:matrix.org)
3+
<h2>
4+
<picture>
5+
<source media="(prefers-color-scheme: dark)" srcset="https://cdn.rawgit.com/spack/spack/develop/share/spack/logo/spack-logo-white-text.svg" width="250">
6+
<source media="(prefers-color-scheme: light)" srcset="https://cdn.rawgit.com/spack/spack/develop/share/spack/logo/spack-logo-text.svg" width="250">
7+
<img alt="Spack" src="https://cdn.rawgit.com/spack/spack/develop/share/spack/logo/spack-logo-text.svg" width="250">
8+
</picture>
9+
10+
<br>
11+
<br clear="all">
12+
13+
<a href="https://github.com/spack/spack/actions/workflows/ci.yml"><img src="https://github.com/spack/spack/workflows/ci/badge.svg" alt="CI Status"></a>
14+
<a href="https://github.com/spack/spack/actions/workflows/bootstrapping.yml"><img src="https://github.com/spack/spack/actions/workflows/bootstrap.yml/badge.svg" alt="Bootstrap Status"></a>
15+
<a href="https://github.com/spack/spack/actions/workflows/build-containers.yml"><img src="https://github.com/spack/spack/actions/workflows/build-containers.yml/badge.svg" alt="Containers Status"></a>
16+
<a href="https://spack.readthedocs.io"><img src="https://readthedocs.org/projects/spack/badge/?version=latest" alt="Documentation Status"></a>
17+
<a href="https://codecov.io/gh/spack/spack"><img src="https://codecov.io/gh/spack/spack/branch/develop/graph/badge.svg" alt="Code coverage"/></a>
18+
<a href="https://slack.spack.io"><img src="https://slack.spack.io/badge.svg" alt="Slack"/></a>
19+
<a href="https://matrix.to/#/#spack-space:matrix.org"><img src="https://img.shields.io/matrix/spack-space%3Amatrix.org?label=matrix" alt="Matrix"/></a>
20+
21+
</h2>
22+
23+
**[Getting Started] &nbsp;&nbsp; [Config] &nbsp;&nbsp; [Community] &nbsp;&nbsp; [Contributing] &nbsp;&nbsp; [Packaging Guide]**
24+
25+
[Getting Started]: https://spack.readthedocs.io/en/latest/getting_started.html
26+
[Config]: https://spack.readthedocs.io/en/latest/configuration.html
27+
[Community]: #community
28+
[Contributing]: https://spack.readthedocs.io/en/latest/contribution_guide.html
29+
[Packaging Guide]: https://spack.readthedocs.io/en/latest/packaging_guide.html
30+
31+
</div>
1132

1233
Spack is a multi-platform package manager that builds and installs
1334
multiple versions and configurations of software. It works on Linux,
@@ -66,10 +87,11 @@ Resources:
6687
* **Matrix space**: [#spack-space:matrix.org](https://matrix.to/#/#spack-space:matrix.org):
6788
[bridged](https://github.com/matrix-org/matrix-appservice-slack#matrix-appservice-slack) to Slack.
6889
* [**Github Discussions**](https://github.com/spack/spack/discussions):
69-
not just for discussions, but also Q&A.
70-
* **Mailing list**: [groups.google.com/d/forum/spack](https://groups.google.com/d/forum/spack)
90+
for Q&A and discussions. Note the pinned discussions for announcements.
7191
* **Twitter**: [@spackpm](https://twitter.com/spackpm). Be sure to
7292
`@mention` us!
93+
* **Mailing list**: [groups.google.com/d/forum/spack](https://groups.google.com/d/forum/spack):
94+
only for announcements. Please use other venues for discussions.
7395

7496
Contributing
7597
------------------------

bin/haspywin.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
1+
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
22
# Spack Project Developers. See the top-level COPYRIGHT file for details.
33
#
44
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

bin/sbang

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
#
3-
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
3+
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
44
# sbang project developers. See the top-level COPYRIGHT file for details.
55
#
66
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

bin/spack

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
# -*- python -*-
33
#
4-
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
4+
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
55
# Spack Project Developers. See the top-level COPYRIGHT file for details.
66
#
77
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

bin/spack-python

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/sh
22
#
3-
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
3+
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
44
# Spack Project Developers. See the top-level COPYRIGHT file for details.
55
#
66
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

bin/spack.bat

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
:: Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
1+
:: Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
22
:: Spack Project Developers. See the top-level COPYRIGHT file for details.
33
::
44
:: SPDX-License-Identifier: (Apache-2.0 OR MIT)

bin/spack.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
1+
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
22
# Spack Project Developers. See the top-level COPYRIGHT file for details.
33

44
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

bin/spack_pwsh.ps1

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
1+
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
22
# Spack Project Developers. See the top-level COPYRIGHT file for details.
33
#
44
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

etc/spack/defaults/darwin/packages.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ packages:
5050
# Apple bundles libuuid in libsystem_c version 1353.100.2,
5151
# although the version number used here isn't critical
5252
- spec: apple-libuuid@1353.100.2
53-
prefix: /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk
53+
prefix: /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk

lib/spack/docs/_pygments/style.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
1+
# Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
22
# Spack Project Developers. See the top-level COPYRIGHT file for details.
33
#
44
# SPDX-License-Identifier: (Apache-2.0 OR MIT)

lib/spack/docs/basic_usage.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.. Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
1+
.. Copyright 2013-2024 Lawrence Livermore National Security, LLC and other
22
Spack Project Developers. See the top-level COPYRIGHT file for details.
33
44
SPDX-License-Identifier: (Apache-2.0 OR MIT)

0 commit comments

Comments
 (0)