[all-commits] [llvm/llvm-project] b65039: [cmake] Use relative cmake binary dir for processi...

Michael Kruse via All-commits all-commits at lists.llvm.org
Tue Jan 7 11:43:19 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: b6503901f24efb12f1fa700cbb67935e78f6bd09
      https://github.com/llvm/llvm-project/commit/b6503901f24efb12f1fa700cbb67935e78f6bd09
  Author: Michael Kruse <llvm-project at meinersbur.de>
  Date:   2020-01-07 (Tue, 07 Jan 2020)

  Changed paths:
    M llvm/cmake/modules/AddLLVM.cmake

  Log Message:
  -----------
  [cmake] Use relative cmake binary dir for processing pass plugins.

https://reviews.llvm.org/D61446 introduced a new function to process
pass plugins that used CMAKE_BINARY_DIR. This is problematic when LLVM
is a subproject. Instead use LLVM_BINARY_DIR to get the right relative
directory for cmake.

Patch by Alan Baker <alanbaker at google.com>

Reviewed By: Meinersbur

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




More information about the All-commits mailing list