cjolivier01 commented on a change in pull request #9985: add OPT:REF,Reduce the 
size of the windows binary file.
URL: https://github.com/apache/incubator-mxnet/pull/9985#discussion_r172057243
 
 

 ##########
 File path: CMakeLists.txt
 ##########
 @@ -583,8 +590,8 @@ endif()
 
 if(USE_CUDA)
   if(FIRST_CUDA AND MSVC)
-    target_compile_options(mxnet PUBLIC "$<$<CONFIG:DEBUG>:-Xcompiler=-MTd>")
-    target_compile_options(mxnet PUBLIC "$<$<CONFIG:RELEASE>:-Xcompiler=-MT>")
+    target_compile_options(mxnet PUBLIC "$<$<CONFIG:DEBUG>:-Xcompiler=-MTd 
-Gy>")
 
 Review comment:
   LGTM otherwise 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to