Skip to content

Commit fdd7cad

Browse files
authored
Merge pull request #3503 from luotao1/warpctc
add shared warpctc lib in whl
2 parents 0f86881 + 2d2cc2f commit fdd7cad

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

python/setup.py.in

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,9 @@ paddle_bins = ['${PADDLE_BINARY_DIR}/paddle/scripts/paddle_usage',
3232
'${PADDLE_BINARY_DIR}/paddle/scripts/paddle']
3333

3434
paddle_rt_lib_dir = 'lib'
35-
paddle_rt_libs = [] if '${MKL_SHARED_LIBS}'== '' else '${MKL_SHARED_LIBS}'.split(';')
35+
paddle_rt_libs = ['${WARPCTC_LIBRARIES}']
36+
if '${MKL_SHARED_LIBS}'!= '':
37+
paddle_rt_libs += '${MKL_SHARED_LIBS}'.split(';')
3638

3739
setup(name='paddlepaddle',
3840
version='${PADDLE_VERSION}',

0 commit comments

Comments
 (0)