[all-commits] [llvm/llvm-project] 43fc92: [CMAKE] Enable FatLTO as a build option for LLVM (...

Paul Kirth via All-commits all-commits at lists.llvm.org
Fri Mar 15 16:35:28 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 43fc921795bd130a325c013d60f209b5c6128fc7
      https://github.com/llvm/llvm-project/commit/43fc921795bd130a325c013d60f209b5c6128fc7
  Author: Paul Kirth <paulkirth at google.com>
  Date:   2024-03-15 (Fri, 15 Mar 2024)

  Changed paths:
    M clang/cmake/caches/Fuchsia-stage2.cmake
    M llvm/cmake/modules/AddLLVM.cmake
    M llvm/cmake/modules/HandleLLVMOptions.cmake

  Log Message:
  -----------
  [CMAKE] Enable FatLTO as a build option for LLVM (#80480)

Since LLVM supports `-ffat-lto-objects` we should enable this as an
option in the LLVM build. FatLTO should improve the time it takes to
build tests for LTO enabled builds of the compiler by not linking w/ the
bitcode portion of the object files, which should speed up build times
for LTO builds without disabling optimizations.



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