-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bug in chroot/CMakeLists.txt with CUDA #524
Comments
There is also an error in Line 41 |
probably the same as #480. |
what about replacing all of these lines with foreach(_lib IN LISTS CUDA_LIBRARIES CUDA_CUFFT_LIBRARIES CUDA_CUBLAS_LIBRARIES)
get_filename_component(_libdir ${_lib} PATH)
set (LIBRARY_PATHS ${LIBRARY_PATHS}:${_libdir})
endforeach()
list(REMOVE_DUPLICATES LIBRARY_PATHS ) sorry, I cannot test as I don't have access to a relevant machine |
By the way, this directory should only be included on Linux. |
Line https://github.com/gadgetron/gadgetron/blob/master/chroot/CMakeLists.txt#L41 is problematic:
This will fail if
${CUDA_CUBLAS_LIBRARIES}
is set to more than 1 library, which apparently happens on Ubuntu 17.04. See https://www.jiscmail.ac.uk/cgi-bin/webadmin?A2=ind1707&L=CCP-PETMR-DEVEL&F=&S=&X=AE7343ED237D3E95F9&Y=k.thielemans%40ucl.ac.uk&P=12613There seem to be similar lines with the same problem in this file.
The text was updated successfully, but these errors were encountered: