Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
69 changes: 69 additions & 0 deletions .ci/gitlab/.gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,75 @@ developer-tools-darwin-build:
- artifacts: True
job: developer-tools-darwin-generate

##########################################
# Developer Tools needed to develop Spack
# arm linux
##########################################
.developer-bootstrap-aarch64-linux-gnu:
variables:
SPACK_CI_STACK_NAME: developer-bootstrap-aarch64-linux-gnu

developer-bootstrap-aarch64-linux-gnu-generate:
extends: [ ".developer-bootstrap-aarch64-linux-gnu", ".generate-aarch64"]
image: ghcr.io/spack/aarch64-linux-gnu:v2024-12-18

developer-bootstrap-aarch64-linux-gnu-build:
extends: [ ".developer-bootstrap-aarch64-linux-gnu", ".build" ]
trigger:
<< : *trigger_build
include:
- artifact: jobs_scratch_dir/developer-bootstrap-aarch64-linux-gnu/cloud-ci-pipeline.yml
job: developer-bootstrap-aarch64-linux-gnu-generate
needs:
- artifacts: True
job: developer-bootstrap-aarch64-linux-gnu-generate

###########################################
# Developer tools needed to develop Spack
# x86_64_v3 linux
###########################################
.developer-bootstrap-x86_64_v3-linux-gnu:
variables:
SPACK_CI_STACK_NAME: developer-bootstrap-x86_64_v3-linux-gnu

developer-bootstrap-x86_64_v3-linux-gnu-generate:
extends: [ ".developer-bootstrap-x86_64_v3-linux-gnu", ".generate-x86_64"]
image: ghcr.io/spack/x86_64_v3-linux-gnu:2024-12-12

developer-bootstrap-x86_64_v3-linux-gnu-build:
extends: [ ".developer-bootstrap-x86_64_v3-linux-gnu", ".build" ]
trigger:
<< : *trigger_build
include:
- artifact: jobs_scratch_dir/developer-bootstrap-x86_64_v3-linux-gnu/cloud-ci-pipeline.yml
job: developer-bootstrap-x86_64_v3-linux-gnu-generate
needs:
- artifacts: True
job: developer-bootstrap-x86_64_v3-linux-gnu-generate

###########################################
# Developer tools needed to develop Spack
# darwin
###########################################
.developer-bootstrap-darwin:
variables:
SPACK_CI_STACK_NAME: developer-bootstrap-darwin

developer-bootstrap-darwin-generate:
tags: [ "macos-tahoe", "apple-clang-17", "aarch64-macos" ]
extends: [ ".developer-bootstrap-darwin", ".generate-base"]

developer-bootstrap-darwin-build:
extends: [ ".developer-bootstrap-darwin", ".build" ]
trigger:
<< : *trigger_build
include:
- artifact: jobs_scratch_dir/developer-bootstrap-darwin/cloud-ci-pipeline.yml
job: developer-bootstrap-darwin-generate
needs:
- artifacts: True
job: developer-bootstrap-darwin-generate

#########################################
# RADIUSS
#########################################
Expand Down
54 changes: 54 additions & 0 deletions stacks/developer-bootstrap-aarch64-linux-gnu/spack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
spack:
view: false

include:
- ../../.ci/gitlab/

packages:
all:
require:
- target=aarch64
- ~cuda
- ~rocm
c:
prefer:
- "gcc"
cxx:
prefer:
- "gcc"
concretizer:
unify: when_possible
reuse: false
static_analysis: true
definitions:
- py-dev:
- py-ruff@0.16.10
- py-ty@0.0.85
- py-pytest@9.0.3
- python:
- python@3.10
- python@3.15+zstd
specs:
# spack developer tools
# pinned to versions CI uses
- group: rust
specs:
- rust@1.97.1
- group: dev-rust
needs: [rust]
specs:
- matrix:
- - $py-dev
- - $^python
override:
packages:
all:
prefer:
- rust@1.97.1
ci:
pipeline-gen:
- build-job:
image: ghcr.io/spack/aarch64-linux-gnu:v2024-12-18

cdash:
build-group: Spack Development Tools aarch64-linux-gnu
47 changes: 47 additions & 0 deletions stacks/developer-bootstrap-darwin/spack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
spack:
view: false
include:
- ../../.ci/gitlab/

packages:
all:
variants:
- build_type=MinSizeRel
require:
- target=aarch64
concretizer:
unify: when_possible
reuse: false
definitions:
- py-dev:
- py-ruff@0.16.10
- py-ty@0.0.85
- py-pytest@9.0.3
- python:
- python@3.10
- python@3.15+zstd
specs:
# spack developer tools
# pinned to versions CI uses
- group: rust
specs:
- rust@1.97.1
- group: dev-rust
needs: [rust]
specs:
- matrix:
- - $py-dev
- - $^python
override:
packages:
all:
prefer:
- rust@1.97.1
ci:
pipeline-gen:
- build-job:
variables:
CI_GPG_KEY_ROOT: /etc/protected-runner

cdash:
build-group: Spack Development Tools Darwin
54 changes: 54 additions & 0 deletions stacks/developer-bootstrap-x86_64_v3-linux-gnu/spack.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
spack:
view: false

include:
- ../../.ci/gitlab/

packages:
all:
require:
- target=x86_64_v3
- ~cuda
- ~rocm
c:
prefer:
- "gcc"
cxx:
prefer:
- "gcc"
concretizer:
unify: when_possible
reuse: false
static_analysis: true
definitions:
- py-dev:
- py-ruff@0.16.10
- py-ty@0.0.85
- py-pytest@9.0.3
- python:
- python@3.10
- python@3.15+zstd
specs:
# spack developer tools
# pinned to versions CI uses
- group: rust
specs:
- rust@1.97.1
- group: dev-rust
needs: [rust]
specs:
- matrix:
- - $py-dev
- - $^python
override:
packages:
all:
prefer:
- rust@1.97.1
ci:
pipeline-gen:
- build-job:
image: ghcr.io/spack/x86_64_v3-linux-gnu:2024-12-12

cdash:
build-group: Spack Development Tools x86_64_v3-linux-gnu
8 changes: 2 additions & 6 deletions stacks/developer-tools-aarch64-linux-gnu/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ spack:
- py-mypy
- py-black
- py-flake8
- py-ruff
- py-ty
# cli dev tools
- ripgrep
- gh
Expand Down Expand Up @@ -80,12 +82,6 @@ spack:
- graphviz
- doxygen
- meson
# spack developer tools
# style
- "py-mypy@0.900: ^py-mypy-extensions@:1.0"
- py-pytest@9.0.3
- py-ruff@0.15.0
- py-ty@0.0.20

ci:
pipeline-gen:
Expand Down
8 changes: 2 additions & 6 deletions stacks/developer-tools-darwin/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,8 @@ spack:
- py-mypy
- py-python-lsp-ruff
- py-python-lsp-server
- py-ty
- py-ruff
- typos
- uncrustify
- gopls
Expand All @@ -92,12 +94,6 @@ spack:
- gmake
- ninja
- meson
# spack developer tools
# style
- "py-mypy@0.900: ^py-mypy-extensions@:1.0"
- py-pytest@9.0.3
- py-ruff@0.15.0
- py-ty@0.0.20

ci:
pipeline-gen:
Expand Down
3 changes: 2 additions & 1 deletion stacks/developer-tools-x86_64_v3-linux-gnu/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ spack:
- py-mypy
- py-black
- py-flake8
- py-ruff
- py-ty
# cli dev tools
- ripgrep
- gh
Expand Down Expand Up @@ -85,7 +87,6 @@ spack:
- meson
# spack developer tools
# style
- "py-mypy@0.900: ^py-mypy-extensions@:1.0"
- py-pytest@9.0.3
- py-ruff@0.15.0
- py-ty@0.0.20
Expand Down
Loading