correct runtime libs for openblas and clblast

This commit is contained in:
James Ravenscroft 2023-08-26 14:16:39 +01:00
parent 812bbea9d7
commit bea7ebdb34
2 changed files with 6 additions and 0 deletions

View File

@ -58,6 +58,7 @@ jobs:
platforms: linux/amd64
build_base: ubuntu:22.04
runtime_base: ubuntu:22.04
runtime_deps: libclblast1
extra_deps: libclblast-dev
cmake_args: -DGGML_CLBLAST=On
@ -100,6 +101,7 @@ jobs:
CMAKE_ARGS=${{matrix.config.cmake_args}}
BUILD_BASE=${{matrix.config.build_base}}
RUNTIME_BASE=${{matrix.config.runtime_base}}
RUNTIME_DEPS=${{matrix.config.runtime_deps}}
- name: Build and push release (Main Latest Build)

View File

@ -29,6 +29,10 @@ RUN make turbopilot
FROM ${RUNTIME_BASE} AS runtime
ARG RUNTIME_DEPS=""
RUN if [[ -z "${RUNTIME_DEPS}" ]] ; then echo "No runtime libs required" ; else apt-get update && apt-get install -y ${RUNTIME_DEPS} ; fi
WORKDIR /app