提交 721b09ee 编写于 作者: L liuyuan04 提交者: Yu Yang

Update Jumbo package to 0.8.0b0.

Change-Id: I0b8608feab8f6be5094e8981fc5f65cb401ed415
上级 fbfd24e6
...@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.8) ...@@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 2.8)
project(paddle CXX C) project(paddle CXX C)
set(PADDLE_MAJOR_VERSION 0) set(PADDLE_MAJOR_VERSION 0)
set(PADDLE_MINOR_VERSION 8) set(PADDLE_MINOR_VERSION 8)
set(PADDLE_PATCH_VERSION 0b) set(PADDLE_PATCH_VERSION 0b0)
set(PADDLE_VERSION ${PADDLE_MAJOR_VERSION}.${PADDLE_MINOR_VERSION}.${PADDLE_PATCH_VERSION}) set(PADDLE_VERSION ${PADDLE_MAJOR_VERSION}.${PADDLE_MINOR_VERSION}.${PADDLE_PATCH_VERSION})
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake") set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake")
......
...@@ -7,6 +7,9 @@ add_subdirectory(pserver) ...@@ -7,6 +7,9 @@ add_subdirectory(pserver)
add_subdirectory(trainer) add_subdirectory(trainer)
add_subdirectory(scripts) add_subdirectory(scripts)
configure_file(${CMAKE_CURRENT_SOURCE_DIR}/setup.py.in
${CMAKE_CURRENT_SOURCE_DIR}/setup.py)
if(WITH_PREDICT_SDK) if(WITH_PREDICT_SDK)
add_subdirectory(predict) add_subdirectory(predict)
endif() endif()
......
...@@ -35,11 +35,11 @@ except: ...@@ -35,11 +35,11 @@ except:
pass pass
setup(name="py_paddle", setup(name="py_paddle",
version="0.8.0b", # TODO(yuyang18): Make this version same as CMake version="@PADDLE_VERSION@",
ext_modules=[ ext_modules=[
Extension('py_paddle._swig_paddle', # Build SWIG Extension. Extension('py_paddle._swig_paddle', # Build SWIG Extension.
['Paddle_wrap.cxx'], ['Paddle_wrap.cxx'],
extra_link_args=["-Xlinker", '-start-group'] + extra_link_args=["-Xlinker", '-start-group'] +
extra_links + ["-Xlinker", "-end-group"] extra_links + ["-Xlinker", "-end-group"]
) )
], ],
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册