janhq / cortex.cpp

Local AI API Platform
https://cortex.so
Apache License 2.0
2.16k stars 130 forks source link

feat: build macos universal for binary and installer #1396

Closed hiento09 closed 1 month ago

hiento09 commented 2 months ago

Description:

We need to enhance our build process to support macOS universal binaries and installers. This will ensure compatibility across both Intel (x86_64) and Apple Silicon (arm64) architectures.

Requirements:

Acceptance Criteria:

Additional Notes:

hiento09 commented 2 months ago

We need to modify the macOS updater source code and test it as well cc @vansangpfiev @dan-homebrew @gabrielle-ong

hiento09 commented 2 months ago

Include @vansangpfiev here for the macOS updater source code change.

dan-homebrew commented 2 months ago

@hiento09 FYI, for 154, I ran the Universal installer. However, when running a model, encountered the following error:

Image

Image

hiento09 commented 2 months ago

@hiento09 FYI, for 154, I ran the Universal installer. However, when running a model, encountered the following error:

Image

Image

@dan-homebrew can I check how you installed version 154 nightly? I just tried the following scenarios for Mac silicon and Mac intel and they all succeeded:

hiento09 commented 2 months ago

I just tried a scenario as follows and encountered a similar issue to what you mentioned:

gabrielle-ong commented 1 month ago

@hiento09 I'm closing this issue as the mac Universal installer is complete. Thank you! 🎉 Tracking this bug in a separate issue: #1422