refactor: split ai/ into hermes/ and ollama/ directories with gfx906 build #19
@@ -52,10 +52,8 @@ RUN mkdir -p build && cd build && \
|
||||
cmake --build . -- -l $(nproc) && \
|
||||
cmake --install . --component HIP --strip --prefix /build/dist
|
||||
|
||||
# Build the Go binary
|
||||
# Build the Go binary (use GCC for CGo linking)
|
||||
ENV CGO_ENABLED=1
|
||||
ENV CC=clang
|
||||
ENV CXX=clang++
|
||||
RUN go build -trimpath -o /build/dist/ollama .
|
||||
|
||||
# ---------- Runtime image ----------
|
||||
|
||||
Reference in New Issue
Block a user