[all-commits] [llvm/llvm-project] e6a080: [libcxxabi][cmake] Allow building without libcxx a...

John Ericson via All-commits all-commits at lists.llvm.org
Sun Aug 21 05:23:13 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e6a0800532bb409f6d1c62f3698bdd6994a877dc
      https://github.com/llvm/llvm-project/commit/e6a0800532bb409f6d1c62f3698bdd6994a877dc
  Author: John Ericson <John.Ericson at Obsidian.Systems>
  Date:   2022-08-21 (Sun, 21 Aug 2022)

  Changed paths:
    M libcxxabi/CMakeLists.txt
    M libcxxabi/test/CMakeLists.txt

  Log Message:
  -----------
  [libcxxabi][cmake] Allow building without libcxx again

This allows `-DLLVM_ENABLE_RUNTIMES=libcxxabi` to work.

This functionality was removed in D125561 (among other such removals) as
dead code, because it was only available as part of the standalone build
before.

The functionality as added back as it was, except `target_include_directories` is used instead of the cruder `target_compile_options` (with an MSVC vs not MSVC conditional split). That is just wholly better.

Reviewed By: phosek, #libc_abi

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




More information about the All-commits mailing list