diff options
author | Robert Maynard <robert.maynard@kitware.com> | 2018-10-26 21:12:14 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-10-29 15:57:29 (GMT) |
commit | 3c31ec7a0a34b7fbbf2ceae9c6bc27f9b536c1b8 (patch) | |
tree | cbf91e382b291acfc9a1d1fd6ad821b3e7d900de /CTestConfig.cmake | |
parent | e1dc842cc1dd761c802d802211160e72d751e146 (diff) | |
download | CMake-3c31ec7a0a34b7fbbf2ceae9c6bc27f9b536c1b8.zip CMake-3c31ec7a0a34b7fbbf2ceae9c6bc27f9b536c1b8.tar.gz CMake-3c31ec7a0a34b7fbbf2ceae9c6bc27f9b536c1b8.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 'CTestConfig.cmake')
0 files changed, 0 insertions, 0 deletions