Skip to content
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

Improve/harmonize mobile builds #8949

Merged
merged 1 commit into from
Jun 8, 2017

Conversation

RandomShaper
Copy link
Member

@RandomShaper RandomShaper commented May 27, 2017

Android:

  • Inexistent DEBUG_MEMORY_ALLOC replaced by DEBUG_MEMORY_ENABLED.

iOS:

  • Unconditional -fblocks. Formerly it was being added only if GameCenter enabled.
  • Fix failing build if GameCenter disabled by adding GameController explicitly.
  • Make release and release_debug be the same, except for DEBUG_ENABLED (for Android we are doing the same), which is: -O2 -ftree-vectorize -fomit-frame-pointer -ffast-math -funsafe-math-optimizations.
  • Remove some redundant -isysroot $IPHONESDK.
  • Drop the profile target.
  • Enable link-time optimization (slow, but hopefully gives a faster engine).

@punto-, could you have a look?:

  • I know you removed -ffast-math because of a possible compìler bug. Do you think that still applies?
  • Do you know about anyone using the profile target?
  • And any other possible wrong thing you find.

@RandomShaper RandomShaper force-pushed the improve-mobile-builds branch from 8988954 to 854b3cc Compare May 27, 2017 21:27
@akien-mga akien-mga merged commit 71c7dca into godotengine:master Jun 8, 2017
@RandomShaper RandomShaper deleted the improve-mobile-builds branch June 8, 2017 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants