josephevans opened a new pull request #17527: Ensure destination directory 
exists before attempting to write.
URL: https://github.com/apache/incubator-mxnet/pull/17527
 
 
   ## Description ##
   Make sure build destination directory exists. Fixes race condition when 
compiling (with GNU make) with multiple jobs (-jX). 
   
   Build fail log:
   
   `
   g++ -shared -fPIC -std=c++11 example/extensions/lib_custom_op/gemm_lib.cc -o 
build/libcustomop_lib.so -I include/mxnet
   /usr/bin/ld: cannot open output file build/libcustomop_lib.so: No such file 
or directory
   collect2: error: ld returned 1 exit status
   Makefile:676: recipe for target 'custom_op_lib' failed
   make: *** [custom_op_lib] Error 1
   make: *** Waiting for unfinished jobs....
   `
   

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