Closed
Bug 1199808
Opened 10 years ago
Closed 10 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•10 years ago
|
||
Attachment #8654367 -
Flags: review?
Comment 2•10 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•10 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•10 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•10 years ago
|
Attachment #8654367 -
Flags: review? → review+
Updated•10 years ago
|
Component: General → Build & Test
| Assignee | ||
Comment 5•10 years ago
|
||
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•