[all-commits] [llvm/llvm-project] e0e7fa: [libc] enable s(n)printf without fullbuild

michaelrj-google via All-commits all-commits at lists.llvm.org
Mon Aug 15 13:45:47 PDT 2022

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e0e7fa36d36c4f576176a6b15a0eb235befc3fa3
  Author: Michael Jones <michaelrj at google.com>
  Date:   2022-08-15 (Mon, 15 Aug 2022)

  Changed paths:
    M libc/config/linux/aarch64/entrypoints.txt
    M libc/config/linux/x86_64/entrypoints.txt
    M libc/src/CMakeLists.txt
    M libc/test/src/CMakeLists.txt
    M libc/utils/UnitTest/CMakeLists.txt

  Log Message:
  [libc] enable s(n)printf without fullbuild

To use the FILE data structure, LLVM-libc must be in fullbuild mode
since it expects its own implementation. This means that (f)printf can't
be used without fullbuild, but s(n)printf only uses strings. This patch
adjusts the CMake to allow for this.

Reviewed By: sivachandra, lntue

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

More information about the All-commits mailing list