Open
Bug 2096292
Opened 4 days ago
Updated 4 days ago
Cross compile Windows CaR toolchain on Linux
Categories
(Testing :: Performance, task, P3)
Testing
Performance
Tracking
(Not tracked)
NEW
People
(Reporter: kshampur, Unassigned)
References
(Blocks 1 open bug)
Details
(Whiteboard: [fxp][vision][operational][todo][est-1w])
The win64 chromium-as-release (CaR) toolchain builds on native Windows workers, and that occasionally breaks in windows-specific ways. it seems upstream's Windows builders run most actions remotely on Linux
Recent examples are Bug 2067889 & Bug 2094925
Chromium supports cross-compiling Chrome for Windows on Linux: https://chromium.googlesource.com/chromium/src/+/main/docs/win_cross.md
Consolidating to Linux could help with maintenance and reduce failure
From the doc, the setup is target_os = ['win'] in .gclient, target_os = "win" in the GN args, and a Windows SDK/VS toolchain zip created with depot_tools' package_from_installed.py, pointed to by DEPOT_TOOLS_WIN_TOOLCHAIN_BASE_URL and GYP_MSVS_HASH_<hash>.
Some things to investigate:
- How the VS SDK toolchain will work
- confirm the cross build still writes PDBs with
symbol_level=2, so
ETW profiling keeps symbolicating (etw_profile.pypasses the PDBs
next tochrome.exeto samply via--symbol-dir) - whether PGO (
pgo_data_pathwith the chrome-win64 profile) behaves the
same in a cross build (the doc doesn't confirm) - build time on the Linux builders vs the current Windows ones
Updated•4 days ago
|
You need to log in
before you can comment on or make changes to this bug.
Description
•