[all-commits] [llvm/llvm-project] 30ad48: Revert "cmake: use llvm dir variables for clang/ut...

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Jun 2 05:56:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 30ad481e87ca7cd2250bd5771ab66ddfe623eb10
      https://github.com/llvm/llvm-project/commit/30ad481e87ca7cd2250bd5771ab66ddfe623eb10
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-06-02 (Thu, 02 Jun 2022)

  Changed paths:
    M clang/utils/hmaptool/CMakeLists.txt

  Log Message:
  -----------
  Revert "cmake: use llvm dir variables for clang/utils/hmaptool"

As discussed on the review, this change breaks the standalone
clang build. When building against an installed LLVM, the
LLVM_TOOLS_BINARY_DIR cmake variable points to the location of
the installed LLVM tools, not to the cmake build directory. This
means that we would end up trying to move hmaptool into something
like /usr/bin as part of the normal build, while this should only
be happening when running an install target.

This reverts commit bf1ab1f0eb9578914343f48096229ecccd0ecf52.




More information about the All-commits mailing list