peizhilin
bb3f6bd31c
Merge branch 'windows/build' into windows/online
...
test=develop
6 years ago
peizhilin
61fa5218b9
Merge remote-tracking branch 'upstream/develop' into windows/build
6 years ago
Yu Yang
792bf0b77f
Fix for cmake 1.11 ( #14350 )
...
test=develop
6 years ago
peizhilin
ded93a354a
fix the typo
6 years ago
peizhilin
9fa96147c2
fix the typo
6 years ago
peizhilin
130cdda65b
add gpu debug mode
6 years ago
peizhilin
77892124fb
online configuration
6 years ago
peizhilin
9d67c1fb69
cpu build support
6 years ago
dzhwinter
669304f4e5
protobuf ( #12935 )
7 years ago
Qiao Longfei
391c274966
disable remove rpath from third party protoc ( #10939 )
7 years ago
qingqing01
24509f4af9
Fix the grammar in copyright. ( #8403 )
7 years ago
Luo Tao
59e4dd5797
add independent inference_lib.cmake
7 years ago
Luo Tao
9b5d41b636
make inference_lib_dist
7 years ago
Luo Tao
c0f0f2337e
add WITH_FLUID option and third party INSTALL for fluid api
7 years ago
hedaoyuan
0295b00066
Add libprotobuf-lite.a when install. ( #6340 )
...
* Add libprotobuf-lite.a when install.
* Fix protobuf.cmake
* Bug fix
7 years ago
dangqingqing
a0648ee449
Add comments.
7 years ago
dangqingqing
4d47683b1c
Use protobuf v3.2.0 for MOBILE_INFERENCE compiling.
7 years ago
Yu Yang
6375c8cacb
Fix MacOS compile ( #5978 )
...
* Fix MacOS compile
* Update GRPC
* Unset PROTOBUF_EXEC
7 years ago
hedaoyuan
773d064ae0
Use MinSizeRel compile third_party library when build for mobile inference.
8 years ago
Liu Yiqun
76338fb6a7
Merge branch 'develop' into build_ios
8 years ago
Liu Yiqun
5991a35e58
Install the automatically built, compiled libraries under third_party when
...
executing `make install` and WITH_C_API is set.
8 years ago
Liu Yiqun
d57ffc4557
Deliver the cross-compilng platform-specific args to external libraries.
8 years ago
Yu Yang
e2ea1f42e9
Generate python protobufs for paddle.v2.framework
...
Python should be able to manipulate Protobuf message because:
1. Python's `create_op_creation_methods` take the `OpProto` array to
generate all `op_creation_methods` in RunTime.
2. All `op_creation_methods` will create an `OpDesc` and pass it to
Paddle C++ method `CreateOp` and return the Op handle.
Here is the list of what is added in this commit:
* Add `protobuf_generate_python` if it is not defined.
* Before cmake 3.4, `protobuf_generate_python` is not defined. Just
copy the implementation of that function in `protobuf.cmake`
* Add `py_proto_compile` function in `cmake/generic.cmake`.
* It follows bazel's API interface.
* https://github.com/pubref/rules_protobuf#rules
* Add an empty package named `paddle.v2.framework`, all python code of
`paddle::framework` will be in that package.
* Generate protobuf's python module `__init__.py` by `touch` while
compiling.
* Change setup.py.in, make `paddle.v2.framework.proto` uses the
generated protobuf pythons.
8 years ago
liaogang
d09bbb559d
FIX: Always build protobuf from source
8 years ago
Yu Yang
32d6587242
Use protobuf_generate_cpp
8 years ago
Yu Yang
b1a311c44d
Add pb_cc_library in generic.cmake
...
Fix #2567
8 years ago
Liu Yiqun
16f8508d74
Use CMake system variables, such as CMAKE_STATIC_LIBRARY_PREFIX/SUFFIX, instead.
8 years ago
Liu Yiqun
c89fe83a77
Fix the problem that protobuf cannot be used as a DEPS argument in cc_library.
8 years ago
Yu Yang
e73f4a7944
Set protobuf version when PROTOBUF_ROOT set
8 years ago
Yu Yang
f6cf9fa839
Add missing condition in if
8 years ago
Yu Yang
9068da1220
Add user can define PROTOBUF_ROOT.
8 years ago
Liu Yiqun
b55bde1b51
Fix bug of setting external_project_dependencies in cmake.
8 years ago
Liu Yiqun
668a1b8bfe
Correct the definition of PROTOBUF_VERSION.
8 years ago
Liu Yiqun
1ddb9bf782
Delete the configuration of fortran compiler.
8 years ago
Liu Yiqun
e678546388
Change ${TARGET_NAME}_INCLUDE_DIR to PARENT_SCOPE.
8 years ago
Liu Yiqun
f2b35277b5
Fix typo.
8 years ago
Liu Yiqun
01bee86df5
Merge branch 'develop' into cmake_protobuf
8 years ago
xuwei06
e4af8ef4e8
Fix protobuf.cmake to handle empty PROTOBUF_VERSION correctly
...
Sometime FIND_PACKAGE(ProtoBuf) get an empty PROTOBUF_VERSION. In this case, ${PROTOBUF_VERSION} needs to be quoted.
8 years ago
Liu Yiqun
c6090035ce
Support the auto-compiling for host protoc when cross-compiling.
8 years ago
liaogang
0c647105fd
Update cmake external cache
8 years ago
liaogang
7f92ce6690
CMake external cache args
8 years ago
qiaolongfei
bb51f0a219
set PROTOBUF_VERSION in setup.py
8 years ago
liaogang
bd41a8c482
Fix cmake find protobuf problem
8 years ago
gangliao
714e9bb95a
Set Protobuf 3.1 in FIND_PACKAGE
8 years ago
liaogang
11fdb4f041
Check system's protobuf for internal users
8 years ago
FoREacH
ed56240235
Set protobuf CMAKE_INSTALL_LIBDIR to fixed value lib
8 years ago
liujunyi
f7c8287df9
add lack dependency to zlib
8 years ago
Yu Yang
f30c25fe2d
Add THIRD_PARTY_PATH
8 years ago
liaogang
e2d0e09a8c
Update external dependencies
8 years ago
liaogang
aee0857838
Clean Travis ci and fix bug
8 years ago