[all-commits] [llvm/llvm-project] 8150c1: [flang] Disable Plugins in out-of-tree builds

Andrzej WarzyƄski via All-commits all-commits at lists.llvm.org
Thu Aug 12 12:30:25 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8150c1bd8e262981a81f82e6e2f1d7ae07bdd67b
      https://github.com/llvm/llvm-project/commit/8150c1bd8e262981a81f82e6e2f1d7ae07bdd67b
  Author: Andrzej Warzynski <andrzej.warzynski at arm.com>
  Date:   2021-08-12 (Thu, 12 Aug 2021)

  Changed paths:
    M flang/CMakeLists.txt
    M flang/test/CMakeLists.txt

  Log Message:
  -----------
  [flang] Disable Plugins in out-of-tree builds

https://reviews.llvm.org/D106137 added support for plugins in Flang. The
CMake configuration for plugins requires some LLVM variables that are
not available in out-of-tree builds (e.g. `LLVM_SHLIB_OUTPUT_INTDIR`).
This has caused the out-of-tree BuildBot worker to start failing:
  * https://lab.llvm.org/buildbot/#/builders/175

This patch effectively disables plugins in out-of-tree builds and fixes
the configuration error. In order to support plugins in out-of-tree
builds, we would have to find a way to access the missing CMake
variables from LLVM. This could be implemented at a later time.

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




More information about the All-commits mailing list