[all-commits] [llvm/llvm-project] 6369b9: [CMake] Default to static linking for subprojects.

Michael Kruse via All-commits all-commits at lists.llvm.org
Mon Feb 24 09:55:02 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6369b9bf31188bdd472299252deb6db3f650864b
      https://github.com/llvm/llvm-project/commit/6369b9bf31188bdd472299252deb6db3f650864b
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2020-02-24 (Mon, 24 Feb 2020)

  Changed paths:
    M llvm/cmake/modules/AddLLVM.cmake
    M polly/lib/CMakeLists.txt

  Log Message:
  -----------
  [CMake] Default to static linking for subprojects.

Pass plugins introduced in D61446 do not support dynamic linking on
Windows, hence the option LLVM_${name_upper}_LINK_INTO_TOOLS can only
work being set to "ON". Currently, it defaults to "OFF" such that such
plugins are inoperable by default on Windows. Change the default for
subprojects to follow LLVM_ENABLE_PROJECTS.

Reviewed By: serge-sans-paille, MaskRay

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




More information about the All-commits mailing list