[all-commits] [llvm/llvm-project] c687c2: [FLANG] Fix MSVC + clang-cl build

Omair Javaid via All-commits all-commits at lists.llvm.org
Wed Nov 30 03:30:05 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c687c2cce5198676b72734265780d8d898674e7a
      https://github.com/llvm/llvm-project/commit/c687c2cce5198676b72734265780d8d898674e7a
  Author: Muhammad Omair Javaid <omair.javaid at linaro.org>
  Date:   2022-11-30 (Wed, 30 Nov 2022)

  Changed paths:
    M flang/CMakeLists.txt

  Log Message:
  -----------
  [FLANG] Fix MSVC + clang-cl build

Flang build on windows with MSVC environment and clang-cl compiler
requires clang_rt.builtin.${target} library. This patch allows us to
locate and include this link library. This is mostly needed for flang
runtime and associated unittests as it requires the uint128 division
builtin function __udivti3.

Reviewed By: DavidTruby

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




More information about the All-commits mailing list