[all-commits] [llvm/llvm-project] 8df584: [CMake] Add option to link LLVM/subproject executa...

Aiden Grossman via All-commits all-commits at lists.llvm.org
Wed Jun 7 00:28:57 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8df5841c2574705def3d4a96ef5da4d32d64b39b
      https://github.com/llvm/llvm-project/commit/8df5841c2574705def3d4a96ef5da4d32d64b39b
  Author: Aiden Grossman <agrossman154 at yahoo.com>
  Date:   2023-06-07 (Wed, 07 Jun 2023)

  Changed paths:
    M llvm/CMakeLists.txt
    M llvm/cmake/modules/AddLLVM.cmake
    M llvm/cmake/modules/HandleLLVMOptions.cmake
    M llvm/docs/CMake.rst

  Log Message:
  -----------
  [CMake] Add option to link LLVM/subproject executables against LLVM libc

This patch adds in CMake option LLVM_ENABLE_LLVM_LIBC which when set to
true automatically builds LLVM libc in overlay mode and links all
generated executables against the libc overlay. This is intended to
somewhat mirror the LLVM_ENABLE_LIBCXX flag.

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




More information about the All-commits mailing list