ollama/scripts
Daniel Hiltgen 8968740836
mlx: Improve M5 performance with NAX (#15345)
* mlx: Improve M5 performance with NAX

This modifies the Mac release to now have 2 builds of MLX for broader
compatibility while supporting the latest M5 hardware features.  NAX requires
building with xcode 26.2 and targetting support only for OS v26 and up.  Since
we want to support older MacOS versions as well, we now need 2 different MLX
builds and runtime detection logic to select the optimal version.  The newer
build will detect NAX missing at runtime, so it is safe to run on pre M5 macs.

* mac: prevent generate on cross-compiles

For some versions of Xcode, cmake builds are failing due to header problems in
cross-compiling during the generate phase.  Since generate is producing arch
independent generated output, we can skip this during cross-compiling.
2026-04-07 08:12:24 -07:00
..
support app: add code for macOS and Windows apps under 'app' (#12933) 2025-11-04 11:40:17 -08:00
.this-is-the-create-dmg-repo app: add code for macOS and Windows apps under 'app' (#12933) 2025-11-04 11:40:17 -08:00
build_darwin.sh mlx: Improve M5 performance with NAX (#15345) 2026-04-07 08:12:24 -07:00
build_docker.sh Update ROCm (6.3 linux, 6.2 windows) and CUDA v12.8 (#9304) 2025-02-25 13:47:36 -08:00
build_linux.sh CI: dedup cuda libraries to reduce payload size (#13704) 2026-01-13 11:25:31 -08:00
build_windows.ps1 ci: fix missing windows zip file (#14807) 2026-03-12 16:14:00 -07:00
create-dmg.sh app: add code for macOS and Windows apps under 'app' (#12933) 2025-11-04 11:40:17 -08:00
deduplicate_cuda_libs.sh CI: dedup cuda libraries to reduce payload size (#13704) 2026-01-13 11:25:31 -08:00
env.sh MLX: add header vendoring and remove go build tag (#14642) 2026-03-09 17:24:45 -07:00
install.ps1 win: progress reporting on install download (#14219) 2026-02-12 12:06:56 -08:00
install.sh install: prevent partial download script execution (#14311) 2026-02-18 18:32:45 -08:00
push_docker.sh change github.com/jmorganca/ollama to github.com/ollama/ollama (#3347) 2024-03-26 13:04:17 -07:00
tag_latest.sh CI: clean up naming, fix tagging latest (#6832) 2024-09-16 16:18:41 -07:00