mirror of
https://github.com/ravenscroftj/turbopilot.git
synced 2024-10-01 01:06:01 -04:00
correct runtime libs for openblas and clblast
This commit is contained in:
parent
812bbea9d7
commit
bea7ebdb34
2
.github/workflows/docker-image.yml
vendored
2
.github/workflows/docker-image.yml
vendored
@ -58,6 +58,7 @@ jobs:
|
|||||||
platforms: linux/amd64
|
platforms: linux/amd64
|
||||||
build_base: ubuntu:22.04
|
build_base: ubuntu:22.04
|
||||||
runtime_base: ubuntu:22.04
|
runtime_base: ubuntu:22.04
|
||||||
|
runtime_deps: libclblast1
|
||||||
extra_deps: libclblast-dev
|
extra_deps: libclblast-dev
|
||||||
cmake_args: -DGGML_CLBLAST=On
|
cmake_args: -DGGML_CLBLAST=On
|
||||||
|
|
||||||
@ -100,6 +101,7 @@ jobs:
|
|||||||
CMAKE_ARGS=${{matrix.config.cmake_args}}
|
CMAKE_ARGS=${{matrix.config.cmake_args}}
|
||||||
BUILD_BASE=${{matrix.config.build_base}}
|
BUILD_BASE=${{matrix.config.build_base}}
|
||||||
RUNTIME_BASE=${{matrix.config.runtime_base}}
|
RUNTIME_BASE=${{matrix.config.runtime_base}}
|
||||||
|
RUNTIME_DEPS=${{matrix.config.runtime_deps}}
|
||||||
|
|
||||||
|
|
||||||
- name: Build and push release (Main Latest Build)
|
- name: Build and push release (Main Latest Build)
|
||||||
|
@ -29,6 +29,10 @@ RUN make turbopilot
|
|||||||
|
|
||||||
FROM ${RUNTIME_BASE} AS runtime
|
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
|
WORKDIR /app
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user