This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][CMake] Add merge-fdata to bolt component
ClosedPublic

Authored by Amir on Dec 13 2022, 2:27 PM.

Details

Reviewers
rafauler
maksfb
Group Reviewers
Restricted Project
Commits
rGbe08bb775533: [BOLT][CMake] Add merge-fdata to bolt component
Summary

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.

Diff Detail

Event Timeline

Amir created this revision.Dec 13 2022, 2:27 PM
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Amir requested review of this revision.Dec 13 2022, 2:27 PM
Herald added a project: Restricted Project. · View Herald TranscriptDec 13 2022, 2:27 PM
This revision is now accepted and ready to land.Jan 3 2023, 12:17 PM
This revision was automatically updated to reflect the committed changes.