|
|
@ -174,8 +174,7 @@ else:
|
|
|
|
package_data['paddle.libs'] += ['openblas' + ext_name]
|
|
|
|
package_data['paddle.libs'] += ['openblas' + ext_name]
|
|
|
|
|
|
|
|
|
|
|
|
if '${WITH_MKLDNN}' == 'ON':
|
|
|
|
if '${WITH_MKLDNN}' == 'ON':
|
|
|
|
if '${CMAKE_BUILD_TYPE}' == 'Release':
|
|
|
|
if '${CMAKE_BUILD_TYPE}' == 'Release' AND os.name != 'nt':
|
|
|
|
if os.name != 'nt':
|
|
|
|
|
|
|
|
# only change rpath in Release mode.
|
|
|
|
# only change rpath in Release mode.
|
|
|
|
# TODO(typhoonzero): use install_name_tool to patch mkl libs once
|
|
|
|
# TODO(typhoonzero): use install_name_tool to patch mkl libs once
|
|
|
|
# we can support mkl on mac.
|
|
|
|
# we can support mkl on mac.
|
|
|
|