[PATCH] D144595: [WIP] Experimenting building Windows runtimes when cross compiling LLVM toolchain

Haowei Wu via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 22 15:17:24 PST 2023


haowei created this revision.
haowei added a reviewer: phosek.
Herald added a subscriber: kristof.beyls.
Herald added a project: All.
haowei requested review of this revision.
Herald added projects: clang, LLVM.
Herald added subscribers: llvm-commits, cfe-commits.

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.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D144595

Files:
  clang/CMakeLists.txt
  llvm/cmake/modules/LLVMExternalProjectUtils.cmake
  llvm/runtimes/CMakeLists.txt

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D144595.499655.patch
Type: text/x-patch
Size: 6522 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230222/77772bf6/attachment.bin>


More information about the cfe-commits mailing list