Skip to content

Commit

Permalink
Fix failing Spack unit tests + use latest EB and Spack
Browse files Browse the repository at this point in the history
  • Loading branch information
vkarak committed Oct 23, 2024
1 parent 88e3eb8 commit 8c6847a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
8 changes: 4 additions & 4 deletions ci-scripts/dockerfiles/eb-spack-howto.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@

FROM ghcr.io/reframe-hpc/lmod:8.4.12

ENV _SPACK_VER=0.16
ENV _EB_VER=4.4.1
ENV _SPACK_VER=0.22.2
ENV _EB_VER=4.9.4


# Install ReFrame unit test requirements
RUN apt-get -y update && \
apt-get -y install gcc git make python3 python3-pip
apt-get -y install gcc git make python3 python3-pip curl

# ReFrame user
RUN useradd -ms /bin/bash rfmuser

USER rfmuser

# Install Spack
RUN git clone --branch releases/v${_SPACK_VER} https://github.com/spack/spack ~/spack && \
RUN git clone --branch v${_SPACK_VER} https://github.com/spack/spack ~/spack && \
cd ~/spack

RUN pip3 install easybuild==${_EB_VER}
Expand Down
3 changes: 1 addition & 2 deletions reframe/frontend/autodetect.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,7 @@ def __enter__(self):
self._workdir = os.path.abspath(
tempfile.mkdtemp(prefix='rfm.', dir=self._prefix)
)
paths = ['bin/', 'reframe/', 'tools/',
'bootstrap.sh', 'requirements.txt']
paths = ['bin/', 'reframe/', 'bootstrap.sh', 'requirements.txt']
use_pip = False
try:
for p in paths:
Expand Down

0 comments on commit 8c6847a

Please sign in to comment.