[all-commits] [llvm/llvm-project] d4d9de: [CMake] Support passing arguments to build tool fo...

Andrew Ng via All-commits all-commits at lists.llvm.org
Thu Jan 6 03:10:55 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d4d9de362b6ac2aac67e557f819c57dcfe79e2fe
      https://github.com/llvm/llvm-project/commit/d4d9de362b6ac2aac67e557f819c57dcfe79e2fe
  Author: Andrew Ng <andrew.ng at sony.com>
  Date:   2022-01-06 (Thu, 06 Jan 2022)

  Changed paths:
    M llvm/CMakeLists.txt
    M llvm/cmake/modules/LLVMExternalProjectUtils.cmake

  Log Message:
  -----------
  [CMake] Support passing arguments to build tool for external projects

Add CMake variable LLVM_EXTERNAL_PROJECT_BUILD_TOOL_ARGS to allow
arguments to be passed to the native tool used in CMake --build
invocations for external projects.

Can be used to pass extra arguments for enhanced versions of build
tools, e.g. distributed build options.

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




More information about the All-commits mailing list