CI: Set up temporary opt-out Vulkan support (#12614)

Initially Vulkan support in Ollama will require building from source.  Once it is
more thoroughly tested and we have fixed any critical bugs, then we can
bundle Vulkan into the official binary releases.
This commit is contained in:
Daniel Hiltgen
2025-10-15 14:18:01 -07:00
committed by GitHub
parent 75d17fc6c2
commit 8b6e5baee7
3 changed files with 41 additions and 4 deletions

View File

@@ -13,12 +13,13 @@ set -eu
. $(dirname $0)/env.sh
mkdir -p dist
NOVULKAN=${NOVULKAN:-""}
docker buildx build \
--output type=local,dest=./dist/ \
--platform=${PLATFORM} \
${OLLAMA_COMMON_BUILD_ARGS} \
--target archive \
--target archive${NOVULKAN} \
-f Dockerfile \
.