RLBox - Update build system to build wasm libs for Mac as well
Categories
(Firefox Build System :: General, enhancement, P3)
Tracking
(firefox75 fixed)
Tracking | Status | |
---|---|---|
firefox75 | --- | fixed |
People
(Reporter: shravanrn, Assigned: froydnj)
References
Details
Attachments
(4 files)
Currently a new build system that can build wasm libs exists for Linux, however we need to extend this system to support Mac as well. Like the linux system, this must use clang with wasm backend enabled and lucet to produce a wasm file. The build system should respect the same mozconfig and moz.build flags and directives used on Linux.
![]() |
Assignee | |
Comment 1•5 years ago
|
||
Updated•5 years ago
|
![]() |
Assignee | |
Comment 2•5 years ago
|
||
We're going to need this for handling Mac cross compiles correctly.
Depends on D62795
![]() |
Assignee | |
Comment 3•5 years ago
|
||
These vary per-target, and it's nicer to define them here rather than
define them somewhere in rules.mk.
Depends on D62796
![]() |
Assignee | |
Comment 4•5 years ago
|
||
lucetc
by default will invoke ld
directly, which is usually not what
we want, particularly when cross-compiling. Instead, let's invoke the
compiler, which will do the hard work of determining the correct linker
to use, and we'll also explicitly specify LDFLAGS
, since the default
LDFLAGS
from lucetc
assume you're invoking the linker directly.
Depends on D62797
Comment 6•5 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/e2770c35e64a
https://hg.mozilla.org/mozilla-central/rev/1b39526a8a20
https://hg.mozilla.org/mozilla-central/rev/08b3e41cea1e
https://hg.mozilla.org/mozilla-central/rev/720de9afec70
Description
•