From a1912c7fa96c599c584967a9d46b52836f779515 Mon Sep 17 00:00:00 2001 From: Aaron Teo Date: Tue, 9 Sep 2025 18:07:59 +0800 Subject: [PATCH] devops: fix copying process Signed-off-by: Aaron Teo --- .devops/s390x.Dockerfile | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.devops/s390x.Dockerfile b/.devops/s390x.Dockerfile index 2b4ce3a8d9..633f244980 100644 --- a/.devops/s390x.Dockerfile +++ b/.devops/s390x.Dockerfile @@ -13,8 +13,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ rm -rf /var/lib/apt/lists/* WORKDIR /app -COPY CMakeLists.txt . -COPY CMakePresets.json . +COPY . . RUN --mount=type=cache,target=/root/.ccache \ --mount=type=cache,target=/app/build \ @@ -27,12 +26,7 @@ RUN --mount=type=cache,target=/root/.ccache \ -DGGML_BACKEND_DL=ON \ -DGGML_CPU_ALL_VARIANTS=OFF \ -DGGML_BLAS=ON \ - -DGGML_BLAS_VENDOR=OpenBLAS - -COPY . . - -RUN --mount=type=cache,target=/root/.ccache \ - --mount=type=cache,target=/app/build \ + -DGGML_BLAS_VENDOR=OpenBLAS && \ cmake --build build --config Release -j $(nproc) && \ cmake --install build --prefix /opt/llama.cpp