From c7b77004e35ac86bec8163f63052a5f44122b7d1 Mon Sep 17 00:00:00 2001 From: Jeffrey Morgan Date: Sat, 15 Jun 2024 23:08:09 -0400 Subject: [PATCH] docs: add missing powershell package to windows development instructions (#5075) * docs: add missing instruction for powershell build The powershell script for building Ollama on Windows now requires the `ThreadJob` module. Add this to the instructions and dependency list. * Update development.md --- docs/development.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/docs/development.md b/docs/development.md index 8c035a51..2a6886a4 100644 --- a/docs/development.md +++ b/docs/development.md @@ -114,15 +114,18 @@ If you have Docker available, you can build linux binaries with `./scripts/build ### Windows -Note: The windows build for Ollama is still under development. +Note: The Windows build for Ollama is still under development. -Install required tools: +First, install required tools: - MSVC toolchain - C/C++ and cmake as minimal requirements - Go version 1.22 or higher - MinGW (pick one variant) with GCC. - [MinGW-w64](https://www.mingw-w64.org/) - [MSYS2](https://www.msys2.org/) +- The `ThreadJob` Powershell module: `Install-Module -Name ThreadJob -Scope CurrentUser` + +Then, build the `ollama` binary: ```powershell $env:CGO_ENABLED="1"