File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -4,19 +4,15 @@ FROM ubuntu:$UBUNTU_VERSION AS build
44
55ARG TARGETARCH
66
7- ARG GGML_CPU_ARM_ARCH=armv8-a
8-
97RUN apt-get update && \
108 apt-get install -y build-essential git cmake libcurl4-openssl-dev
119
1210WORKDIR /app
1311
1412COPY . .
1513
16- RUN if [ "$TARGETARCH" = "amd64" ]; then \
14+ RUN if [ "$TARGETARCH" = "amd64" ] || [ "$TARGETARCH" = "arm64" ] ; then \
1715 cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DGGML_NATIVE=OFF -DLLAMA_BUILD_TESTS=OFF -DGGML_BACKEND_DL=ON -DGGML_CPU_ALL_VARIANTS=ON; \
18- elif [ "$TARGETARCH" = "arm64" ]; then \
19- cmake -S . -B build -DCMAKE_BUILD_TYPE=Release -DGGML_NATIVE=OFF -DLLAMA_BUILD_TESTS=OFF -DGGML_CPU_ARM_ARCH=${GGML_CPU_ARM_ARCH}; \
2016 else \
2117 echo "Unsupported architecture" ; \
2218 exit 1; \
You can’t perform that action at this time.
0 commit comments