This is an archive of the discontinued LLVM Phabricator instance.

[OpenMP] libomp: move warnings to after library initialization
ClosedPublic

Authored by AndreyChurbanov on May 18 2021, 2:30 AM.

Details

Summary

Warnings on deprecated api cannot be suppressed if the library is not initialized.
With this change it is possible to set KMP_WARNINGS=false to suppress the warnings.

Diff Detail

Event Timeline

AndreyChurbanov requested review of this revision.May 18 2021, 2:30 AM
This revision is now accepted and ready to land.May 21 2021, 11:24 AM
This revision was landed with ongoing or failed builds.May 21 2021, 1:47 PM
This revision was automatically updated to reflect the committed changes.