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 21:47:36 UTC

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

yajiedesign 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_r172065972
 
 

 ##########
 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:
   It should be all effective

----------------------------------------------------------------
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