Open
Bug 1347729
Opened 7 years ago
Updated 2 years ago
Shell build directories are too large
Categories
(Core :: JavaScript Engine, enhancement, P3)
Core
JavaScript Engine
Tracking
()
NEW
People
(Reporter: sstangl, Unassigned)
Details
(Keywords: triage-deferred)
Opt and Debug shell build directories occupy ~2GB. I often have a large number of these directories around for comparing different versions of shells. That occupies a lot of disk space, and probably slows down compilation to write in the first place. Looking at what's taking up space, the obvious culprits are: 1. Debug information (which could be stripped, but often is wanted). About 1.6GB of the 2GB is debug info. 2. 441MB is occupied by gdb-tests and jsapi-tests (88MB stripped). 3. 568MB for libjs_static.a (13MB stripped); 178MB for libmozjs-55a1.so (11MB stripped). When testing the shell, I do want debug information, but I don't need gdb-tests, jsapi-tests, or the libraries. We could provide a "make shell" target that just would not build them in the first place. That would reduce the build directory from 2GB to ~760MB. Using a separate target would not affect standalone builds. Sfink also proposed on IRC that we could default gdb-tests and jsapi-tests to not save debug info, which would reduce directory size from 2GB to ~1.5GB.
Comment 1•7 years ago
|
||
(In reply to Sean Stangl [:sstangl] from comment #0) > We could provide a "make shell" target that just would not build them in the > first place. That would reduce the build directory from 2GB to ~760MB. Using > a separate target would not affect standalone builds. Today, as a work-around, I compile with --disable-tests by default, unless Try reports issues in these test suites.
Updated•7 years ago
|
Keywords: triage-deferred
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•