[all-commits] [llvm/llvm-project] 4e1b89: cmake fill `cmake_args` when cross-compiling exter...

Alexander Smarus via All-commits all-commits at lists.llvm.org
Thu Jun 2 14:03:38 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4e1b89064f62c9df012a5c390aec861368ae8112
      https://github.com/llvm/llvm-project/commit/4e1b89064f62c9df012a5c390aec861368ae8112
  Author: Alexander Smarus <bender at readdle.com>
  Date:   2022-06-02 (Thu, 02 Jun 2022)

  Changed paths:
    M llvm/cmake/modules/LLVMExternalProjectUtils.cmake

  Log Message:
  -----------
  cmake fill `cmake_args` when cross-compiling external project with non-clang compiler

This makes it possible to crosscompile runtimes with cl.exe on Windows.

An external project is completely misconfigured otherwise because
cmake_args is set only for native builds or builds crosscompiled with
clang.

Differential Revision: https://reviews.llvm.org/D122578
Reviewed By: beanz, compnerd




More information about the All-commits mailing list