Closed Bug 1610987 Opened 5 years ago Closed 5 years ago

RLBox - Update prebuilt lucet downloaded by mach configure to version that allows specifying target parameter

Categories

(Core :: General, enhancement, P3)

x86_64
macOS
enhancement

Tracking

()

RESOLVED DUPLICATE of bug 1610991

People

(Reporter: shravanrn, Assigned: shravanrn)

References

Details

We use a forked lucet compiler to compile wasm modules. Lucet only recently added support for cross compiling wasm files. Since Firefox on Mac is cross compiled in the try servers, we need to backport the patch supporting cross compilation to our fork (or rebase our fork).

Blocks: 1610988

Backport is complete and is located in https://github.com/PLSysSec/lucet_sandbox_compiler, rev=07405987fcbc7390c08b49bc590034956861a522

@Nathan: Could you direct me to where I can change the prebuilt lucet downloaded as part of mach configure?

Flags: needinfo?(nfroyd)
Summary: RLBox - Backport patch that allows specifying target parameter in lucet compiler → RLBox - Update prebuilt lucet downloaded by mach configure to version that allows specifying target parameter

Once you change what sources lucet is built from, mach bootstrap (from a tree with the necessary changes) will just download the binary built with the updated sources. There's nothing to change in mach configure because configure doesn't download software. Does that answer your question?

Flags: needinfo?(nfroyd)

Sorry, slight mistake on my part. I meant "where can I change the what sources lucet is built from so that bootstrap will be updated appropriately"

Flags: needinfo?(nfroyd)

Ah, sorry! You need to change the git revision here:

https://searchfox.org/mozilla-central/source/taskcluster/ci/fetch/toolchains.yml#446-451

Changing that will update both builds on automation and the binary downloaded by bootstrap.

Flags: needinfo?(nfroyd)

Fixed as part of 1610991

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.