Closed Bug 1413593 Opened 7 years ago Closed 7 years ago

Store win32 cross compilation config in tree

Categories

(Testing :: geckodriver, enhancement)

Version 3
enhancement
Not set
normal

Tracking

(firefox58 fixed)

RESOLVED FIXED
mozilla58
Tracking Status
firefox58 --- fixed

People

(Reporter: ato, Assigned: ato)

Details

Attachments

(1 file)

To cross compile geckodriver to i686-pc-windows-gnu, a custom linker
and some custom rustc flags have to be set.  It would make sense to
store this configuration in tree so I don’t have to look it up
every time I do a manual build.

This config can obviously be removed once we do our releases from
Taskcluster.
Assignee: nobody → ato
Status: NEW → ASSIGNED
Comment on attachment 8924207 [details]
Bug 1413593 - Add win32 cross compilation config for geckodriver.

https://reviewboard.mozilla.org/r/195430/#review200902

Note that on TC we will want to cross-compile OSX. I assume that must work these days.
Attachment #8924207 - Flags: review?(james) → review+
(In reply to James Graham [:jgraham] from comment #2)

> Note that on TC we will want to cross-compile OSX. I assume that
> must work these days.

Yes, I think it does.  We produce binaries on macOS today, but the
Wd job isn’t enabled.

The situation on Linux ARM for Android is more complicated because
we have to distinguish between the host- and the target OS.  I’m
not sure if anything has been done to support Rust compilation of
host target binaries there.
Pushed by atolfsen@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/6b89b4bc79c2
Add win32 cross compilation config for geckodriver. r=jgraham
https://hg.mozilla.org/mozilla-central/rev/6b89b4bc79c2
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla58
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: