This is an archive of the discontinued LLVM Phabricator instance.

[test-suite] Set -lm more fine-grained, making general cmake rules a bit cleaner.
ClosedPublic

Authored by kristof.beyls on Dec 15 2015, 6:03 AM.

Details

Summary

This reverts r255239 which did set -lm on all MultiSource links, and
instead sets it more fine-grained. An unnecessarily broad appending of
-lm in SingleSource/CMakeLists.txt is also removed.

The patch was tested both on Ubuntu Linux and OSX.

Diff Detail

Repository
rL LLVM

Event Timeline

kristof.beyls retitled this revision from to [test-suite] Set -lm more fine-grained, making general cmake rules a bit cleaner..
kristof.beyls updated this object.
kristof.beyls added reviewers: MatzeB, jmolloy.
kristof.beyls added a subscriber: llvm-commits.
MatzeB accepted this revision.Dec 15 2015, 11:02 AM
MatzeB edited edge metadata.

Thanks for looking into this!

I also think changes like this are simple enough to work with post-commit reviews.

This revision is now accepted and ready to land.Dec 15 2015, 11:02 AM
This revision was automatically updated to reflect the committed changes.