You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by GitBox <gi...@apache.org> on 2018/03/04 17:40:49 UTC

[GitHub] cjolivier01 commented on a change in pull request #9985: add OPT:REF,Reduce the size of the windows binary file.

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_r172057234
 
 

 ##########
 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:
   only valid for FIRST_CUDA?

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services