mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	devops: fix copying process
Signed-off-by: Aaron Teo <aaron.teo1@ibm.com>
This commit is contained in:
		| @@ -13,8 +13,7 @@ RUN --mount=type=cache,target=/var/cache/apt,sharing=locked \ | |||||||
|     rm -rf /var/lib/apt/lists/* |     rm -rf /var/lib/apt/lists/* | ||||||
|  |  | ||||||
| WORKDIR /app | WORKDIR /app | ||||||
| COPY CMakeLists.txt . | COPY . . | ||||||
| COPY CMakePresets.json . |  | ||||||
|  |  | ||||||
| RUN --mount=type=cache,target=/root/.ccache \ | RUN --mount=type=cache,target=/root/.ccache \ | ||||||
|     --mount=type=cache,target=/app/build \ |     --mount=type=cache,target=/app/build \ | ||||||
| @@ -27,12 +26,7 @@ RUN --mount=type=cache,target=/root/.ccache \ | |||||||
|         -DGGML_BACKEND_DL=ON \ |         -DGGML_BACKEND_DL=ON \ | ||||||
|         -DGGML_CPU_ALL_VARIANTS=OFF \ |         -DGGML_CPU_ALL_VARIANTS=OFF \ | ||||||
|         -DGGML_BLAS=ON \ |         -DGGML_BLAS=ON \ | ||||||
|         -DGGML_BLAS_VENDOR=OpenBLAS |         -DGGML_BLAS_VENDOR=OpenBLAS && \ | ||||||
|  |  | ||||||
| COPY . . |  | ||||||
|  |  | ||||||
| RUN --mount=type=cache,target=/root/.ccache \ |  | ||||||
|     --mount=type=cache,target=/app/build \ |  | ||||||
|     cmake --build build --config Release -j $(nproc) && \ |     cmake --build build --config Release -j $(nproc) && \ | ||||||
|     cmake --install build --prefix /opt/llama.cpp |     cmake --install build --prefix /opt/llama.cpp | ||||||
|  |  | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Aaron Teo
					Aaron Teo