Open Bug 1583730 Opened 6 years ago Updated 11 months ago

Use cross-language LTO for standalone SpiderMonkey builds

Categories

(Firefox Build System :: General, enhancement)

enhancement

Tracking

(Not tracked)

People

(Reporter: hsivonen, Unassigned)

Details

It is my understanding that we currently don't do cross-language LTO for standalone SpiderMonkey builds. We should start doing it in order to make benchmarking in standalone JS shell representative of performance in Firefox.

See https://phabricator.services.mozilla.com/D44470#1421577 for the case motivating this bug.

That won't help people building their own shell, which is what that person was doing.

(In reply to Mike Hommey [:glandium] from comment #1)

That won't help people building their own shell, which is what that person was doing.

Considering that we distribute clang via mach bootstrap is it infeasible to provide a config option for a local build with cross-language LTO?

The option exists: --enable-lto=cross.

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.