Skip to content

Commit 438ed12

Browse files
authored
Merge pull request #6411 from PaddlePaddle/release/0.11.0
Release/0.11.0
2 parents 00d6c90 + d6f67f2 commit 438ed12

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

python/CMakeLists.txt

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,12 @@ if(WITH_MKLDNN)
3333
list(APPEND MKL_DEPENDS mkldnn)
3434
endif()
3535

36+
if(WITH_GPU)
37+
SET(PACKAGE_NAME "paddlepaddle-gpu")
38+
else()
39+
SET(PACKAGE_NAME "paddlepaddle")
40+
endif()
41+
3642
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/setup.py.in
3743
${CMAKE_CURRENT_BINARY_DIR}/setup.py)
3844

python/setup.py.in

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class BinaryDistribution(Distribution):
55
return True
66

77
MAJOR = 0
8-
MINOR = 10
8+
MINOR = 11
99
PATCH = 0
1010
RC = 0
1111
ISTAGED = False
@@ -89,7 +89,7 @@ paddle_rt_libs = ['${WARPCTC_LIBRARIES}']
8989
if '${MKL_SHARED_LIBS}'!= '':
9090
paddle_rt_libs += '${MKL_SHARED_LIBS}'.split(';')
9191

92-
setup(name='paddlepaddle',
92+
setup(name='${PACKAGE_NAME}',
9393
version='${PADDLE_VERSION}',
9494
description='Parallel Distributed Deep Learning',
9595
install_requires=setup_requires,

0 commit comments

Comments
 (0)