Skip to content

Commit a1912c7

Browse files
committed
devops: fix copying process
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com>
1 parent 03e642a commit a1912c7

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.devops/s390x.Dockerfile

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \
1313
rm -rf /var/lib/apt/lists/*
1414

1515
WORKDIR /app
16-
COPY CMakeLists.txt .
17-
COPY CMakePresets.json .
16+
COPY . .
1817

1918
RUN --mount=type=cache,target=/root/.ccache \
2019
--mount=type=cache,target=/app/build \
@@ -27,12 +26,7 @@ RUN --mount=type=cache,target=/root/.ccache \
2726
-DGGML_BACKEND_DL=ON \
2827
-DGGML_CPU_ALL_VARIANTS=OFF \
2928
-DGGML_BLAS=ON \
30-
-DGGML_BLAS_VENDOR=OpenBLAS
31-
32-
COPY . .
33-
34-
RUN --mount=type=cache,target=/root/.ccache \
35-
--mount=type=cache,target=/app/build \
29+
-DGGML_BLAS_VENDOR=OpenBLAS && \
3630
cmake --build build --config Release -j $(nproc) && \
3731
cmake --install build --prefix /opt/llama.cpp
3832

0 commit comments

Comments
 (0)