Created by: zhiqiu
The op_function_generator
presented in PR21569 needs liboimp5.so(.dll on windows) and libmkldnn.so (.dll on windows) when WITH_MKL
and WITH_MKLDNN
is on.
This PR carefully copy these dynamic library to the directory where op_function_generator
is, and add that directory to LD_LIBRARY_PATH
, so op_function_generator
can run.
This also fixes #21692 (closed).