From 1d8398087c2a8453aca207ce38a1bfedced47cf0 Mon Sep 17 00:00:00 2001 From: U Sinha <46874465+sinha-r@users.noreply.github.com> Date: Fri, 13 Dec 2024 14:38:33 -0800 Subject: [PATCH] Update Tools/machines/perlmutter-nersc/Containerfile Co-authored-by: Axel Huebl --- Tools/machines/perlmutter-nersc/Containerfile | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/Tools/machines/perlmutter-nersc/Containerfile b/Tools/machines/perlmutter-nersc/Containerfile index 4ad4ad46196..5899ecdb297 100644 --- a/Tools/machines/perlmutter-nersc/Containerfile +++ b/Tools/machines/perlmutter-nersc/Containerfile @@ -46,12 +46,10 @@ RUN apt-get update && apt-get install -y --no-install-recommends \ FROM base AS c-blosc RUN git clone -b v1.21.1 https://github.com/Blosc/c-blosc.git /tmp/c-blosc && \ - cd /tmp/c-blosc && \ - mkdir build && cd build && \ - cmake -DCMAKE_INSTALL_PREFIX=/usr .. && \ - make -j$(nproc) && \ - make install && \ - rm -rf /tmp/c-blosc + cmake -S /tmp/c-blosc -B /tmp/c-blosc-build \ + -DCMAKE_INSTALL_PREFIX=/usr .. && \ + cmake --build /tmp/c-blosc-build --target install -j$(nproc) && \ + rm -rf /tmp/c-blosc* # Install ADIOS2 from source FROM base AS adios2