[all-commits] [llvm/llvm-project] 69186c: [libc][llvm] Forward `LIBC_` options as well in a ...

Joseph Huber via All-commits all-commits at lists.llvm.org
Tue Dec 20 07:06:11 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 69186c52400cbb42ff485d851863ca2d5407f841
      https://github.com/llvm/llvm-project/commit/69186c52400cbb42ff485d851863ca2d5407f841
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-12-20 (Tue, 20 Dec 2022)

  Changed paths:
    M llvm/runtimes/CMakeLists.txt

  Log Message:
  -----------
  [libc][llvm] Forward `LIBC_` options as well in a runtime build

Summary:
We need to forward certain CMake definitions to the runtimes build when
using `-DLLVM_ENABLE_RUNTIMES=libc`. The `libc` project uses both
`LLVM_LIBC` and `LIBC` prefixes. Previously we only forwarded
`LLVM_LIBC`. This patch adds the `LIBC_` prefix, using the underscore to
separate it from `LIBCXX`.




More information about the All-commits mailing list