Skip to content

Don't build universal binaries for macOS / iOS when dev_build=yes, to save on dev build time #1613

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tools/godotcpp.py
Original file line number Diff line number Diff line change
Expand Up @@ -404,9 +404,9 @@ def generate(env):
# Process CPU architecture argument.
if env["arch"] == "":
# No architecture specified. Default to arm64 if building for Android,
# universal if building for macOS or iOS, wasm32 if building for web,
# universal if building for macOS or iOS (non-dev), wasm32 if building for web,
# otherwise default to the host architecture.
if env["platform"] in ["macos", "ios"]:
if env["platform"] in ["macos", "ios"] and not env["dev_build"]:
env["arch"] = "universal"
elif env["platform"] == "android":
env["arch"] = "arm64"
Expand Down
Loading