From a95c410947db8b98b00cc0f079dc7842ea50cb12 Mon Sep 17 00:00:00 2001 From: Ujwal Kundur <ujwal.kundur@gmail.com> Date: Tue, 21 Jun 2022 00:14:15 +0530 Subject: [PATCH] Integration Test Scenario #3 Previous build fails because spack concretizes environment to use oneapi-2022.0.0 compiler instead of gcc mentioned in spack.yaml This test modifies spack.yaml to use intel compiler instead to check if dependencies compile successfully. --- containers/oneapi/onedev.Dockerfile | 1 + spack.yaml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/containers/oneapi/onedev.Dockerfile b/containers/oneapi/onedev.Dockerfile index c286adb37..0a37a3457 100644 --- a/containers/oneapi/onedev.Dockerfile +++ b/containers/oneapi/onedev.Dockerfile @@ -67,6 +67,7 @@ RUN --mount=type=cache,target=/var/cache/apt \ wget \ && localedef -i en_US -f UTF-8 en_US.UTF-8 \ && gcc --version \ + && ln -s /usr/bin/python /usr/bin/python3 \ && curl -L \ "https://packages.gitlab.com/install/repositories/runner/gitlab-runner/script.deb.sh" \ | bash \ diff --git a/spack.yaml b/spack.yaml index f87e73c8b..44d6aa428 100644 --- a/spack.yaml +++ b/spack.yaml @@ -42,5 +42,5 @@ spack: unify: true packages: all: - compiler: [gcc] + compiler: [intel] view: /usr/local -- GitLab