[meta] hard-require nodejs in build system
Categories
(Firefox Build System :: General, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: dmosedale, Unassigned)
References
(Depends on 1 open bug, Blocks 3 open bugs)
Details
(Keywords: meta)
Attachments
(7 obsolete files)
Reporter | ||
Updated•7 years ago
|
Reporter | ||
Comment 1•7 years ago
|
||
Updated•6 years ago
|
Reporter | ||
Comment 2•6 years ago
|
||
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Comment hidden (mozreview-request) |
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Comment 10•6 years ago
|
||
Comment 11•6 years ago
|
||
mozreview-review |
Comment 12•6 years ago
|
||
mozreview-review |
Comment 13•6 years ago
|
||
mozreview-review |
Comment 14•6 years ago
|
||
Reporter | ||
Comment 15•6 years ago
|
||
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Comment 16•6 years ago
|
||
mozreview-review-reply |
Reporter | ||
Comment 17•6 years ago
|
||
Comment 18•6 years ago
|
||
Comment 19•6 years ago
|
||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Updated•6 years ago
|
Reporter | ||
Updated•6 years ago
|
Comment 20•5 years ago
|
||
Is there a reason why this issue is still open? Isn't nodejs already a hard requirement?
I actually would like to propose a change to the build system which would allow to build the Javascript files and Firefox itself in two separate steps.
This would allow Firefox to be built on platforms which support Rust (mips*, ppc32, ppc64be, riscv64, sparc*) which are supported by the Rust compiler but are not supported by NodeJS or will lose NodeJS support in the near future.
Debian already supports the concept of building non-architecture-dependent code on a different architecture than the architecture-dependent code.
I have explained my reasoning here: https://lists.debian.org/debian-riscv/2020/01/msg00000.html
Comment 21•5 years ago
|
||
(In reply to John Paul Adrian Glaubitz from comment #20)
Is there a reason why this issue is still open? Isn't nodejs already a hard requirement?
I see https://bugzilla.mozilla.org/show_bug.cgi?id=1482433, suggesting that it's not already a hard requirement -- although I think that is a lie, and the flag won't allow a regular mach build
to succeed. It's their to support certain l10n repackaging tasks.
I actually would like to propose a change to the build system which would allow to build the Javascript files and Firefox itself in two separate steps.
This is basically already possible -- we call such things artifact builds -- although we generally think of it the other way around, with the binaries being built elsewhere. (By binaries I mean executable code -- libxul.so
, firefox.exe
, etc.)
This would allow Firefox to be built on platforms which support Rust (mips*, ppc32, ppc64be, riscv64, sparc*) which are supported by the Rust compiler but are not supported by NodeJS or will lose NodeJS support in the near future.
Debian already supports the concept of building non-architecture-dependent code on a different architecture than the architecture-dependent code.
I have explained my reasoning here: https://lists.debian.org/debian-riscv/2020/01/msg00000.html
I am personally all for this type of flexibility, although I don't have a good feel on what would actually be required. As I stated above, an artifact build can stick more or less any binaries into a Firefox shell, so the hard part would be teaching the build system to only produce binaries without doing anything that might require Node.js. I.e., you want --disable-nodejs
to neuter the front-end of the build system while allowing mach build binaries
to succeed. I don't know how hard that might be, or whether it would be suitable to mainline.
Updated•4 years ago
|
Updated•2 years ago
|
Description
•