Skip to content

Commit

Permalink
Use ubuntu 2024.04 in CI (#1140)
Browse files Browse the repository at this point in the history
  • Loading branch information
rasolca authored Sep 17, 2024
1 parent 36c4cfa commit a64c822
Show file tree
Hide file tree
Showing 24 changed files with 142 additions and 127 deletions.
10 changes: 5 additions & 5 deletions ci/.gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
include:
- local: 'ci/cpu/asan_ubsan_lsan.yml'
- local: 'ci/cpu/clang12_release.yml'
- local: 'ci/cpu/clang13_release_cxx20.yml'
- local: 'ci/cpu/clang14_release_stdexec.yml'
- local: 'ci/cpu/clang15_release_cxx20.yml'
- local: 'ci/cpu/clang15_release_stdexec.yml'
- local: 'ci/cpu/clang15_release.yml'
- local: 'ci/cpu/clang16_release.yml'
- local: 'ci/cpu/gcc11_codecov.yml'
- local: 'ci/cpu/gcc11_release.yml'
- local: 'ci/cpu/clang18_release.yml'
# https://github.com/eth-cscs/DLA-Future/issues/1184
# - local: 'ci/cpu/gcc11_release_stdexec.yml'
# - local: 'ci/cpu/gcc11_debug_stdexec.yml'
- local: 'ci/cpu/gcc12_release_cxx20.yml'
- local: 'ci/cpu/gcc13_codecov.yml'
- local: 'ci/cpu/gcc13_release.yml'
- local: 'ci/cuda/gcc11_release.yml'
- local: 'ci/cuda/gcc11_release_scalapack.yml'
- local: 'ci/cuda/gcc11_codecov.yml'
Expand Down
6 changes: 4 additions & 2 deletions ci/common-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ stages:
# default configuration variables
# can be overwritten in the configuration as needed
DOCKERFILE: ci/docker/build.Dockerfile
BASE_IMAGE: docker.io/ubuntu:22.04
BASE_IMAGE: docker.io/ubuntu:24.04
EXTRA_APTGET: ""
CXXSTD: 17
USE_MKL: "OFF"
Expand All @@ -76,15 +76,17 @@ stages:
"BUILD_IMAGE",
"DEPLOY_BASE_IMAGE",
"EXTRA_APTGET_DEPLOY",
"PIP_OPTS",
"USE_MKL",
"USE_ROCBLAS",
"NUM_PROCS=$NUM_CORES_BUILD_DLAF"
]'
# default configuration variables
# can be overwritten in the configuration as needed
DOCKERFILE: ci/docker/deploy.Dockerfile
DEPLOY_BASE_IMAGE: docker.io/ubuntu:22.04
DEPLOY_BASE_IMAGE: docker.io/ubuntu:24.04
EXTRA_APTGET_DEPLOY: ""
PIP_OPTS: ""
artifacts:
paths:
- pipeline.yml
Expand Down
6 changes: 3 additions & 3 deletions ci/cpu/asan_ubsan_lsan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ include:
cpu asan ubsan lsan deps:
extends: .build_deps_common
variables:
EXTRA_APTGET: "clang-15 libomp-15-dev"
COMPILER: clang@15
EXTRA_APTGET: "clang-18 libclang-rt-18-dev libomp-18-dev"
COMPILER: clang@18
USE_MKL: "ON"
SPACK_ENVIRONMENT: ci/docker/asan-ubsan-lsan.yaml
BUILD_IMAGE: $CSCS_REGISTRY_PATH/cpu-asan-ubsan-lsan/build
Expand All @@ -19,7 +19,7 @@ cpu asan ubsan lsan build:
variables:
DEPLOY_IMAGE: $CSCS_REGISTRY_PATH/cpu-asan-ubsan-lsan/deploy:$CI_COMMIT_SHA
# For symbolizing stacktraces with llvm-symbolizer
EXTRA_APTGET_DEPLOY: "llvm-15"
EXTRA_APTGET_DEPLOY: "llvm-18"

cpu asan ubsan lsan test:
extends: .run_common
Expand Down
29 changes: 0 additions & 29 deletions ci/cpu/clang12_release.yml

This file was deleted.

30 changes: 0 additions & 30 deletions ci/cpu/clang13_release_cxx20.yml

This file was deleted.

30 changes: 0 additions & 30 deletions ci/cpu/clang14_release_stdexec.yml

This file was deleted.

30 changes: 30 additions & 0 deletions ci/cpu/clang15_release_cxx20.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
include:
- local: 'ci/common-ci.yml'

cpu clang15 cxx20 release deps:
extends: .build_deps_common
variables:
EXTRA_APTGET: "clang-15 libomp-15-dev"
COMPILER: clang@15
CXXSTD: 20
SPACK_ENVIRONMENT: ci/docker/release-cpu.yaml
USE_MKL: "ON"
BUILD_IMAGE: $CSCS_REGISTRY_PATH/cpu-clang15-20-release/build

cpu clang15 cxx20 release build:
extends:
- .build_common
- .build_for_daint-mc
needs:
- cpu clang15 cxx20 release deps
variables:
DEPLOY_IMAGE: $CSCS_REGISTRY_PATH/cpu-clang15-cxx20-release/deploy:$CI_COMMIT_SHA

cpu clang15 cxx20 release test:
extends: .run_common
needs:
- cpu clang15 cxx20 release build
trigger:
include:
- artifact: pipeline.yml
job: cpu clang15 cxx20 release build
30 changes: 30 additions & 0 deletions ci/cpu/clang15_release_stdexec.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
include:
- local: 'ci/common-ci.yml'

cpu clang15 stdexec release deps:
extends: .build_deps_common
variables:
EXTRA_APTGET: "clang-15 libomp-15-dev"
COMPILER: clang@15
CXXSTD: 20
USE_MKL: "ON"
SPACK_ENVIRONMENT: ci/docker/release-cpu-stdexec.yaml
BUILD_IMAGE: $CSCS_REGISTRY_PATH/cpu-clang15-stdexec-release/build

cpu clang15 stdexec release build:
extends:
- .build_common
- .build_for_daint-mc
needs:
- cpu clang15 stdexec release deps
variables:
DEPLOY_IMAGE: $CSCS_REGISTRY_PATH/cpu-clang15-stdexec-release/deploy:$CI_COMMIT_SHA

cpu clang15 stdexec release test:
extends: .run_common
needs:
- cpu clang15 stdexec release build
trigger:
include:
- artifact: pipeline.yml
job: cpu clang15 stdexec release build
2 changes: 0 additions & 2 deletions ci/cpu/clang16_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ cpu clang16 release deps:
COMPILER: clang@16
USE_MKL: "ON"
SPACK_ENVIRONMENT: ci/docker/release-cpu.yaml
BASE_IMAGE: docker.io/ubuntu:23.10
BUILD_IMAGE: $CSCS_REGISTRY_PATH/cpu-clang16-release/build

cpu clang16 release build:
Expand All @@ -19,7 +18,6 @@ cpu clang16 release build:
- cpu clang16 release deps
variables:
DEPLOY_IMAGE: $CSCS_REGISTRY_PATH/cpu-clang16-release/deploy:$CI_COMMIT_SHA
DEPLOY_BASE_IMAGE: docker.io/ubuntu:23.10

cpu clang16 release test:
extends: .run_common
Expand Down
29 changes: 29 additions & 0 deletions ci/cpu/clang18_release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
include:
- local: 'ci/common-ci.yml'

cpu clang18 release deps:
extends: .build_deps_common
variables:
EXTRA_APTGET: "clang-18 libomp-18-dev"
COMPILER: clang@18
USE_MKL: "ON"
SPACK_ENVIRONMENT: ci/docker/release-cpu.yaml
BUILD_IMAGE: $CSCS_REGISTRY_PATH/cpu-clang18-release/build

cpu clang18 release build:
extends:
- .build_common
- .build_for_daint-mc
needs:
- cpu clang18 release deps
variables:
DEPLOY_IMAGE: $CSCS_REGISTRY_PATH/cpu-clang18-release/deploy:$CI_COMMIT_SHA

cpu clang18 release test:
extends: .run_common
needs:
- cpu clang18 release build
trigger:
include:
- artifact: pipeline.yml
job: cpu clang18 release build
1 change: 1 addition & 0 deletions ci/cpu/gcc11_debug_stdexec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ include:
cpu gcc11 stdexec debug deps:
extends: .build_deps_common
variables:
EXTRA_APTGET: "gcc-11 g++-11 gfortran-11"
COMPILER: gcc@11
CXXSTD: 20
SPACK_ENVIRONMENT: ci/docker/debug-cpu-stdexec.yaml
Expand Down
1 change: 1 addition & 0 deletions ci/cpu/gcc11_release_stdexec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ include:
cpu gcc11 stdexec release deps:
extends: .build_deps_common
variables:
EXTRA_APTGET: "gcc-11 g++-11 gfortran-11"
COMPILER: gcc@11
CXXSTD: 20
USE_MKL: "ON"
Expand Down
2 changes: 1 addition & 1 deletion ci/cpu/gcc12_release_cxx20.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include:
cpu gcc12 cxx20 release deps:
extends: .build_deps_common
variables:
EXTRA_APTGET: "g++-12 gfortran-12"
EXTRA_APTGET: "gcc-12 g++-12 gfortran-12"
COMPILER: gcc@12
CXXSTD: 20
SPACK_ENVIRONMENT: ci/docker/release-cpu.yaml
Expand Down
19 changes: 10 additions & 9 deletions ci/cpu/gcc11_codecov.yml → ci/cpu/gcc13_codecov.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,30 @@
include:
- local: 'ci/common-ci.yml'

cpu gcc11 codecov deps:
cpu gcc13 codecov deps:
extends: .build_deps_common
variables:
COMPILER: gcc@11
COMPILER: gcc@13
SPACK_ENVIRONMENT: ci/docker/debug-cpu.yaml
BUILD_IMAGE: $CSCS_REGISTRY_PATH/cpu-gcc11-codecov/build
BUILD_IMAGE: $CSCS_REGISTRY_PATH/cpu-gcc13-codecov/build
USE_CODECOV: "true"

cpu gcc11 codecov build:
cpu gcc13 codecov build:
extends:
- .build_common
- .build_for_daint-mc
needs:
- cpu gcc11 codecov deps
- cpu gcc13 codecov deps
variables:
DOCKERFILE: ci/docker/codecov.Dockerfile
DEPLOY_IMAGE: $CSCS_REGISTRY_PATH/cpu-gcc11-codecov/deploy:$CI_COMMIT_SHA
DEPLOY_IMAGE: $CSCS_REGISTRY_PATH/cpu-gcc13-codecov/deploy:$CI_COMMIT_SHA
PIP_OPTS: "--break-system-packages"

cpu gcc11 codecov test:
cpu gcc13 codecov test:
extends: .run_common
needs:
- cpu gcc11 codecov build
- cpu gcc13 codecov build
trigger:
include:
- artifact: pipeline.yml
job: cpu gcc11 codecov build
job: cpu gcc13 codecov build
18 changes: 9 additions & 9 deletions ci/cpu/gcc11_release.yml → ci/cpu/gcc13_release.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,28 @@
include:
- local: 'ci/common-ci.yml'

cpu gcc11 release deps:
cpu gcc13 release deps:
extends: .build_deps_common
variables:
COMPILER: gcc@11
COMPILER: gcc@13
USE_MKL: "ON"
SPACK_ENVIRONMENT: ci/docker/release-cpu.yaml
BUILD_IMAGE: $CSCS_REGISTRY_PATH/cpu-gcc11-release/build
BUILD_IMAGE: $CSCS_REGISTRY_PATH/cpu-gcc13-release/build

cpu gcc11 release build:
cpu gcc13 release build:
extends:
- .build_common
- .build_for_daint-mc
needs:
- cpu gcc11 release deps
- cpu gcc13 release deps
variables:
DEPLOY_IMAGE: $CSCS_REGISTRY_PATH/cpu-gcc11-release/deploy:$CI_COMMIT_SHA
DEPLOY_IMAGE: $CSCS_REGISTRY_PATH/cpu-gcc13-release/deploy:$CI_COMMIT_SHA

cpu gcc11 release test:
cpu gcc13 release test:
extends: .run_common
needs:
- cpu gcc11 release build
- cpu gcc13 release build
trigger:
include:
- artifact: pipeline.yml
job: cpu gcc11 release build
job: cpu gcc13 release build
2 changes: 1 addition & 1 deletion ci/ctest_to_gitlab.sh
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ JOB_TEMPLATE="
variables:
SLURM_CPUS_PER_TASK: {{CPUS_PER_TASK}}
SLURM_NTASKS: {{NTASKS}}
SLURM_TIMELIMIT: '20:00'
SLURM_TIMELIMIT: '25:00'
SLURM_UNBUFFEREDIO: 1
SLURM_WAIT: 0
PULL_IMAGE: 'YES'
Expand Down
1 change: 1 addition & 0 deletions ci/cuda/gcc11_codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ cuda gcc11 codecov build:
- cuda gcc11 codecov deps
variables:
DOCKERFILE: ci/docker/codecov.Dockerfile
DEPLOY_BASE_IMAGE: docker.io/ubuntu:22.04
DEPLOY_IMAGE: $CSCS_REGISTRY_PATH/cuda-gcc11-codecov/deploy:$CI_COMMIT_SHA

cuda gcc11 codecov test:
Expand Down
1 change: 1 addition & 0 deletions ci/cuda/gcc11_debug_scalapack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ cuda gcc11 debug scalapack build:
needs:
- cuda gcc11 debug scalapack deps
variables:
DEPLOY_BASE_IMAGE: docker.io/ubuntu:22.04
DEPLOY_IMAGE: $CSCS_REGISTRY_PATH/cuda-gcc11-scalapack-debug/deploy:$CI_COMMIT_SHA

cuda gcc11 debug scalapack test:
Expand Down
Loading

0 comments on commit a64c822

Please sign in to comment.