[all-commits] [llvm/llvm-project] 56b7f5: [CMake] Set ASM compiler for external projects

Petr Hosek via All-commits all-commits at lists.llvm.org
Tue Jan 28 11:39:41 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 56b7f595d2b402ff177ca42214325c8fdea10fb0
      https://github.com/llvm/llvm-project/commit/56b7f595d2b402ff177ca42214325c8fdea10fb0
  Author: Petr Hosek <phosek at google.com>
  Date:   2020-01-28 (Tue, 28 Jan 2020)

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

  Log Message:
  -----------
  [CMake] Set ASM compiler for external projects

This is necessary on Windows, otherwise CMake fails. It's not
conventional on Windows to use cl for assembly (you'd use ml or ml64
instead), but CMake has a separate ASM_MASM mode for that, and clang-cl
works fine for assembly so we'll use that on Windows for consistency.

Differential Revision: https://reviews.llvm.org/D73522




More information about the All-commits mailing list