Closed
Bug 1199808
Opened 9 years ago
Closed 9 years ago
Fix Client build optimization settings
Categories
(Firefox for iOS :: Build & Test, defect)
Tracking
()
RESOLVED
FIXED
People
(Reporter: bnicholson, Assigned: bnicholson)
References
Details
Attachments
(1 file)
Log shows this trying to debug: Client was compiled with optimization - stepping may behave oddly; variables may not be available. We should turn off optimization for Debug builds.
Assignee | ||
Comment 1•9 years ago
|
||
Attachment #8654367 -
Flags: review?
Comment 2•9 years ago
|
||
Does this turn off optimization for release builds? Also, IIRC we turned on whole-module optimization because the alternative is per-file, which is slower because of linking. Does this regress our build time?
Flags: needinfo?(bnicholson)
Assignee | ||
Comment 3•9 years ago
|
||
(In reply to Richard Newman [:rnewman] from comment #2) > Does this turn off optimization for release builds? No, WMO is still enabled for all non-Debug builds. > Also, IIRC we turned on whole-module optimization because the alternative is > per-file, which is slower because of linking. Does this regress our build > time? After doing a clean and build, build time seems about the same to me (~1 min for full build, with following incremental builds taking <5s).
Flags: needinfo?(bnicholson)
Assignee | ||
Comment 4•9 years ago
|
||
(In reply to Brian Nicholson (:bnicholson) from comment #3) > for full build, with following incremental builds taking <5s). Actually, this is quite a bit *faster* than before. I'm pretty sure incremental builds were taking 15+ seconds for me before.
Updated•9 years ago
|
Attachment #8654367 -
Flags: review? → review+
Updated•9 years ago
|
Component: General → Build & Test
Assignee | ||
Comment 5•9 years ago
|
||
https://github.com/mozilla/firefox-ios/commit/e978a2cd7ada711954132cf5c5d2ad3f56af9d60
Status: ASSIGNED → RESOLVED
Closed: 9 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•