This is an archive of the discontinued LLVM Phabricator instance.

[BOLT-UnitTests] Fix shared libraries build
ClosedPublic

Authored by Amir on Feb 4 2022, 3:05 PM.

Details

Summary

Fix build with -DBUILD_SHARED_LIBS=ON (add explicit deps).

Diff Detail

Event Timeline

Amir created this revision.Feb 4 2022, 3:05 PM
Amir requested review of this revision.Feb 4 2022, 3:05 PM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 4 2022, 3:05 PM
yota9 accepted this revision.Feb 4 2022, 3:10 PM

Thanks! I'm not aware of buildbot infrastructure, but how do you think is it possible to enable shared libs build checker?

This revision is now accepted and ready to land.Feb 4 2022, 3:10 PM
Amir added a comment.Feb 4 2022, 3:18 PM

Thanks! I'm not aware of buildbot infrastructure, but how do you think is it possible to enable shared libs build checker?

This build configuration is enabled on a shadow buildbot: http://157.230.108.44:8011/#/builders/42
It's not tracked on the default buildbot (it's only capable of one build configuration without collapsing requests, plus it builds clang and lld to monitor breakages).

yota9 added a comment.Feb 4 2022, 3:21 PM

@Amir Thanks! I will look over there from time to time :))

This revision was landed with ongoing or failed builds.Feb 4 2022, 6:01 PM
This revision was automatically updated to reflect the committed changes.