Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install all the depended third_party libraries in "make install" phase #4057

Merged
merged 5 commits into from
Sep 13, 2017

Conversation

Xreki
Copy link
Contributor

@Xreki Xreki commented Sep 13, 2017

If configuring cmake with -DCMAKE_INSTALL_PREFIX=/home/liuyiqun/paddle .., after running make and make install, the file tree of the installing directory is as follows:

$ cd /home/liuyiqun/paddle
/home/liuyiqun/paddle $ tree
.
|-- bin
|   `-- paddle
|-- include
|   `-- paddle
|       |-- arguments.h
|       |-- capi.h
|       |-- capi_private.h
|       |-- config.h
|       |-- error.h
|       |-- gradient_machine.h
|       |-- main.h
|       |-- matrix.h
|       `-- vector.h
|-- lib
|   |-- libpaddle_capi_shared.so
|   `-- libpaddle_capi_whole.a
|-- opt
|   `-- paddle
|       `-- bin
|           |-- paddle_merge_model
|           |-- paddle_pserver_main
|           |-- paddle_trainer
|           `-- paddle_usage
`-- third_party
    |-- gflags
    |   |-- include
    |   `-- lib
    |       `-- libgflags.a
    |-- glog
    |   |-- include
    |   `-- lib
    |       `-- libglog.a
    |-- openblas
    |   |-- include
    |   `-- lib
    |       |-- libopenblas.a
    |       `-- libopenblasp-r0.2.19.a
    |-- protobuf
    |   |-- include
    |   `-- lib
    |       `-- libprotobuf.a
    `-- zlib
        |-- include
        `-- lib
            `-- libz.a
  • Support difference android api in developing image of Android.

hedaoyuan
hedaoyuan previously approved these changes Sep 13, 2017
CMakeLists.txt Outdated
@@ -67,6 +67,8 @@ endif()
if(ANDROID)
if(${CMAKE_SYSTEM_VERSION} VERSION_LESS "16")
message(FATAL_ERROR "Unsupport standalone toolchains with Android API level lower than 16")
elseif(${CMAKE_SYSTEM_VERSION} VERSION_LESS "21")
message(WARNING "Using the unofficial git repository <https://github.com/Xreki/glog.git> instead")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add a TODO mark this problem.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@Xreki Xreki merged commit e4bab9a into PaddlePaddle:develop Sep 13, 2017
@Xreki Xreki added the Android label Sep 30, 2017
@Xreki Xreki deleted the build_install_third_party branch October 18, 2017 06:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants