Skip to content

Conversation

@zhiqiu
Copy link
Contributor

@zhiqiu zhiqiu commented Dec 11, 2019

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.

@zhiqiu zhiqiu requested a review from sneaxiy December 11, 2019 03:49
@zhiqiu zhiqiu force-pushed the dev/refine_cmake branch 2 times, most recently from 841cc89 to b487982 Compare December 11, 2019 14:00
Copy link
Collaborator

@sneaxiy sneaxiy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.

@zhiqiu zhiqiu merged commit fbe3ac2 into PaddlePaddle:develop Dec 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

编译错误: ld: cannot find -lpybind

2 participants