[all-commits] [llvm/llvm-project] be08bb: [BOLT][CMake] Add merge-fdata to bolt component

Amir Ayupov via All-commits all-commits at lists.llvm.org
Tue Jan 3 17:40:50 PST 2023


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

  Changed paths:
    M bolt/tools/merge-fdata/CMakeLists.txt

  Log Message:
  -----------
  [BOLT][CMake] Add merge-fdata to bolt component

Build and install `merge-fdata` tool as part of `bolt` component:
```
$ ninja bolt
# builds llvm-bolt, perf2bolt and merge-fdata

$ cmake --install . --component bolt --prefix $HOME/test-install-bolt
-- Install configuration: "Release"
-- Install configuration: "Release"
-- Installing: /home/aaupov/test-install-bolt/lib/libbolt_rt_instr.a
-- Installing: /home/aaupov/test-install-bolt/lib/libbolt_rt_hugify.a
-- Installing: /home/aaupov/test-install-bolt/lib/libbolt_rt_instr_osx.a
-- Installing: /home/aaupov/test-install-bolt/bin/llvm-bolt
-- Installing: /home/aaupov/test-install-bolt/bin/perf2bolt
-- Installing: /home/aaupov/test-install-bolt/bin/llvm-boltdiff
-- Installing: /home/aaupov/test-install-bolt/bin/merge-fdata
```

Fixes #57249.

Reviewed By: #bolt, rafauler

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




More information about the All-commits mailing list