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

Petr Hosek via All-commits all-commits at lists.llvm.org
Wed May 31 23:02:30 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f99a7d3e38095cfdaf7e729289a8894dd31c7efa
      https://github.com/llvm/llvm-project/commit/f99a7d3e38095cfdaf7e729289a8894dd31c7efa
  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