Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
6cc544aa
P
Paddle
项目概览
PaddlePaddle
/
Paddle
大约 1 年 前同步成功
通知
2298
Star
20931
Fork
5422
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1423
列表
看板
标记
里程碑
合并请求
543
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1,423
Issue
1,423
列表
看板
标记
里程碑
合并请求
543
合并请求
543
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
提交
6cc544aa
编写于
11月 11, 2019
作者:
M
Michał Gallus
提交者:
Tao Luo
11月 11, 2019
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Add Shallow clone to ExternalProjects (#21060)
test=develop
上级
9091f8cd
变更
22
隐藏空白更改
内联
并排
Showing
22 changed file
with
26 addition
and
0 deletion
+26
-0
cmake/external/brpc.cmake
cmake/external/brpc.cmake
+1
-0
cmake/external/cares.cmake
cmake/external/cares.cmake
+1
-0
cmake/external/cub.cmake
cmake/external/cub.cmake
+1
-0
cmake/external/dlpack.cmake
cmake/external/dlpack.cmake
+1
-0
cmake/external/eigen.cmake
cmake/external/eigen.cmake
+2
-0
cmake/external/gflags.cmake
cmake/external/gflags.cmake
+1
-0
cmake/external/glog.cmake
cmake/external/glog.cmake
+1
-0
cmake/external/gtest.cmake
cmake/external/gtest.cmake
+1
-0
cmake/external/leveldb.cmake
cmake/external/leveldb.cmake
+1
-0
cmake/external/libxsmm.cmake
cmake/external/libxsmm.cmake
+1
-0
cmake/external/mkldnn.cmake
cmake/external/mkldnn.cmake
+1
-0
cmake/external/ngraph.cmake
cmake/external/ngraph.cmake
+1
-0
cmake/external/openblas.cmake
cmake/external/openblas.cmake
+1
-0
cmake/external/protobuf.cmake
cmake/external/protobuf.cmake
+1
-0
cmake/external/pybind11.cmake
cmake/external/pybind11.cmake
+1
-0
cmake/external/rocprim.cmake
cmake/external/rocprim.cmake
+1
-0
cmake/external/threadpool.cmake
cmake/external/threadpool.cmake
+1
-0
cmake/external/warpctc.cmake
cmake/external/warpctc.cmake
+1
-0
cmake/external/xbyak.cmake
cmake/external/xbyak.cmake
+1
-0
cmake/external/xxhash.cmake
cmake/external/xxhash.cmake
+1
-0
cmake/external/zlib.cmake
cmake/external/zlib.cmake
+1
-0
cmake/third_party.cmake
cmake/third_party.cmake
+4
-0
未找到文件。
cmake/external/brpc.cmake
浏览文件 @
6cc544aa
...
...
@@ -39,6 +39,7 @@ set(prefix_path "${THIRD_PARTY_PATH}/install/gflags|${THIRD_PARTY_PATH}/install/
ExternalProject_Add
(
extern_brpc
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
SHALLOW_CLONE
}
GIT_REPOSITORY
"https://github.com/apache/incubator-brpc"
GIT_TAG
"ad00fe940b4f05225b214131959293bbed8744a0"
#rdma branch's head now.
PREFIX
${
BRPC_SOURCES_DIR
}
...
...
cmake/external/cares.cmake
浏览文件 @
6cc544aa
...
...
@@ -28,6 +28,7 @@ endif()
ExternalProject_Add
(
extern_cares
${
SHALLOW_CLONE
}
GIT_REPOSITORY
"https://github.com/c-ares/c-ares.git"
GIT_TAG
"cares-1_13_0"
PREFIX
${
CARES_SOURCES_DIR
}
...
...
cmake/external/cub.cmake
浏览文件 @
6cc544aa
...
...
@@ -22,6 +22,7 @@ include_directories(${CUB_INCLUDE_DIR})
ExternalProject_Add
(
extern_cub
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
SHALLOW_CLONE
}
GIT_REPOSITORY
"https://github.com/NVlabs/cub.git"
GIT_TAG
"v1.8.0"
PREFIX
${
CUB_SOURCE_DIR
}
...
...
cmake/external/dlpack.cmake
浏览文件 @
6cc544aa
...
...
@@ -22,6 +22,7 @@ include_directories(${DLPACK_INCLUDE_DIR})
ExternalProject_Add
(
extern_dlpack
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
SHALLOW_CLONE
}
GIT_REPOSITORY
"https://github.com/dmlc/dlpack.git"
GIT_TAG
"v0.2"
PREFIX
${
DLPACK_SOURCE_DIR
}
...
...
cmake/external/eigen.cmake
浏览文件 @
6cc544aa
...
...
@@ -29,6 +29,7 @@ if(WITH_AMD_GPU)
ExternalProject_Add
(
extern_eigen3
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
SHALLOW_CLONE
}
GIT_REPOSITORY
"https://github.com/sabreshao/hipeigen.git"
GIT_TAG 7cb2b6e5a4b4a1efe658abb215cd866c6fb2275e
PREFIX
${
EIGEN_SOURCE_DIR
}
...
...
@@ -42,6 +43,7 @@ else()
ExternalProject_Add
(
extern_eigen3
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
SHALLOW_CLONE
}
GIT_REPOSITORY
"
${
EIGEN_GIT_REPOSITORY
}
"
# eigen on cuda9.1 missing header of math_funtions.hpp
# https://stackoverflow.com/questions/43113508/math-functions-hpp-not-found-when-using-cuda-with-eigen
...
...
cmake/external/gflags.cmake
浏览文件 @
6cc544aa
...
...
@@ -30,6 +30,7 @@ INCLUDE_DIRECTORIES(${GFLAGS_INCLUDE_DIR})
ExternalProject_Add
(
extern_gflags
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
SHALLOW_CLONE
}
GIT_REPOSITORY
"https://github.com/gflags/gflags.git"
GIT_TAG 77592648e3f3be87d6c7123eb81cbad75f9aef5a
PREFIX
${
GFLAGS_SOURCES_DIR
}
...
...
cmake/external/glog.cmake
浏览文件 @
6cc544aa
...
...
@@ -34,6 +34,7 @@ SET(GLOG_TAG "v0.3.5")
ExternalProject_Add
(
extern_glog
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
SHALLOW_CLONE
}
DEPENDS gflags
GIT_REPOSITORY
${
GLOG_REPOSITORY
}
GIT_TAG
${
GLOG_TAG
}
...
...
cmake/external/gtest.cmake
浏览文件 @
6cc544aa
...
...
@@ -47,6 +47,7 @@ ENDIF()
ExternalProject_Add
(
extern_gtest
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
SHALLOW_CLONE
}
DEPENDS
${
GTEST_DEPENDS
}
GIT_REPOSITORY
"https://github.com/google/googletest.git"
GIT_TAG
"release-1.8.1"
...
...
cmake/external/leveldb.cmake
浏览文件 @
6cc544aa
...
...
@@ -23,6 +23,7 @@ INCLUDE_DIRECTORIES(${LEVELDB_INCLUDE_DIR})
ExternalProject_Add
(
extern_leveldb
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
SHALLOW_CLONE
}
PREFIX
${
LEVELDB_SOURCES_DIR
}
GIT_REPOSITORY
"https://github.com/google/leveldb"
GIT_TAG v1.18
...
...
cmake/external/libxsmm.cmake
浏览文件 @
6cc544aa
...
...
@@ -23,6 +23,7 @@ SET(LIBXSMM_LIBS "${LIBXSMM_LIBRARY_DIR}/libxsmm.a"
ExternalProject_Add
(
extern_libxsmm
${
SHALLOW_CLONE
}
GIT_REPOSITORY
"https://github.com/hfp/libxsmm.git"
GIT_TAG
"7cc03b5b342fdbc6b6d990b190671c5dbb8489a2"
PREFIX
${
LIBXSMM_SOURCES_DIR
}
...
...
cmake/external/mkldnn.cmake
浏览文件 @
6cc544aa
...
...
@@ -52,6 +52,7 @@ ENDIF(NOT WIN32)
ExternalProject_Add
(
${
MKLDNN_PROJECT
}
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
SHALLOW_CLONE
}
DEPENDS
${
MKLDNN_DEPENDS
}
GIT_REPOSITORY
"https://github.com/intel/mkl-dnn.git"
GIT_TAG
"aef88b7c233f48f8b945da310f1b973da31ad033"
...
...
cmake/external/ngraph.cmake
浏览文件 @
6cc544aa
...
...
@@ -37,6 +37,7 @@ SET(NGRAPH_TBB_LIB ${NGRAPH_LIB_DIR}/${NGRAPH_TBB_LIB_NAME})
ExternalProject_Add
(
${
NGRAPH_PROJECT
}
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
SHALLOW_CLONE
}
DEPENDS
${
MKLDNN_PROJECT
}
${
MKLML_PROJECT
}
GIT_REPOSITORY
${
NGRAPH_GIT_REPO
}
GIT_TAG
${
NGRAPH_GIT_TAG
}
...
...
cmake/external/openblas.cmake
浏览文件 @
6cc544aa
...
...
@@ -47,6 +47,7 @@ IF(NOT ${CBLAS_FOUND})
ExternalProject_Add
(
extern_openblas
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
SHALLOW_CLONE
}
GIT_REPOSITORY https://github.com/xianyi/OpenBLAS.git
GIT_TAG
${
OPENBLAS_COMMIT
}
PREFIX
${
CBLAS_SOURCES_DIR
}
...
...
cmake/external/protobuf.cmake
浏览文件 @
6cc544aa
...
...
@@ -209,6 +209,7 @@ FUNCTION(build_protobuf TARGET_NAME BUILD_FOR_HOST)
ExternalProject_Add
(
${
TARGET_NAME
}
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
SHALLOW_CLONE
}
PREFIX
${
PROTOBUF_SOURCES_DIR
}
UPDATE_COMMAND
""
DEPENDS zlib
...
...
cmake/external/pybind11.cmake
浏览文件 @
6cc544aa
...
...
@@ -21,6 +21,7 @@ include_directories(${PYBIND_SOURCE_DIR}/src/extern_pybind/include)
ExternalProject_Add
(
extern_pybind
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
SHALLOW_CLONE
}
GIT_REPOSITORY
"https://github.com/pybind/pybind11.git"
GIT_TAG
"v2.2.4"
PREFIX
${
PYBIND_SOURCE_DIR
}
...
...
cmake/external/rocprim.cmake
浏览文件 @
6cc544aa
...
...
@@ -28,6 +28,7 @@ SET(ROCPRIM_INCLUDE_DIR ${ROCPRIM_INSTALL_DIR}/include)
ExternalProject_Add
(
extern_rocprim
${
SHALLOW_CLONE
}
GIT_REPOSITORY
"https://github.com/ROCmSoftwarePlatform/rocPRIM.git"
GIT_TAG 5bd41b96ab8d8343330fb2c3e1b96775bde3b3fc
PREFIX
${
ROCPRIM_SOURCE_DIR
}
...
...
cmake/external/threadpool.cmake
浏览文件 @
6cc544aa
...
...
@@ -21,6 +21,7 @@ INCLUDE_DIRECTORIES(${THREADPOOL_INCLUDE_DIR})
ExternalProject_Add
(
extern_threadpool
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
SHALLOW_CLONE
}
GIT_REPOSITORY
"https://github.com/progschj/ThreadPool.git"
GIT_TAG 9a42ec1329f259a5f4881a291db1dcb8f2ad9040
PREFIX
${
THREADPOOL_SOURCE_DIR
}
...
...
cmake/external/warpctc.cmake
浏览文件 @
6cc544aa
...
...
@@ -35,6 +35,7 @@ SET(WARPCTC_REPOSITORY "https://github.com/wopeizl/warp-ctc.git")
ExternalProject_Add
(
extern_warpctc
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
SHALLOW_CLONE
}
GIT_REPOSITORY
${
WARPCTC_REPOSITORY
}
PREFIX
${
WARPCTC_SOURCES_DIR
}
UPDATE_COMMAND
""
...
...
cmake/external/xbyak.cmake
浏览文件 @
6cc544aa
...
...
@@ -31,6 +31,7 @@ add_definitions(-DXBYAK_NO_OP_NAMES)
ExternalProject_Add
(
${
XBYAK_PROJECT
}
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
SHALLOW_CLONE
}
DEPENDS
""
GIT_REPOSITORY
"https://github.com/herumi/xbyak.git"
GIT_TAG
"v5.661"
# Jul 26th
...
...
cmake/external/xxhash.cmake
浏览文件 @
6cc544aa
...
...
@@ -32,6 +32,7 @@ if(WIN32)
ExternalProject_Add
(
extern_xxhash
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
SHALLOW_CLONE
}
GIT_REPOSITORY
"https://github.com/Cyan4973/xxHash"
GIT_TAG
"v0.6.5"
PREFIX
${
XXHASH_SOURCE_DIR
}
...
...
cmake/external/zlib.cmake
浏览文件 @
6cc544aa
...
...
@@ -25,6 +25,7 @@ INCLUDE_DIRECTORIES(${THIRD_PARTY_PATH}/install) # For Paddle code to include zl
ExternalProject_Add
(
extern_zlib
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
SHALLOW_CLONE
}
GIT_REPOSITORY
"https://github.com/madler/zlib.git"
GIT_TAG
"v1.2.8"
PREFIX
${
ZLIB_SOURCES_DIR
}
...
...
cmake/third_party.cmake
浏览文件 @
6cc544aa
...
...
@@ -89,6 +89,10 @@ if(WIN32 OR APPLE OR NOT WITH_GPU OR ON_INFER)
set
(
WITH_DGC OFF
)
endif
()
if
(
${
CMAKE_VERSION
}
VERSION_GREATER
"3.5.2"
)
set
(
SHALLOW_CLONE
"GIT_SHALLOW TRUE"
)
# adds --depth=1 arg to git clone of External_Projects
endif
()
########################### include third_party accoring to flags ###############################
include
(
external/zlib
)
# download, build, install zlib
include
(
external/gflags
)
# download, build, install gflags
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录