[all-commits] [llvm/llvm-project] 8c5aea: [cmake] Pass /winsysroot explicitly

Shoaib Meenai via All-commits all-commits at lists.llvm.org
Fri Mar 4 22:28:40 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8c5aead28df9e142a604bf6dbbb0f7e00099b71a
      https://github.com/llvm/llvm-project/commit/8c5aead28df9e142a604bf6dbbb0f7e00099b71a
  Author: Shoaib Meenai <smeenai at fb.com>
  Date:   2022-03-04 (Fri, 04 Mar 2022)

  Changed paths:
    M llvm/cmake/platforms/WinMsvc.cmake

  Log Message:
  -----------
  [cmake] Pass /winsysroot explicitly

We were relying on HandleLLVMOptions adding this flag, but that's not
included in compiler-rt. Add the flag explicitly ourselves to ensure
it's present; the duplication of the flag in the parts of the build
which do include HandleLLVMOptions doesn't cause any issues.

Reviewed By: ychen

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




More information about the All-commits mailing list