Skip to content

Commit 9da98cd

Browse files
committed
remove iomp5.so in setup.py.in
test=develop
1 parent 3e516ee commit 9da98cd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

python/setup.py.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,7 +182,7 @@ if '${TENSORRT_FOUND}' == 'ON' and os.name == 'nt':
182182

183183
if '${WITH_MKL}' == 'ON':
184184
shutil.copy('${MKLML_SHARED_LIB}', libs_path)
185-
package_data['paddle.libs']+=[('libmklml_gnu' if os.name != 'nt' else 'mklml') + ext_name, ('libiomp5' if os.name != 'nt' else 'libiomp5md') + ext_name]
185+
package_data['paddle.libs']+=[('libmklml_gnu' if os.name != 'nt' else 'mklml') + ext_name]
186186
# mklml has dependency to vs runtime library
187187
if os.name == 'nt':
188188
shutil.copy('${MKLML_SHARED_LIB_DEPS}', libs_path)
@@ -249,7 +249,7 @@ package_dir['paddle.libs']=libs_path
249249

250250

251251
# change rpath of ${FLUID_CORE_NAME}.ext, add $ORIGIN/../libs/ to it.
252-
# The reason is that libwarpctc.ext, libiomp5.ext etc are in paddle.libs, and
252+
# The reason is that libwarpctc.ext, etc are in paddle.libs, and
253253
# ${FLUID_CORE_NAME}.ext is in paddle.fluid, thus paddle/fluid/../libs will pointer to above libraries.
254254
# This operation will fix https://github.com/PaddlePaddle/Paddle/issues/3213
255255
if '${CMAKE_BUILD_TYPE}' == 'Release':

0 commit comments

Comments
 (0)