[all-commits] [llvm/llvm-project] 4feae0: Remove some `try_compile` CMake checks for compile...

Vlad Serebrennikov via All-commits all-commits at lists.llvm.org
Thu May 23 06:06:03 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4feae05c6abda364a9295aecfa600d7d4e7dfeb6
      https://github.com/llvm/llvm-project/commit/4feae05c6abda364a9295aecfa600d7d4e7dfeb6
  Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
  Date:   2024-05-23 (Thu, 23 May 2024)

  Changed paths:
    M clang/CMakeLists.txt
    M clang/tools/scan-build-py/tests/functional/exec/CMakeLists.txt
    M lldb/cmake/modules/LLDBConfig.cmake
    M llvm/cmake/config-ix.cmake
    M llvm/cmake/modules/AddLLVM.cmake
    M llvm/cmake/modules/HandleLLVMOptions.cmake

  Log Message:
  -----------
  Remove some `try_compile` CMake checks for compiler flags (#92953)

This patch remove 36 checks for compiler flags that are done via
invoking the compiler across LLVM, Clang, and LLDB. It's was made
possible by raising the bar for supported compilers that has been
happening over the years since the checks were added.

This is going to improve CMake configuration times. This topic was
highlighted in
https://discourse.llvm.org/t/cmake-compiler-flag-checks-are-really-slow-ideas-to-speed-them-up/78882.



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