Skip to content

Commit

Permalink
Merge pull request #6411 from PaddlePaddle/release/0.11.0
Browse files Browse the repository at this point in the history
Release/0.11.0
  • Loading branch information
typhoonzero authored Dec 8, 2017
2 parents 00d6c90 + d6f67f2 commit 438ed12
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions python/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ if(WITH_MKLDNN)
list(APPEND MKL_DEPENDS mkldnn)
endif()

if(WITH_GPU)
SET(PACKAGE_NAME "paddlepaddle-gpu")
else()
SET(PACKAGE_NAME "paddlepaddle")
endif()

configure_file(${CMAKE_CURRENT_SOURCE_DIR}/setup.py.in
${CMAKE_CURRENT_BINARY_DIR}/setup.py)

Expand Down
4 changes: 2 additions & 2 deletions python/setup.py.in
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ class BinaryDistribution(Distribution):
return True

MAJOR = 0
MINOR = 10
MINOR = 11
PATCH = 0
RC = 0
ISTAGED = False
Expand Down Expand Up @@ -89,7 +89,7 @@ paddle_rt_libs = ['${WARPCTC_LIBRARIES}']
if '${MKL_SHARED_LIBS}'!= '':
paddle_rt_libs += '${MKL_SHARED_LIBS}'.split(';')

setup(name='paddlepaddle',
setup(name='${PACKAGE_NAME}',
version='${PADDLE_VERSION}',
description='Parallel Distributed Deep Learning',
install_requires=setup_requires,
Expand Down

0 comments on commit 438ed12

Please sign in to comment.