[all-commits] [llvm/llvm-project] e67f84: [CMake] Replace clang binary if using clang-bolt t...

Amir Ayupov via All-commits all-commits at lists.llvm.org
Sat Jan 28 11:54:22 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e67f849001bb890f86831ab31c1bb25e0882e711
      https://github.com/llvm/llvm-project/commit/e67f849001bb890f86831ab31c1bb25e0882e711
  Author: Amir Ayupov <aaupov at fb.com>
  Date:   2023-01-28 (Sat, 28 Jan 2023)

  Changed paths:
    M clang/CMakeLists.txt
    M clang/cmake/caches/BOLT-PGO.cmake
    M llvm/docs/AdvancedBuilds.rst

  Log Message:
  -----------
  [CMake] Replace clang binary if using clang-bolt target

Instead of creating an extra clang-bolt binary and clang++-bolt symlink,
replace the original clang binary with BOLT-optimized one.

This fixes the issue with installing optimized binary as `install-clang`
target now copies the new version.

Reviewed By: phosek

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




More information about the All-commits mailing list