[all-commits] [llvm/llvm-project] c236b4: [libc][NFC] Add the platform independent file targ...

Siva Chandra via All-commits all-commits at lists.llvm.org
Thu Mar 17 20:35:04 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: c236b41e451a4b25767ff16fcd025b05a4a8e0c4
      https://github.com/llvm/llvm-project/commit/c236b41e451a4b25767ff16fcd025b05a4a8e0c4
  Author: Siva Chandra Reddy <sivachandra at google.com>
  Date:   2022-03-18 (Fri, 18 Mar 2022)

  Changed paths:
    M libc/src/__support/CMakeLists.txt
    M libc/src/__support/File/CMakeLists.txt
    M libc/src/__support/threads/CMakeLists.txt
    M libc/src/__support/threads/linux/CMakeLists.txt
    M libc/src/__support/threads/linux/mutex.h
    M libc/src/__support/threads/mutex.h
    A libc/src/__support/threads/mutex_common.h
    M libc/src/stdlib/CMakeLists.txt
    M libc/src/threads/CMakeLists.txt
    M libc/src/threads/linux/CMakeLists.txt

  Log Message:
  -----------
  [libc][NFC] Add the platform independent file target only if mutex is available.

The platform independent file implementation is not an entrypoint so it
cannot be excluded via the entrypoints.txt file. Hence, we need a
special treatment to exclude it from the build.

Reviewed By: michaelrj

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




More information about the All-commits mailing list