summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <me@harmenstoppels.nl>2023-10-25 20:55:04 +0200
committerGitHub <noreply@github.com>2023-10-25 11:55:04 -0700
commitc0a4be156ceb02773687e3dd8d95af772415b1ab (patch)
tree051c1161fb613f0505e3c4355c76944434929e6d
parent0c30418732d67afd224172763e07d64316ae7933 (diff)
downloadspack-c0a4be156ceb02773687e3dd8d95af772415b1ab.tar.gz
spack-c0a4be156ceb02773687e3dd8d95af772415b1ab.tar.bz2
spack-c0a4be156ceb02773687e3dd8d95af772415b1ab.tar.xz
spack-c0a4be156ceb02773687e3dd8d95af772415b1ab.zip
ci: don't put compilers in config (#40700)
* ci: don't register detectable compilers Cause they go out of sync... * remove intel compiler, it can be detected too * Do not run spack compiler find since compilers are registered in concretize job already * trilinos: work around +stokhos +cuda +superlu-dist bug due to EMPTY macro
-rw-r--r--share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml1
-rw-r--r--share/spack/gitlab/cloud_pipelines/configs/ci.yaml2
-rw-r--r--share/spack/gitlab/cloud_pipelines/stacks/e4s-neoverse_v1/spack.yaml15
-rw-r--r--share/spack/gitlab/cloud_pipelines/stacks/e4s-oneapi/spack.yaml28
-rw-r--r--share/spack/gitlab/cloud_pipelines/stacks/e4s-power/spack.yaml15
-rw-r--r--share/spack/gitlab/cloud_pipelines/stacks/e4s-rocm-external/spack.yaml15
-rw-r--r--share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml15
-rw-r--r--var/spack/repos/builtin/packages/trilinos/package.py5
8 files changed, 7 insertions, 89 deletions
diff --git a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml
index f4850a17ba..579153bdfd 100644
--- a/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml
+++ b/share/spack/gitlab/cloud_pipelines/.gitlab-ci.yml
@@ -140,6 +140,7 @@ default:
- spack --version
- cd share/spack/gitlab/cloud_pipelines/stacks/${SPACK_CI_STACK_NAME}
- spack env activate --without-view .
+ - spack compiler find
- export SPACK_CI_CONFIG_ROOT="${SPACK_ROOT}/share/spack/gitlab/cloud_pipelines/configs"
- spack python -c "import os,sys; print(os.path.expandvars(sys.stdin.read()))"
< "${SPACK_CI_CONFIG_ROOT}/${PIPELINE_MIRROR_TEMPLATE}" > "${SPACK_CI_CONFIG_ROOT}/mirrors.yaml"
diff --git a/share/spack/gitlab/cloud_pipelines/configs/ci.yaml b/share/spack/gitlab/cloud_pipelines/configs/ci.yaml
index 9aad850b5d..29dc993a15 100644
--- a/share/spack/gitlab/cloud_pipelines/configs/ci.yaml
+++ b/share/spack/gitlab/cloud_pipelines/configs/ci.yaml
@@ -12,7 +12,7 @@ ci:
before_script-:
- - spack list --count # ensure that spack's cache is populated
- - spack env activate --without-view ${SPACK_CONCRETE_ENV_DIR}
- - spack compiler find
+ - spack compiler list
- if [ -n "$SPACK_BUILD_JOBS" ]; then spack config add "config:build_jobs:$SPACK_BUILD_JOBS"; fi
- - mkdir -p ${SPACK_ARTIFACTS_ROOT}/user_data
# AWS runners mount E4S public key (verification), UO runners mount public/private (signing/verification)
diff --git a/share/spack/gitlab/cloud_pipelines/stacks/e4s-neoverse_v1/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/e4s-neoverse_v1/spack.yaml
index d42e5f1fca..47f0b55f9f 100644
--- a/share/spack/gitlab/cloud_pipelines/stacks/e4s-neoverse_v1/spack.yaml
+++ b/share/spack/gitlab/cloud_pipelines/stacks/e4s-neoverse_v1/spack.yaml
@@ -54,21 +54,6 @@ spack:
cuda:
version: [11.8.0]
- compilers:
- - compiler:
- spec: gcc@11.4.0
- paths:
- cc: /usr/bin/gcc
- cxx: /usr/bin/g++
- f77: /usr/bin/gfortran
- fc: /usr/bin/gfortran
- flags: {}
- operating_system: ubuntu20.04
- target: aarch64
- modules: []
- environment: {}
- extra_rpaths: []
-
specs:
# CPU
- adios
diff --git a/share/spack/gitlab/cloud_pipelines/stacks/e4s-oneapi/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/e4s-oneapi/spack.yaml
index 605a69e4a5..8e420a5b75 100644
--- a/share/spack/gitlab/cloud_pipelines/stacks/e4s-oneapi/spack.yaml
+++ b/share/spack/gitlab/cloud_pipelines/stacks/e4s-oneapi/spack.yaml
@@ -5,34 +5,6 @@ spack:
reuse: false
unify: false
- compilers:
- - compiler:
- spec: oneapi@2023.2.1
- paths:
- cc: /opt/intel/oneapi/compiler/2023.2.1/linux/bin/icx
- cxx: /opt/intel/oneapi/compiler/2023.2.1/linux/bin/icpx
- f77: /opt/intel/oneapi/compiler/2023.2.1/linux/bin/ifx
- fc: /opt/intel/oneapi/compiler/2023.2.1/linux/bin/ifx
- flags: {}
- operating_system: ubuntu20.04
- target: x86_64
- modules: []
- environment: {}
- extra_rpaths: []
- - compiler:
- spec: gcc@=11.4.0
- paths:
- cc: /usr/bin/gcc
- cxx: /usr/bin/g++
- f77: /usr/bin/gfortran
- fc: /usr/bin/gfortran
- flags: {}
- operating_system: ubuntu20.04
- target: x86_64
- modules: []
- environment: {}
- extra_rpaths: []
-
packages:
all:
require: '%oneapi target=x86_64_v3'
diff --git a/share/spack/gitlab/cloud_pipelines/stacks/e4s-power/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/e4s-power/spack.yaml
index 10bf4bc57d..95f8d37e04 100644
--- a/share/spack/gitlab/cloud_pipelines/stacks/e4s-power/spack.yaml
+++ b/share/spack/gitlab/cloud_pipelines/stacks/e4s-power/spack.yaml
@@ -5,21 +5,6 @@ spack:
reuse: false
unify: false
- compilers:
- - compiler:
- spec: gcc@9.4.0
- paths:
- cc: /usr/bin/gcc
- cxx: /usr/bin/g++
- f77: /usr/bin/gfortran
- fc: /usr/bin/gfortran
- flags: {}
- operating_system: ubuntu20.04
- target: ppc64le
- modules: []
- environment: {}
- extra_rpaths: []
-
packages:
all:
require: "%gcc@9.4.0 target=ppc64le"
diff --git a/share/spack/gitlab/cloud_pipelines/stacks/e4s-rocm-external/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/e4s-rocm-external/spack.yaml
index b5ac172077..c11dcf6ae1 100644
--- a/share/spack/gitlab/cloud_pipelines/stacks/e4s-rocm-external/spack.yaml
+++ b/share/spack/gitlab/cloud_pipelines/stacks/e4s-rocm-external/spack.yaml
@@ -5,21 +5,6 @@ spack:
reuse: false
unify: false
- compilers:
- - compiler:
- spec: gcc@=11.4.0
- paths:
- cc: /usr/bin/gcc
- cxx: /usr/bin/g++
- f77: /usr/bin/gfortran
- fc: /usr/bin/gfortran
- flags: {}
- operating_system: ubuntu20.04
- target: x86_64
- modules: []
- environment: {}
- extra_rpaths: []
-
packages:
all:
require: '%gcc target=x86_64_v3'
diff --git a/share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml b/share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml
index 710360172a..ea9bd5fe70 100644
--- a/share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml
+++ b/share/spack/gitlab/cloud_pipelines/stacks/e4s/spack.yaml
@@ -5,21 +5,6 @@ spack:
reuse: false
unify: false
- compilers:
- - compiler:
- spec: gcc@=11.4.0
- paths:
- cc: /usr/bin/gcc
- cxx: /usr/bin/g++
- f77: /usr/bin/gfortran
- fc: /usr/bin/gfortran
- flags: {}
- operating_system: ubuntu20.04
- target: x86_64
- modules: []
- environment: {}
- extra_rpaths: []
-
packages:
all:
require: '%gcc target=x86_64_v3'
diff --git a/var/spack/repos/builtin/packages/trilinos/package.py b/var/spack/repos/builtin/packages/trilinos/package.py
index 9af8ab14dc..1681ac35d2 100644
--- a/var/spack/repos/builtin/packages/trilinos/package.py
+++ b/var/spack/repos/builtin/packages/trilinos/package.py
@@ -358,6 +358,11 @@ class Trilinos(CMakePackage, CudaPackage, ROCmPackage):
conflicts("@:13.0.1 +cuda", when="^cuda@11:")
# Build hangs with CUDA 11.6 (see #28439)
conflicts("+cuda +stokhos", when="^cuda@11.6:")
+ # superlu-dist defines a macro EMPTY which conflicts with a header in cuda
+ # used when building stokhos
+ # Fix: https://github.com/xiaoyeli/superlu_dist/commit/09cb1430f7be288fd4d75b8ed461aa0b7e68fefe
+ # is not tagged yet. See discussion here https://github.com/trilinos/Trilinos/issues/11839
+ conflicts("+cuda +stokhos +superlu-dist")
# Cuda UVM must be enabled prior to 13.2
# See https://github.com/spack/spack/issues/28869
conflicts("~uvm", when="@:13.1 +cuda")