This is an archive of the discontinued LLVM Phabricator instance.

[WIP] Experimenting building Windows runtimes when cross compiling LLVM toolchain
Needs ReviewPublic

Authored by haowei on Feb 22 2023, 3:17 PM.

Details

Reviewers
phosek
Summary

This is a working in progress patch, and it needs clean up and refactor. It is mainly for understanding what are needed to build windows runtime when the LLVM is being cross compiled for a different architecture. And to discuss the direction of refactoring the cmake configurations for the clang bootstrap build as well as LLVM runtimes build.

The use case is to include the Windows runtime build when cross compiling LLVM for an arch different from the host (e.g. building aarch64 on an x64 machine). This will be needed in the future when cross compile LLVM Windows toolchain for aarch64 on an x64 machine.

Diff Detail

Event Timeline

haowei created this revision.Feb 22 2023, 3:17 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 22 2023, 3:17 PM
haowei requested review of this revision.Feb 22 2023, 3:17 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 22 2023, 3:17 PM