This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP][libomp] Fix CMake version symbol testing
ClosedPublic

Authored by jlpeyton on Feb 2 2023, 9:40 AM.

Details

Summary

Do not check for version symbol support if the necessary linker flag is not supported.

Diff Detail

Event Timeline

jlpeyton created this revision.Feb 2 2023, 9:40 AM
Herald added a project: Restricted Project. · View Herald TranscriptFeb 2 2023, 9:40 AM
jlpeyton requested review of this revision.Feb 2 2023, 9:40 AM
jlpeyton updated this revision to Diff 494429.Feb 2 2023, 2:25 PM

Some linkers error out with a wildcard in both the global and local section under a version symbol. Removed the local part.

tianshilei1992 accepted this revision.Feb 2 2023, 7:00 PM

LG, thanks!

This revision is now accepted and ready to land.Feb 2 2023, 7:00 PM
jlpeyton edited the summary of this revision. (Show Details)Feb 3 2023, 8:52 AM
This revision was automatically updated to reflect the committed changes.