fix(build): update macOS build process by adding architecture flags for Clang and improving handling of Mach-O binaries

This commit is contained in:
Ivan
2026-04-30 13:35:32 -05:00
parent da60483484
commit 5e2881f992
2 changed files with 27 additions and 12 deletions
+4
View File
@@ -384,6 +384,10 @@ jobs:
env:
PY_X64: ${{ steps.python_x64.outputs.python-path }}
ARCHFLAGS: "-arch x86_64"
CC: "clang -arch x86_64"
CXX: "clang++ -arch x86_64"
CFLAGS: "-arch x86_64"
LDFLAGS: "-arch x86_64"
PKG_CONFIG_PATH: "/usr/local/lib/pkgconfig:/usr/local/share/pkgconfig"
run: |
set -euo pipefail