This is an archive of the discontinued LLVM Phabricator instance.

[CMake] Fix linker-as-ld to symlink instead of copy lld
ClosedPublic

Authored by beanz on Sep 12 2016, 2:59 PM.

Details

Summary

This test fails if you're building with BUILD_SHARED_LIBS because the LLVM libraries are found via @rpath. Symlinking instead of copying should be sufficiently robust for the test case.

Diff Detail

Event Timeline

beanz updated this revision to Diff 71060.Sep 12 2016, 2:59 PM
beanz retitled this revision from to [CMake] Fix linker-as-ld to symlink instead of copy lld.
beanz updated this object.
beanz added a reviewer: llvm-commits.
beanz added a subscriber: davide.

Makes sense to me, thanks!

davide accepted this revision.Sep 12 2016, 3:04 PM
davide added a reviewer: davide.
This revision is now accepted and ready to land.Sep 12 2016, 3:04 PM
This revision was automatically updated to reflect the committed changes.