This is an archive of the discontinued LLVM Phabricator instance.

[compiler-rt] Use just built libatomic if available
ClosedPublic

Authored by abrachet on May 29 2023, 10:13 PM.

Details

Summary

Use libclang_rt.atomic.so instead of the libatomic installed
on the system if it is available.

Diff Detail

Event Timeline

abrachet created this revision.May 29 2023, 10:13 PM
Herald added a project: Restricted Project. · View Herald TranscriptMay 29 2023, 10:13 PM
Herald added subscribers: Enna1, dberris. · View Herald Transcript
abrachet requested review of this revision.May 29 2023, 10:13 PM
phosek added inline comments.May 29 2023, 11:40 PM
compiler-rt/test/lit.common.cfg.py
936

Where is this set?

938

Nit: I'd use an f-string.

abrachet updated this revision to Diff 526906.May 30 2023, 10:44 PM
abrachet marked 2 inline comments as done.
abrachet added inline comments.
compiler-rt/test/lit.common.cfg.py
936

Whoops it was accidentally removed from the diff

abrachet marked an inline comment as done.Jul 11 2023, 5:45 AM

Is this ready to land @phosek?

phosek accepted this revision.Jul 11 2023, 10:48 PM

LGTM

This revision is now accepted and ready to land.Jul 11 2023, 10:48 PM
This revision was automatically updated to reflect the committed changes.
Herald added a project: Restricted Project. · View Herald TranscriptAug 29 2023, 2:39 PM
Herald added a subscriber: Restricted Project. · View Herald Transcript