Closed Bug 1617794 (tier-2-win-cross) Opened 5 years ago Closed 5 years ago

Setup tier-2 Windows-cross builds

Categories

(Firefox Build System :: Task Configuration, task)

task
Not set
normal

Tracking

(firefox75 fixed)

RESOLVED FIXED
mozilla75
Tracking Status
firefox75 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

(Blocks 2 open bugs)

Details

Attachments

(9 files)

No description provided.
Alias: win-cross
Depends on: 1617801
Depends on: 1618063
Depends on: 1618065
Depends on: 1618068
Depends on: 1614152

Windows programs run via Wine don't like Unix absolute paths (they look
like command line arguments), so we need to use relative paths.

Mingw already run fxc2 via wine, but for some reason it doesn't care
about the Unix absolute paths. genshaders does need some adjustements to
run properly with the real fxc.

Now, on actual Windows, because the temporary directory where
tempfile.NamedTemporaryFile creates files by default is not necessarily
on the same drive as where the command runs from, a relative path can't
be constructed. So we also force the temporary file to be created in the
current (obj) directory.

There is no similar concern for other files because we only go from
objdir to srcdir, and the build system already doesn't support both
being on a separate drive.

While here, flush stdout when the genshared script writes to it, so that
the messages are printed out immediately rather than randomly, later,
after output from subprocesses.

This is amazing, go glandium!

Keywords: leave-open
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/32497292b23b Allow to override where the API keys are found by Windows mozconfigs. r=dmajor https://hg.mozilla.org/integration/autoland/rev/2f065070254a Properly set the target flag for bindgen when cross compiling for Windows. r=chmanchester https://hg.mozilla.org/integration/autoland/rev/48c33056b945 Allow configure to find Windows SDKs and tools when cross-compiling with clang-cl. r=dmajor
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/8cc7166e5113 Wrap Windows tools with Wine on cross builds. r=dmajor https://hg.mozilla.org/integration/autoland/rev/509ec5e93805 Fix cross-building the clang-plugin for Windows targets. r=dmajor https://hg.mozilla.org/integration/autoland/rev/1c707be763ad Add fetches for UPX and NSIS from mozilla-build. r=nalexander
Blocks: 1618474
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/71cfd922f86a Add a toolchain task to build a LD_PRELOAD helper for Windows cross builds. r=froydnj https://hg.mozilla.org/integration/autoland/rev/e6cdc99bb877 Add a tier-2 64-bits Window cross build task. r=mshal
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/e9258d7097f1 Add a toolchain task to build a LD_PRELOAD helper for Windows cross builds. r=froydnj https://hg.mozilla.org/integration/autoland/rev/574b840d508f Add a tier-2 64-bits Window cross build task. r=mshal
Flags: needinfo?(mh+mozilla)
Keywords: leave-open
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/autoland/rev/9a5dc54fd5f9 Run the tier-2 64-bits Window cross build task on try.
Blocks: 1618752
Blocks: 1618766
Blocks: 1618767
Blocks: 1618781
Blocks: 1618782
Blocks: 1618784
Blocks: 1619865
Blocks: 1619867
Alias: win-cross → tier-2-win-cross
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: