ollama/macapp
Michael Yang dcfb7a105c
next build (#8539)
* add build to .dockerignore

* test: only build one arch

* add build to .gitignore

* fix ccache path

* filter amdgpu targets

* only filter if autodetecting

* Don't clobber gpu list for default runner

This ensures the GPU specific environment variables are set properly

* explicitly set CXX compiler for HIP

* Update build_windows.ps1

This isn't complete, but is close.  Dependencies are missing, and it only builds the "default" preset.

* build: add ollama subdir

* add .git to .dockerignore

* docs: update development.md

* update build_darwin.sh

* remove unused scripts

* llm: add cwd and build/lib/ollama to library paths

* default DYLD_LIBRARY_PATH to LD_LIBRARY_PATH in runner on macOS

* add additional cmake output vars for msvc

* interim edits to make server detection logic work with dll directories like lib/ollama/cuda_v12

* remove unncessary filepath.Dir, cleanup

* add hardware-specific directory to path

* use absolute server path

* build: linux arm

* cmake install targets

* remove unused files

* ml: visit each library path once

* build: skip cpu variants on arm

* build: install cpu targets

* build: fix workflow

* shorter names

* fix rocblas install

* docs: clean up development.md

* consistent build dir removal in development.md

* silence -Wimplicit-function-declaration build warnings in ggml-cpu

* update readme

* update development readme

* llm: update library lookup logic now that there is one runner (#8587)

* tweak development.md

* update docs

* add windows cuda/rocm tests

---------

Co-authored-by: jmorganca <jmorganca@gmail.com>
Co-authored-by: Daniel Hiltgen <daniel@ollama.com>
2025-01-29 15:03:38 -08:00
..
assets Move Mac App to a new dir 2024-02-15 05:56:45 +00:00
src update default model to llama3.2 (#6959) 2024-09-25 11:11:22 -07:00
.eslintrc.json Move Mac App to a new dir 2024-02-15 05:56:45 +00:00
.gitignore Move Mac App to a new dir 2024-02-15 05:56:45 +00:00
forge.config.ts next build (#8539) 2025-01-29 15:03:38 -08:00
package-lock.json remove .prettierrc.json (#8413) 2025-01-14 09:30:34 -08:00
package.json remove .prettierrc.json (#8413) 2025-01-14 09:30:34 -08:00
postcss.config.js Move Mac App to a new dir 2024-02-15 05:56:45 +00:00
README.md Correct directory reference in macapp/README (#3555) 2024-04-09 09:48:46 -04:00
tailwind.config.js Move Mac App to a new dir 2024-02-15 05:56:45 +00:00
tsconfig.json Move Mac App to a new dir 2024-02-15 05:56:45 +00:00
webpack.main.config.ts Move Mac App to a new dir 2024-02-15 05:56:45 +00:00
webpack.plugins.ts Move Mac App to a new dir 2024-02-15 05:56:45 +00:00
webpack.renderer.config.ts Move Mac App to a new dir 2024-02-15 05:56:45 +00:00
webpack.rules.ts Move Mac App to a new dir 2024-02-15 05:56:45 +00:00

Desktop

This app builds upon Ollama to provide a desktop experience for running models.

Developing

First, build the ollama binary:

cd ..
go build .

Then run the desktop app with npm start:

cd macapp
npm install
npm start