[all-commits] [llvm/llvm-project] ed3e00: [CMake] Create generic runtimes targets as needed ...

Petr Hosek via All-commits all-commits at lists.llvm.org
Tue Jan 2 21:31:39 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed3e007a8759508973f9c67209958e219e515bf8
      https://github.com/llvm/llvm-project/commit/ed3e007a8759508973f9c67209958e219e515bf8
  Author: Petr Hosek <phosek at google.com>
  Date:   2024-01-02 (Tue, 02 Jan 2024)

  Changed paths:
    M llvm/runtimes/CMakeLists.txt

  Log Message:
  -----------
  [CMake] Create generic runtimes targets as needed (#76096)

We currently create a generic runtime target for all subbuilds. For
example if we're building libcxx for aarch64-linux-gnu and
x86_64-linux-gnu, we would create the cxx target that would depend on
cxx-aarch64-linux-gnu and cxx-x86_64-linux-gnu. The current
implementation creates the generic runtimes targets ahead of time which
introduces an issue where different subbuilds enable different runtimes.
We should instead create the generic targets as needed.




More information about the All-commits mailing list