This is an archive of the discontinued LLVM Phabricator instance.

[CMake][OpenMP] Simplify getting CUDA library directory
ClosedPublic

Authored by tambre on Sep 5 2020, 8:30 AM.

Details

Summary

LLVM now requires CMake 3.13.4 so we can simplify this.

Diff Detail

Event Timeline

tambre created this revision.Sep 5 2020, 8:30 AM
tambre requested review of this revision.Sep 5 2020, 8:30 AM
tambre retitled this revision from [CMake][OpenMP] Simplify getting CUDA library target to [CMake][OpenMP] Simplify getting CUDA library directory.Sep 5 2020, 8:31 AM
tambre updated this revision to Diff 291263.Sep 11 2020, 10:18 AM

Add quotes around variable expansion.
Otherwise it might break for paths with spaces.

phosek: Maybe you can review, others seems absent.

phosek accepted this revision.Sep 11 2020, 11:01 AM

LGTM

This revision is now accepted and ready to land.Sep 11 2020, 11:01 AM
This revision was landed with ongoing or failed builds.Sep 11 2020, 11:19 AM
This revision was automatically updated to reflect the committed changes.