Skip to content

Commit e9b3533

Browse files
committed
Merge branch 'main' into multi-stage-time-integrator
2 parents ac1da7e + 4ee88fb commit e9b3533

File tree

132 files changed

+11264
-10663
lines changed

Some content is hidden

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

132 files changed

+11264
-10663
lines changed

.github/azure/startVM.ps1

Lines changed: 0 additions & 49 deletions
This file was deleted.

.github/azure/stopVM.ps1

Lines changed: 0 additions & 46 deletions
This file was deleted.

.github/workflows/asv.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636

3737
steps:
3838
- name: Checkout devito
39-
uses: actions/checkout@v4
39+
uses: actions/checkout@v5
4040

4141
- name: Set VIRTUAL_ENV
4242
run: |
@@ -61,7 +61,7 @@ jobs:
6161
asv run -v --show-stderr --config benchmarks/regression/asv.conf.json --cpu-affinity 0-7 --machine i7-6700K
6262
6363
- name: Checkout asv-results branch
64-
uses: actions/checkout@v4
64+
uses: actions/checkout@v5
6565
with:
6666
ref: asv-results
6767
clean: false

.github/workflows/docker-bases.yml

Lines changed: 57 additions & 67 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ concurrency:
77
on:
88
push:
99
paths:
10-
- '/docker/Dockerfile.nvidia'
11-
- '/docker/Dockerfile.cpu'
12-
- '/docker/Dockerfile.amd'
13-
- '/docker/Dockerfile.intel'
10+
- "/docker/Dockerfile.nvidia"
11+
- "/docker/Dockerfile.cpu"
12+
- "/docker/Dockerfile.amd"
13+
- "/docker/Dockerfile.intel"
1414
workflow_dispatch:
1515
inputs:
1616
cpu:
@@ -27,15 +27,15 @@ on:
2727
default: false
2828

2929
tags:
30-
description: 'Build compiler bases'
30+
description: "Build compiler bases"
3131
schedule:
3232
# Run once a month
3333
- cron: "0 0 1 * *"
3434

3535
jobs:
36-
#######################################################
37-
############## Basic gcc CPU ##########################
38-
#######################################################
36+
#######################################################
37+
############## Basic gcc CPU ##########################
38+
#######################################################
3939
deploy-cpu-bases:
4040
if: inputs.cpu
4141
name: "cpu-base"
@@ -49,7 +49,7 @@ jobs:
4949

5050
steps:
5151
- name: Checkout devito
52-
uses: actions/checkout@v4
52+
uses: actions/checkout@v5
5353

5454
- name: Check event name
5555
run: echo ${{ github.event_name }}
@@ -66,22 +66,18 @@ jobs:
6666
username: ${{ secrets.DOCKER_USERNAME }}
6767
password: ${{ secrets.DOCKER_PASSWORD }}
6868

69-
- name: cleanup
70-
run: docker system prune -a -f
71-
7269
- name: GCC image
7370
uses: docker/build-push-action@v6
7471
with:
7572
context: .
76-
file: './docker/Dockerfile.cpu'
73+
file: "./docker/Dockerfile.cpu"
7774
push: true
78-
build-args: 'gcc=${{ matrix.gcc }}'
79-
tags: 'devitocodes/bases:cpu-gcc${{ matrix.gcc }}'
80-
75+
build-args: "gcc=${{ matrix.gcc }}"
76+
tags: "devitocodes/bases:cpu-gcc${{ matrix.gcc }}"
8177

82-
#######################################################
83-
############## Intel OneApi CPU #######################
84-
#######################################################
78+
#######################################################
79+
############## Intel OneApi CPU #######################
80+
#######################################################
8581
deploy-oneapi-bases:
8682
if: inputs.intel
8783
name: "oneapi-base"
@@ -91,7 +87,7 @@ jobs:
9187

9288
steps:
9389
- name: Checkout devito
94-
uses: actions/checkout@v4
90+
uses: actions/checkout@v5
9591

9692
- name: Check event name
9793
run: echo ${{ github.event_name }}
@@ -107,43 +103,39 @@ jobs:
107103
with:
108104
username: ${{ secrets.DOCKER_USERNAME }}
109105
password: ${{ secrets.DOCKER_PASSWORD }}
110-
111-
- name: cleanup
112-
run: docker system prune -a -f
113-
114106
- name: ICX image
115107
uses: docker/build-push-action@v6
116108
with:
117109
context: .
118-
file: './docker/Dockerfile.intel'
110+
file: "./docker/Dockerfile.intel"
119111
push: true
120-
target: 'icx'
121-
build-args: 'arch=icx'
122-
tags: 'devitocodes/bases:cpu-icx'
112+
target: "icx"
113+
build-args: "arch=icx"
114+
tags: "devitocodes/bases:cpu-icx"
123115

124116
- name: SYCL CPU image
125117
uses: docker/build-push-action@v6
126118
with:
127119
context: .
128-
file: './docker/Dockerfile.intel'
120+
file: "./docker/Dockerfile.intel"
129121
push: true
130-
target: 'cpu-sycl'
131-
build-args: 'arch=cpu-sycl'
132-
tags: 'devitocodes/bases:cpu-sycl'
122+
target: "cpu-sycl"
123+
build-args: "arch=cpu-sycl"
124+
tags: "devitocodes/bases:cpu-sycl"
133125

134126
- name: SYCL GPU image
135127
uses: docker/build-push-action@v6
136128
with:
137129
context: .
138-
file: './docker/Dockerfile.intel'
130+
file: "./docker/Dockerfile.intel"
139131
push: true
140-
target: 'gpu-sycl'
141-
build-args: 'arch=gpu-sycl'
142-
tags: 'devitocodes/bases:gpu-sycl'
132+
target: "gpu-sycl"
133+
build-args: "arch=gpu-sycl"
134+
tags: "devitocodes/bases:gpu-sycl"
143135

144-
#######################################################
145-
################### Nvidia nvhpc ######################
146-
#######################################################
136+
#######################################################
137+
################### Nvidia nvhpc ######################
138+
#######################################################
147139
deploy-nvidia-bases:
148140
if: inputs.nvidia
149141
name: "nvidia-bases"
@@ -153,7 +145,7 @@ jobs:
153145

154146
steps:
155147
- name: Checkout devito
156-
uses: actions/checkout@v4
148+
uses: actions/checkout@v5
157149

158150
- name: Check event name
159151
run: echo ${{ github.event_name }}
@@ -170,42 +162,43 @@ jobs:
170162
username: ${{ secrets.DOCKER_USERNAME }}
171163
password: ${{ secrets.DOCKER_PASSWORD }}
172164

173-
- name: cleanup
174-
run: docker system prune -a -f
175-
176165
- name: NVC image
177166
uses: docker/build-push-action@v6
178167
with:
179168
context: .
180-
file: './docker/Dockerfile.nvidia'
169+
file: "./docker/Dockerfile.nvidia"
181170
push: true
182-
target: 'nvc'
183-
build-args: 'arch=nvc'
184-
tags: 'devitocodes/bases:nvidia-nvc'
171+
target: "nvc"
172+
build-args: "arch=nvc"
173+
# Label (not tag) with runner name for traceability without changing image tags
174+
labels: builder-runner=${{ runner.name }}
175+
tags: "devitocodes/bases:nvidia-nvc"
185176

186177
- name: NVCC image
187178
uses: docker/build-push-action@v6
188179
with:
189180
context: .
190-
file: './docker/Dockerfile.nvidia'
181+
file: "./docker/Dockerfile.nvidia"
191182
push: true
192-
target: 'nvcc'
193-
build-args: 'arch=nvcc'
194-
tags: 'devitocodes/bases:nvidia-nvcc'
183+
target: "nvcc"
184+
build-args: "arch=nvcc"
185+
labels: builder-runner=${{ runner.name }}
186+
tags: "devitocodes/bases:nvidia-nvcc"
195187

196188
- name: NVC host image
197189
uses: docker/build-push-action@v6
198190
with:
199191
context: .
200-
file: './docker/Dockerfile.nvidia'
192+
file: "./docker/Dockerfile.nvidia"
201193
push: true
202-
target: 'nvc-host'
203-
build-args: 'arch=nvc-host'
204-
tags: 'devitocodes/bases:cpu-nvc'
205-
206-
#######################################################
207-
##################### AMD #############################
208-
#######################################################
194+
target: "nvc-host"
195+
build-args: "arch=nvc-host"
196+
labels: builder-runner=${{ runner.name }}
197+
tags: "devitocodes/bases:cpu-nvc"
198+
199+
#######################################################
200+
##################### AMD #############################
201+
#######################################################
209202
deploy-amd-bases:
210203
if: inputs.amd
211204
name: "amd-base"
@@ -215,7 +208,7 @@ jobs:
215208

216209
steps:
217210
- name: Checkout devito
218-
uses: actions/checkout@v4
211+
uses: actions/checkout@v5
219212

220213
- name: Check event name
221214
run: echo ${{ github.event_name }}
@@ -232,16 +225,13 @@ jobs:
232225
username: ${{ secrets.DOCKER_USERNAME }}
233226
password: ${{ secrets.DOCKER_PASSWORD }}
234227

235-
- name: cleanup
236-
run: docker system prune -a -f
237-
238228
- name: AMD image
239229
uses: docker/build-push-action@v6
240230
with:
241231
context: .
242-
file: './docker/Dockerfile.amd'
232+
file: "./docker/Dockerfile.amd"
243233
push: true
244-
target: 'amdclang'
234+
target: "amdclang"
245235
build-args: |
246236
ROCM_VERSION=5.5.1
247237
UCX_BRANCH=v1.13.1
@@ -252,9 +242,9 @@ jobs:
252242
uses: docker/build-push-action@v6
253243
with:
254244
context: .
255-
file: './docker/Dockerfile.amd'
245+
file: "./docker/Dockerfile.amd"
256246
push: true
257-
target: 'hip'
247+
target: "hip"
258248
build-args: |
259249
ROCM_VERSION=6.3.4
260250
tags: devitocodes/bases:amd-hip

0 commit comments

Comments
 (0)