Skip to content

Commit

Permalink
Set specific spack version, swap to ompi versions supported
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew-Whitlock committed Nov 13, 2024
1 parent a1a3793 commit 95bca5d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ services:
image: "bootstrap"
build:
dockerfile_inline: |
FROM spack/ubuntu-jammy:latest
FROM spack/ubuntu-jammy:0.22.2
VOLUME /configs
ARG OMPI_VERSION
ENV OMPI_VERSION=$${OMPI_VERSION}
CMD cp /configs/spack.yaml . && \
spack -e . add openmpi@$${OMPI_VERSION} && \
spack -e . containerize >/configs/spack.Dockerfile && \
sed -i -e 's/spack install/spack external find --all --not-buildable \&\& spack install/;' /configs/spack.Dockerfile
sed -i -e 's/spack install/spack info openmpi \&\& spack -d install/;' /configs/spack.Dockerfile
args:
OMPI_VERSION: main
no_cache: true
Expand Down
2 changes: 1 addition & 1 deletion .github/spack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ spack:
strip: false
images:
os: ubuntu:22.04
spack: latest
spack: 0.22.2
os_packages:
build:
- build-essential
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/ci_checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ jobs:
matrix:
ompi_version:
- main
- 5.0.5
- 5.0.3
- git.v5.0.x

steps:
- name: Checkout repository
Expand Down

0 comments on commit 95bca5d

Please sign in to comment.