[all-commits] [llvm/llvm-project] ed4f4e: [libc] Allow target architecture customization

Guillaume Chatelet via All-commits all-commits at lists.llvm.org
Mon May 10 00:54:19 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: ed4f4edea20caa13a468ab279a0df20b9ba667fb
      https://github.com/llvm/llvm-project/commit/ed4f4edea20caa13a468ab279a0df20b9ba667fb
  Author: Guillaume Chatelet <gchatelet at google.com>
  Date:   2021-05-10 (Mon, 10 May 2021)

  Changed paths:
    M libc/CMakeLists.txt
    M libc/cmake/modules/LLVMLibCLibraryRules.cmake
    M libc/cmake/modules/LLVMLibCObjectRules.cmake
    M libc/cmake/modules/LLVMLibCTestRules.cmake

  Log Message:
  -----------
  [libc] Allow target architecture customization

This patch provides a way to specify the default target cpu optimizations to use when compiling llvm-libc.
This ensures we don't rely on current compiler's default and allows compiling and cross compiling for a particular target.

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




More information about the All-commits mailing list