This is an archive of the discontinued LLVM Phabricator instance.

[BOLT][CMAKE] Remove CMake 3.13.4 incompatible parameter
ClosedPublic

Authored by Amir on Mar 4 2022, 10:17 AM.

Details

Summary

Remove TYPE BIN parameter that is introduced in CMake 3.14 and revert back to
the equivalent compatible form DESTINATION ${CMAKE_INSTALL_BINDIR}.

Addresses https://github.com/llvm/llvm-project/issues/54099

Diff Detail

Event Timeline

Amir created this revision.Mar 4 2022, 10:17 AM
Herald added a reviewer: maksfb. · View Herald Transcript
Herald added a project: Restricted Project. · View Herald Transcript
Amir requested review of this revision.Mar 4 2022, 10:17 AM
Herald added a project: Restricted Project. · View Herald TranscriptMar 4 2022, 10:17 AM

@rafauler
Can you please review this change?

@tstellar
Would it be OK to backport it to release/14.x to avoid conflicting CMake requirements? (request from @nikic, see linked gh issue)

rafauler accepted this revision.Mar 7 2022, 5:16 PM

LGTM

This revision is now accepted and ready to land.Mar 7 2022, 5:16 PM
This revision was automatically updated to reflect the committed changes.
Amir added a comment.EditedMar 7 2022, 6:49 PM

Sorry, couldn't wait till tomorrow as the final release candidate is planned for Tuesday March 8th.
Pushed to release/14.x as bfaed485756a