leezu edited a comment on issue #17641: OpenMP Error
URL: 
https://github.com/apache/incubator-mxnet/issues/17641#issuecomment-591003298
 
 
   > > > @TaoLv
   > > > what version of gcc?
   > > 
   > > 
   > > @cjolivier01 this will happen with any version of gcc
   > 
   > it doesn;t happen on my machine, but I am not linking to opencv because it 
breaks my pytorch, build having it installed. maybe opencv pulls in libgomp?
   
   You're right. I misremembered that fact. `libgomp` is only a transitive 
dependency.
   
   > even if I remove the openmp build in CMakeLists.txt and build with clang, 
I get that warning, since it pulls in libomp from clang
   
   How can we stop clang from pulling in libomp? It doesn't have an effect when 
static linking, as the symbols are already resolved, but it would be better to 
not pull libomp in in the first place.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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