commit
						3ca5750ba8
					
				@ -0,0 +1,3 @@
 | 
				
			|||||||
 | 
					[submodule "warp-ctc"]
 | 
				
			||||||
 | 
						path = warp-ctc
 | 
				
			||||||
 | 
						url = https://github.com/baidu-research/warp-ctc.git
 | 
				
			||||||
@ -0,0 +1 @@
 | 
				
			|||||||
 | 
					./doc/howto/dev/contribute_to_paddle_en.md
 | 
				
			||||||
@ -0,0 +1,31 @@
 | 
				
			|||||||
 | 
					# External dependency to Google protobuf.
 | 
				
			||||||
 | 
					http_archive(
 | 
				
			||||||
 | 
					    name="protobuf",
 | 
				
			||||||
 | 
					    url="http://github.com/google/protobuf/archive/v3.1.0.tar.gz",
 | 
				
			||||||
 | 
					    sha256="0a0ae63cbffc274efb573bdde9a253e3f32e458c41261df51c5dbc5ad541e8f7",
 | 
				
			||||||
 | 
					    strip_prefix="protobuf-3.1.0")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# External dependency to gtest 1.7.0.  This method comes from
 | 
				
			||||||
 | 
					# https://www.bazel.io/versions/master/docs/tutorial/cpp.html.
 | 
				
			||||||
 | 
					new_http_archive(
 | 
				
			||||||
 | 
					    name="gtest",
 | 
				
			||||||
 | 
					    url="https://github.com/google/googletest/archive/release-1.7.0.zip",
 | 
				
			||||||
 | 
					    sha256="b58cb7547a28b2c718d1e38aee18a3659c9e3ff52440297e965f5edffe34b6d0",
 | 
				
			||||||
 | 
					    build_file="third_party/gtest.BUILD",
 | 
				
			||||||
 | 
					    strip_prefix="googletest-release-1.7.0")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# External dependency to gflags.  This method comes from
 | 
				
			||||||
 | 
					# https://github.com/gflags/example/blob/master/WORKSPACE.
 | 
				
			||||||
 | 
					new_git_repository(
 | 
				
			||||||
 | 
					    name="gflags",
 | 
				
			||||||
 | 
					    tag="v2.2.0",
 | 
				
			||||||
 | 
					    remote="https://github.com/gflags/gflags.git",
 | 
				
			||||||
 | 
					    build_file="third_party/gflags.BUILD")
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# External dependency to glog.  This method comes from
 | 
				
			||||||
 | 
					# https://github.com/reyoung/bazel_playground/blob/master/WORKSPACE
 | 
				
			||||||
 | 
					new_git_repository(
 | 
				
			||||||
 | 
					    name="glog",
 | 
				
			||||||
 | 
					    remote="https://github.com/google/glog.git",
 | 
				
			||||||
 | 
					    commit="b6a5e0524c28178985f0d228e9eaa43808dbec3c",
 | 
				
			||||||
 | 
					    build_file="third_party/glog.BUILD")
 | 
				
			||||||
@ -1,13 +0,0 @@
 | 
				
			|||||||
# Enable C++ 11 for GCC.
 | 
					 | 
				
			||||||
# NOTE: It's only tested for gcc.
 | 
					 | 
				
			||||||
include(CheckCXXCompilerFlag)
 | 
					 | 
				
			||||||
CHECK_CXX_COMPILER_FLAG("-std=c++11" COMPILER_SUPPORT_CXX11)
 | 
					 | 
				
			||||||
CHECK_CXX_COMPILER_FLAG("-std=c++0x" COMPILER_SUPPORT_CXX0X)
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
if(COMPILER_SUPPORT_CXX11)
 | 
					 | 
				
			||||||
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")
 | 
					 | 
				
			||||||
elseif(COMPILER_SUPPORT_CXX0X)
 | 
					 | 
				
			||||||
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++0x")
 | 
					 | 
				
			||||||
else()
 | 
					 | 
				
			||||||
    message(FATAL_ERROR "Your compiler must support c++11")
 | 
					 | 
				
			||||||
endif()
 | 
					 | 
				
			||||||
											
												
													File diff suppressed because it is too large
													Load Diff
												
											
										
									
								
											
												
													File diff suppressed because it is too large
													Load Diff
												
											
										
									
								Some files were not shown because too many files have changed in this diff Show More
					Loading…
					
					
				
		Reference in new issue