azai91 commented on issue #13197: build mkldnn as static lib
URL: https://github.com/apache/incubator-mxnet/pull/13197#issuecomment-442297558
 
 
   @TaoLv when I statically build mkldnn-;17 on windows the CI gets the 
following error
   
   ```
   mkldnn.lib(primitive.cpp.obj) : error LNK2038: mismatch detected for 
'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MT_StaticRelease' in c_api.cc.obj
   
   mkldnn.lib(stream.cpp.obj) : error LNK2038: mismatch detected for 
'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MT_StaticRelease' in c_api.cc.obj
   
   mkldnn.lib(query.cpp.obj) : error LNK2038: mismatch detected for 
'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MT_StaticRelease' in c_api.cc.obj
   
   mkldnn.lib(memory.cpp.obj) : error LNK2038: mismatch detected for 
'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MT_StaticRelease' in c_api.cc.obj
   
   mkldnn.lib(reorder.cpp.obj) : error LNK2038: mismatch detected for 
'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MT_StaticRelease' in c_api.cc.obj
   
   mkldnn.lib(engine.cpp.obj) : error LNK2038: mismatch detected for 
'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MT_StaticRelease' in c_api.cc.obj
   
   mkldnn.lib(primitive_iterator.cpp.obj) : error LNK2038: mismatch detected 
for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MT_StaticRelease' in c_api.cc.obj
   
   mkldnn.lib(batch_normalization.cpp.obj) : error LNK2038: mismatch detected 
for 'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MT_StaticRelease' in c_api.cc.obj
   
   mkldnn.lib(lrn.cpp.obj) : error LNK2038: mismatch detected for 
'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MT_StaticRelease' in c_api.cc.obj
   
   mkldnn.lib(eltwise.cpp.obj) : error LNK2038: mismatch detected for 
'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MT_StaticRelease' in c_api.cc.obj
   
   mkldnn.lib(primitive_attr.cpp.obj) : error LNK2038: mismatch detected for 
'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MT_StaticRelease' in c_api.cc.obj
   
   mkldnn.lib(convolution.cpp.obj) : error LNK2038: mismatch detected for 
'RuntimeLibrary': value 'MD_DynamicRelease' doesn't match value 
'MT_StaticRelease' in c_api.cc.obj
   ```
   
   Full trace can be found here: 
http://jenkins.mxnet-ci.amazon-ml.com/blue/organizations/jenkins/incubator-mxnet/detail/PR-13197/15/pipeline/132
   
   Any way to build mkldnn 0.17 on windows?

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