[all-commits] [llvm/llvm-project] 7cb7b2: [llvm] Build Windows release package with clang-cl...

Alexandre Ganea via All-commits all-commits at lists.llvm.org
Tue Apr 15 14:37:23 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7cb7b2d39d3b4aa984bfaeaf5e69fbfb074edd41
      https://github.com/llvm/llvm-project/commit/7cb7b2d39d3b4aa984bfaeaf5e69fbfb074edd41
  Author: Alexandre Ganea <alex_toresh at yahoo.fr>
  Date:   2025-04-15 (Tue, 15 Apr 2025)

  Changed paths:
    M llvm/utils/release/build_llvm_release.bat

  Log Message:
  -----------
  [llvm] Build Windows release package with clang-cl if possible (#135446)

If `clang-cl.exe` and `lld-link.exe` are installed in `%PATH%`, the
Windows release build script will now use these by default, in place of
MSVC. The reason for doing this is that MSVC still has, for the past
year(s), a O(N^2) behavior when building certain LLVM source files,
which leads to long build times (minutes per file). A report was filled
here:
https://developercommunity.visualstudio.com/t/ON2-in-SparseBitVectorBase-when-com/10657991

Also added a `--force-msvc` option to the script, to use MSVC even if
clang-cl is installed.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list