summaryrefslogtreecommitdiffstats
path: root/Source/cmUtils.hxx
diff options
context:
space:
mode:
authorRobert Maynard <robert.maynard@kitware.com>2018-10-26 21:12:14 (GMT)
committerBrad King <brad.king@kitware.com>2018-10-29 15:59:54 (GMT)
commit3f5bfb425af391c1740ff7794f0283be3d0f7589 (patch)
treebec0aab555175cc54db819af81c26097f9742840 /Source/cmUtils.hxx
parente768d96c74579c79e184027775e51b08cd77fe45 (diff)
downloadCMake-3f5bfb425af391c1740ff7794f0283be3d0f7589.zip
CMake-3f5bfb425af391c1740ff7794f0283be3d0f7589.tar.gz
CMake-3f5bfb425af391c1740ff7794f0283be3d0f7589.tar.bz2
CUDA: Filter out non-static libraries during device linking
Since commit v3.12.0-rc1~278^2 (CUDA: Pass more link libraries to device linking, 2018-03-27) we consider every link library during device linking and use `-Xnvlink` to pass those that do not end in `.a`. However, nvlink breaks on versioned shared library names such as `.so.1`. Work around this problem by not passing library paths that do not end in `.a` or `.lib`. nvlink would not find device symbols in them anyway. Fixes: #18504
Diffstat (limited to 'Source/cmUtils.hxx')
0 files changed, 0 insertions, 0 deletions