[all-commits] [llvm/llvm-project] f3269a: [BOLT][CMake] Redo the build and install targets

Petr Hosek via All-commits all-commits at lists.llvm.org
Thu Jun 1 07:48:21 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f3269a94e729b02e9d7c07257c45b098506cca22
      https://github.com/llvm/llvm-project/commit/f3269a94e729b02e9d7c07257c45b098506cca22
  Author: Petr Hosek <phosek at google.com>
  Date:   2023-06-01 (Thu, 01 Jun 2023)

  Changed paths:
    M bolt/CMakeLists.txt
    A bolt/cmake/modules/AddBOLT.cmake
    M bolt/test/CMakeLists.txt
    M bolt/tools/CMakeLists.txt
    M bolt/tools/bat-dump/CMakeLists.txt
    M bolt/tools/driver/CMakeLists.txt
    M bolt/tools/heatmap/CMakeLists.txt
    M bolt/tools/merge-fdata/CMakeLists.txt
    M clang/cmake/caches/Fuchsia-stage2.cmake
    M llvm/cmake/modules/AddLLVM.cmake

  Log Message:
  -----------
  [BOLT][CMake] Redo the build and install targets

The existing BOLT install targets are broken on Windows becase they
don't properly handle the output extension. We cannot use the existing
LLVM macros since those make assumptions that don't hold for BOLT. This
change instead implements custom macros following the approach used by
Clang and LLD.

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




More information about the All-commits mailing list