mirror of
https://github.com/mudler/LocalAI.git
synced 2026-09-28 09:05:05 -04:00
fix(ci): use Go 1.27 for Darwin backends (#12284)
Older Go linkers stamp pure-Go hosts with SDK metadata that disables modern Metal APIs. Select Go 1.27 for Darwin builds and document the backend rebuild requirement. Assisted-by: Codex:gpt-6 Co-authored-by: localai-org-maint-bot <306269227+localai-org-maint-bot@users.noreply.github.com>
This commit is contained in:
1 parent
e6b2309b3f
commit
a7a6bc2963
4 files changed
+8
-3
No files matched your search
@@ -30,6 +30,10 @@ To install the dependencies follow the instructions below:
|
||||
{{< tabs >}}
|
||||
{{% tab title="Apple" %}}
|
||||
|
||||
To build pure-Go backend hosts that load Metal libraries, use Go 1.27 or later on macOS 13 or later.
|
||||
Go 1.27 records macOS SDK 26.2 in internally linked executables, which enables modern Metal APIs in these hosts.
|
||||
Rebuild the affected backend after upgrading Go. Rebuilding only `local-ai` does not update installed backend executables.
|
||||
|
||||
Install `xcode` from the App Store
|
||||
|
||||
```bash
|
||||
|
||||
Reference in new issue
Block a user