[all-commits] [llvm/llvm-project] 43ceb7: llvm-shlib: Create object libraries for each compo...

Tom Stellard via All-commits all-commits at lists.llvm.org
Thu Apr 1 15:02:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 43ceb74eb1a5801662419fb66a6bf0d5414f1ec5
      https://github.com/llvm/llvm-project/commit/43ceb74eb1a5801662419fb66a6bf0d5414f1ec5
  Author: Tom Stellard <tstellar at redhat.com>
  Date:   2021-04-01 (Thu, 01 Apr 2021)

  Changed paths:
    M llvm/cmake/modules/AddLLVM.cmake
    M llvm/tools/llvm-shlib/CMakeLists.txt

  Log Message:
  -----------
  llvm-shlib: Create object libraries for each component and link against them

This makes it possible to build libLLVM.so without first creating a
static library for each component.  In the case where only libLLVM.so is
built (i.e. ninja LLVM) this eliminates 150 linker jobs.

Reviewed By: stellaraccident

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




More information about the All-commits mailing list