[all-commits] [llvm/llvm-project] 6ce341: [libc] Forward LLVM_LIBC options when using a runt...

Joseph Huber via All-commits all-commits at lists.llvm.org
Mon Nov 14 14:24:14 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6ce341de249c3858802a6f5b1559b2d143b0667d
      https://github.com/llvm/llvm-project/commit/6ce341de249c3858802a6f5b1559b2d143b0667d
  Author: Joseph Huber <jhuber6 at vols.utk.edu>
  Date:   2022-11-14 (Mon, 14 Nov 2022)

  Changed paths:
    M llvm/runtimes/CMakeLists.txt

  Log Message:
  -----------
  [libc] Forward LLVM_LIBC options when using a runtimes build

The `LLVM_ENABLE_RUNTIMES' mode is commonly used to build runtimes that
depend on an up-to-date version of clang. Currently, `libc` uses some
internal variables that are not forwarded when building in this mode.
This patch forwards the relevent arguments beginning with `LLVM_LIBC` to
the build when built this way.

Reviewed By: tianshilei1992

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




More information about the All-commits mailing list