[all-commits] [llvm/llvm-project] bb7a90: [CMake] Use COMPILER_RT_BUILD_CRT in the condition...

Petr Hosek via All-commits all-commits at lists.llvm.org
Wed Jul 12 15:31:00 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bb7a902c765b9c58412d11df4e2461764f0bbac5
      https://github.com/llvm/llvm-project/commit/bb7a902c765b9c58412d11df4e2461764f0bbac5
  Author: Petr Hosek <phosek at google.com>
  Date:   2023-07-12 (Wed, 12 Jul 2023)

  Changed paths:
    M compiler-rt/lib/builtins/CMakeLists.txt
    M compiler-rt/test/builtins/CMakeLists.txt
    M compiler-rt/test/builtins/Unit/ctor_dtor.c
    M compiler-rt/test/builtins/Unit/dso_handle.cpp
    M compiler-rt/test/builtins/Unit/lit.cfg.py
    M compiler-rt/test/builtins/Unit/lit.site.cfg.py.in

  Log Message:
  -----------
  [CMake] Use COMPILER_RT_BUILD_CRT in the condition for test

Unlike COMPILER_RT_HAS_CRT this handles the case where CRT is available
but has been disabled by setting COMPILER_RT_BUILD_CRT. This addresses
an issue reported on D153989.

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




More information about the All-commits mailing list