Skip to content

FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools, designed for interactive exploration and data-driven decision-making in a user-friendly environment.

fix: disable GGML_NATIVE and GGML_METAL for macOS x64 cross-compile

tilakpatel22dbd083d29502
diff --git a/.github/workflows/build-cpp.yml b/.github/workflows/build-cpp.yml
index 618aa1adb..43984d752 100644
--- a/.github/workflows/build-cpp.yml
+++ b/.github/workflows/build-cpp.yml
@@ -54,13 +54,15 @@ jobs:
cmake_extra: "-DCMAKE_OSX_ARCHITECTURES=arm64"
# ---- macOS x64 (Intel) ----
+ # Cross-compiled on ARM64 runner — disable GGML_NATIVE (would detect apple-m3,
+ # invalid for x86 target) and GGML_METAL (Metal GPU backend is ARM/Apple Silicon only).
- os: macos-15
arch: x64
platform: macOS
artifact: FinceptTerminal-macOS-x64
exe: FinceptTerminal
qt_arch: clang_64
- cmake_extra: "-DCMAKE_OSX_ARCHITECTURES=x86_64"
+ cmake_extra: "-DCMAKE_OSX_ARCHITECTURES=x86_64 -DGGML_NATIVE=OFF -DGGML_METAL=OFF"
runs-on: ${{ matrix.os }}
name: ${{ matrix.platform }} ${{ matrix.arch }}