Skip to content

Commit

Permalink
update ci (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
RMeli authored May 28, 2024
1 parent 8804535 commit fc6b286
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
4 changes: 2 additions & 2 deletions ci/ci-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ stages:
reports:
dotenv: build.env
variables:
SPACK_SHA: 8160a96b27aadf726f4368fe10fe79ceda8007d3
SPACK_BUILDCACHE: develop-2024-05-05
SPACK_SHA: develop-2024-05-26
SPACK_BUILDCACHE: develop-2024-05-26
SPACK_DLAF_FORTRAN_REPO: ./spack
DOCKER_BUILD_ARGS: '[
"BASE_IMAGE",
Expand Down
7 changes: 3 additions & 4 deletions ci/docker/build.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ RUN apt-get -yqq update && \
apt-get -yqq install --no-install-recommends \
software-properties-common \
build-essential gfortran \
autoconf automake ninja-build pkg-config \
autoconf automake libssl-dev ninja-build pkg-config \
${EXTRA_APTGET} \
gawk \
python3 python3-distutils \
git tar wget curl libcurl4-openssl-dev ca-certificates gpg-agent jq tzdata \
git tar wget curl ca-certificates gpg-agent jq tzdata \
patchelf unzip file gnupg2 libncurses-dev && \
rm -rf /var/lib/apt/lists/*

Expand All @@ -45,7 +45,6 @@ RUN spack external find \
automake \
bzip2 \
cuda \
curl \
diffutils \
findutils \
git \
Expand All @@ -59,7 +58,7 @@ RUN spack external find \

# Enable Spack build cache
ARG SPACK_BUILDCACHE
RUN spack mirror add develop-2024-03-24 https://binaries.spack.io/${SPACK_BUILDCACHE}
RUN spack mirror add ${SPACK_BUILDCACHE} https://binaries.spack.io/${SPACK_BUILDCACHE}
RUN spack buildcache keys --install --trust

# Add custom Spack repo
Expand Down
3 changes: 3 additions & 0 deletions ci/docker/common.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
packages:
all:
target: [x86_64]
require:
- "platform=linux"
- "os=ubuntu22.04"
blas:
require: 'intel-oneapi-mkl'
lapack:
Expand Down

0 comments on commit fc6b286

Please sign in to comment.