You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using CMake 3.16 and 3.17 I've run into some issues where CMake sends -Xcompiler -o out.o over to nvcc_wrapper. The wrapper consumes -Xcompiler and adds -o to its list of flags to be passed via -Xcompiler, but it doesn't consume out.o, which then gets interpreted as a linked object and gets an -Xlinker stuck in front of it. So nvcc_wrapper will pass the following to nvcc: -Xcompiler -x,c++,-fopenmp,-o -Xlinker out.o and that results in different problems on the different platforms, but for both platforms the fix is to not consume the -o flag as part of consuming -Xcompiler.
The text was updated successfully, but these errors were encountered:
When using CMake 3.16 and 3.17 I've run into some issues where CMake sends
-Xcompiler -o out.o
over tonvcc_wrapper
. The wrapper consumes-Xcompiler
and adds-o
to its list of flags to be passed via-Xcompiler
, but it doesn't consumeout.o
, which then gets interpreted as a linked object and gets an-Xlinker
stuck in front of it. Sonvcc_wrapper
will pass the following tonvcc
:-Xcompiler -x,c++,-fopenmp,-o -Xlinker out.o
and that results in different problems on the different platforms, but for both platforms the fix is to not consume the-o
flag as part of consuming-Xcompiler
.The text was updated successfully, but these errors were encountered: