We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 01e28d1 commit 361126fCopy full SHA for 361126f
python/CMakeLists.txt
@@ -33,6 +33,12 @@ if(WITH_MKLDNN)
33
list(APPEND MKL_DEPENDS mkldnn)
34
endif()
35
36
+if(WITH_GPU)
37
+ SET(PACKAGE_NAME "paddlepaddle_gpu")
38
+else()
39
+ SET(PACKAGE_NAME "paddlepaddle")
40
+endif()
41
+
42
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/setup.py.in
43
${CMAKE_CURRENT_BINARY_DIR}/setup.py)
44
python/setup.py.in
@@ -89,7 +89,7 @@ paddle_rt_libs = ['${WARPCTC_LIBRARIES}']
89
if '${MKL_SHARED_LIBS}'!= '':
90
paddle_rt_libs += '${MKL_SHARED_LIBS}'.split(';')
91
92
-setup(name='paddlepaddle',
+setup(name='${PACKAGE_NAME}',
93
version='${PADDLE_VERSION}',
94
description='Parallel Distributed Deep Learning',
95
install_requires=setup_requires,
0 commit comments