Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
d2522197
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看板
未验证
提交
d2522197
编写于
10月 26, 2020
作者:
X
XiaoguangHu
提交者:
GitHub
10月 26, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
add git mirror url to speed up clone (#28241)
上级
f4f823c8
变更
23
隐藏空白更改
内联
并排
Showing
23 changed file
with
32 addition
and
25 deletion
+32
-25
CMakeLists.txt
CMakeLists.txt
+7
-0
cmake/external/brpc.cmake
cmake/external/brpc.cmake
+1
-1
cmake/external/cryptopp.cmake
cmake/external/cryptopp.cmake
+2
-2
cmake/external/cub.cmake
cmake/external/cub.cmake
+1
-1
cmake/external/dlpack.cmake
cmake/external/dlpack.cmake
+1
-1
cmake/external/eigen.cmake
cmake/external/eigen.cmake
+2
-2
cmake/external/gflags.cmake
cmake/external/gflags.cmake
+1
-1
cmake/external/glog.cmake
cmake/external/glog.cmake
+1
-1
cmake/external/gloo.cmake
cmake/external/gloo.cmake
+1
-1
cmake/external/gtest.cmake
cmake/external/gtest.cmake
+1
-1
cmake/external/leveldb.cmake
cmake/external/leveldb.cmake
+1
-1
cmake/external/libxsmm.cmake
cmake/external/libxsmm.cmake
+1
-1
cmake/external/lite.cmake
cmake/external/lite.cmake
+2
-2
cmake/external/mkldnn.cmake
cmake/external/mkldnn.cmake
+1
-1
cmake/external/openblas.cmake
cmake/external/openblas.cmake
+1
-1
cmake/external/protobuf.cmake
cmake/external/protobuf.cmake
+1
-1
cmake/external/pybind11.cmake
cmake/external/pybind11.cmake
+1
-1
cmake/external/rocprim.cmake
cmake/external/rocprim.cmake
+1
-1
cmake/external/threadpool.cmake
cmake/external/threadpool.cmake
+1
-1
cmake/external/warpctc.cmake
cmake/external/warpctc.cmake
+1
-1
cmake/external/xbyak.cmake
cmake/external/xbyak.cmake
+1
-1
cmake/external/xxhash.cmake
cmake/external/xxhash.cmake
+1
-1
cmake/external/zlib.cmake
cmake/external/zlib.cmake
+1
-1
未找到文件。
CMakeLists.txt
浏览文件 @
d2522197
...
@@ -98,6 +98,13 @@ else(WIN32)
...
@@ -98,6 +98,13 @@ else(WIN32)
endif
(
WIN32
)
endif
(
WIN32
)
find_package
(
Git REQUIRED
)
find_package
(
Git REQUIRED
)
# config GIT_URL with github mirrors to speed up dependent repos clone
option
(
GIT_URL
"Git URL to clone dependent repos"
${
GIT_URL
}
)
if
(
NOT GIT_URL
)
set
(
GIT_URL
"https://github.com"
)
endif
()
find_package
(
Threads REQUIRED
)
find_package
(
Threads REQUIRED
)
include
(
simd
)
include
(
simd
)
...
...
cmake/external/brpc.cmake
浏览文件 @
d2522197
...
@@ -40,7 +40,7 @@ ExternalProject_Add(
...
@@ -40,7 +40,7 @@ ExternalProject_Add(
extern_brpc
extern_brpc
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
SHALLOW_CLONE
}
${
SHALLOW_CLONE
}
GIT_REPOSITORY
"
https://github.com
/apache/incubator-brpc.git"
GIT_REPOSITORY
"
${
GIT_URL
}
/apache/incubator-brpc.git"
GIT_TAG
"ad00fe940b4f05225b214131959293bbed8744a0"
#rdma branch's head now.
GIT_TAG
"ad00fe940b4f05225b214131959293bbed8744a0"
#rdma branch's head now.
PREFIX
${
BRPC_SOURCES_DIR
}
PREFIX
${
BRPC_SOURCES_DIR
}
UPDATE_COMMAND
""
UPDATE_COMMAND
""
...
...
cmake/external/cryptopp.cmake
浏览文件 @
d2522197
...
@@ -17,7 +17,7 @@ INCLUDE(ExternalProject)
...
@@ -17,7 +17,7 @@ INCLUDE(ExternalProject)
SET
(
CRYPTOPP_PREFIX_DIR
${
THIRD_PARTY_PATH
}
/cryptopp
)
SET
(
CRYPTOPP_PREFIX_DIR
${
THIRD_PARTY_PATH
}
/cryptopp
)
SET
(
CRYPTOPP_INSTALL_DIR
${
THIRD_PARTY_PATH
}
/install/cryptopp
)
SET
(
CRYPTOPP_INSTALL_DIR
${
THIRD_PARTY_PATH
}
/install/cryptopp
)
SET
(
CRYPTOPP_INCLUDE_DIR
"
${
CRYPTOPP_INSTALL_DIR
}
/include"
CACHE PATH
"cryptopp include directory."
FORCE
)
SET
(
CRYPTOPP_INCLUDE_DIR
"
${
CRYPTOPP_INSTALL_DIR
}
/include"
CACHE PATH
"cryptopp include directory."
FORCE
)
SET
(
CRYPTOPP_REPOSITORY
https://github.com
/weidai11/cryptopp.git
)
SET
(
CRYPTOPP_REPOSITORY
${
GIT_URL
}
/weidai11/cryptopp.git
)
SET
(
CRYPTOPP_TAG CRYPTOPP_8_2_0
)
SET
(
CRYPTOPP_TAG CRYPTOPP_8_2_0
)
IF
(
WIN32
)
IF
(
WIN32
)
...
@@ -55,7 +55,7 @@ ExternalProject_Add(
...
@@ -55,7 +55,7 @@ ExternalProject_Add(
SOURCE_DIR
${
CRYPTOPP_SOURCE_DIR
}
SOURCE_DIR
${
CRYPTOPP_SOURCE_DIR
}
PATCH_COMMAND
PATCH_COMMAND
COMMAND
${
CMAKE_COMMAND
}
-E remove_directory
"<SOURCE_DIR>/cmake/"
COMMAND
${
CMAKE_COMMAND
}
-E remove_directory
"<SOURCE_DIR>/cmake/"
COMMAND git clone
https://github.com
/noloader/cryptopp-cmake
"<SOURCE_DIR>/cmake"
COMMAND git clone
${
GIT_URL
}
/noloader/cryptopp-cmake
"<SOURCE_DIR>/cmake"
COMMAND cd
"<SOURCE_DIR>/cmake"
&& git checkout tags/
${
CRYPTOPP_TAG
}
-b
${
CRYPTOPP_TAG
}
COMMAND cd
"<SOURCE_DIR>/cmake"
&& git checkout tags/
${
CRYPTOPP_TAG
}
-b
${
CRYPTOPP_TAG
}
COMMAND
${
CMAKE_COMMAND
}
-E copy_directory
"<SOURCE_DIR>/cmake/"
"<SOURCE_DIR>/"
COMMAND
${
CMAKE_COMMAND
}
-E copy_directory
"<SOURCE_DIR>/cmake/"
"<SOURCE_DIR>/"
INSTALL_DIR
${
CRYPTOPP_INSTALL_DIR
}
INSTALL_DIR
${
CRYPTOPP_INSTALL_DIR
}
...
...
cmake/external/cub.cmake
浏览文件 @
d2522197
...
@@ -16,7 +16,7 @@ include(ExternalProject)
...
@@ -16,7 +16,7 @@ include(ExternalProject)
set
(
CUB_PREFIX_DIR
${
THIRD_PARTY_PATH
}
/cub
)
set
(
CUB_PREFIX_DIR
${
THIRD_PARTY_PATH
}
/cub
)
set
(
CUB_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/cub/src/extern_cub
)
set
(
CUB_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/cub/src/extern_cub
)
set
(
CUB_REPOSITORY
https://github.com
/NVlabs/cub.git
)
set
(
CUB_REPOSITORY
${
GIT_URL
}
/NVlabs/cub.git
)
set
(
CUB_TAG 1.8.0
)
set
(
CUB_TAG 1.8.0
)
cache_third_party
(
extern_cub
cache_third_party
(
extern_cub
...
...
cmake/external/dlpack.cmake
浏览文件 @
d2522197
...
@@ -17,7 +17,7 @@ include(ExternalProject)
...
@@ -17,7 +17,7 @@ include(ExternalProject)
set
(
DLPACK_PREFIX_DIR
${
THIRD_PARTY_PATH
}
/dlpack
)
set
(
DLPACK_PREFIX_DIR
${
THIRD_PARTY_PATH
}
/dlpack
)
set
(
DLPACK_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/dlpack/src/extern_dlpack
)
set
(
DLPACK_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/dlpack/src/extern_dlpack
)
set
(
DLPACK_REPOSITORY
https://github.com
/dmlc/dlpack.git
)
set
(
DLPACK_REPOSITORY
${
GIT_URL
}
/dmlc/dlpack.git
)
set
(
DLPACK_TAG v0.2
)
set
(
DLPACK_TAG v0.2
)
cache_third_party
(
extern_dlpack
cache_third_party
(
extern_dlpack
...
...
cmake/external/eigen.cmake
浏览文件 @
d2522197
...
@@ -22,14 +22,14 @@ set(EIGEN_TAG 4da2c6b1974827b1999bab652a3d4703e1992d26)
...
@@ -22,14 +22,14 @@ set(EIGEN_TAG 4da2c6b1974827b1999bab652a3d4703e1992d26)
# the recent version of eigen will cause compilation error on windows
# the recent version of eigen will cause compilation error on windows
if
(
WIN32
)
if
(
WIN32
)
set
(
EIGEN_REPOSITORY
https://github.com
/eigenteam/eigen-git-mirror.git
)
set
(
EIGEN_REPOSITORY
${
GIT_URL
}
/eigenteam/eigen-git-mirror.git
)
set
(
EIGEN_TAG 917060c364181f33a735dc023818d5a54f60e54c
)
set
(
EIGEN_TAG 917060c364181f33a735dc023818d5a54f60e54c
)
endif
()
endif
()
# eigen on cuda9.1 missing header of math_funtions.hpp
# 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
# https://stackoverflow.com/questions/43113508/math-functions-hpp-not-found-when-using-cuda-with-eigen
if
(
WITH_AMD_GPU
)
if
(
WITH_AMD_GPU
)
set
(
EIGEN_REPOSITORY
https://github.com
/sabreshao/hipeigen.git
)
set
(
EIGEN_REPOSITORY
${
GIT_URL
}
/sabreshao/hipeigen.git
)
set
(
EIGEN_TAG 7cb2b6e5a4b4a1efe658abb215cd866c6fb2275e
)
set
(
EIGEN_TAG 7cb2b6e5a4b4a1efe658abb215cd866c6fb2275e
)
endif
()
endif
()
...
...
cmake/external/gflags.cmake
浏览文件 @
d2522197
...
@@ -18,7 +18,7 @@ SET(GFLAGS_PREFIX_DIR ${THIRD_PARTY_PATH}/gflags)
...
@@ -18,7 +18,7 @@ SET(GFLAGS_PREFIX_DIR ${THIRD_PARTY_PATH}/gflags)
SET
(
GFLAGS_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/gflags/src/extern_gflags
)
SET
(
GFLAGS_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/gflags/src/extern_gflags
)
SET
(
GFLAGS_INSTALL_DIR
${
THIRD_PARTY_PATH
}
/install/gflags
)
SET
(
GFLAGS_INSTALL_DIR
${
THIRD_PARTY_PATH
}
/install/gflags
)
SET
(
GFLAGS_INCLUDE_DIR
"
${
GFLAGS_INSTALL_DIR
}
/include"
CACHE PATH
"gflags include directory."
FORCE
)
SET
(
GFLAGS_INCLUDE_DIR
"
${
GFLAGS_INSTALL_DIR
}
/include"
CACHE PATH
"gflags include directory."
FORCE
)
set
(
GFLAGS_REPOSITORY
https://github.com
/gflags/gflags.git
)
set
(
GFLAGS_REPOSITORY
${
GIT_URL
}
/gflags/gflags.git
)
set
(
GFLAGS_TAG 77592648e3f3be87d6c7123eb81cbad75f9aef5a
)
set
(
GFLAGS_TAG 77592648e3f3be87d6c7123eb81cbad75f9aef5a
)
IF
(
WIN32
)
IF
(
WIN32
)
set
(
GFLAGS_LIBRARIES
"
${
GFLAGS_INSTALL_DIR
}
/lib/gflags_static.lib"
CACHE FILEPATH
"GFLAGS_LIBRARIES"
FORCE
)
set
(
GFLAGS_LIBRARIES
"
${
GFLAGS_INSTALL_DIR
}
/lib/gflags_static.lib"
CACHE FILEPATH
"GFLAGS_LIBRARIES"
FORCE
)
...
...
cmake/external/glog.cmake
浏览文件 @
d2522197
...
@@ -18,7 +18,7 @@ SET(GLOG_PREFIX_DIR ${THIRD_PARTY_PATH}/glog)
...
@@ -18,7 +18,7 @@ SET(GLOG_PREFIX_DIR ${THIRD_PARTY_PATH}/glog)
SET
(
GLOG_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/glog/src/extern_glog
)
SET
(
GLOG_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/glog/src/extern_glog
)
SET
(
GLOG_INSTALL_DIR
${
THIRD_PARTY_PATH
}
/install/glog
)
SET
(
GLOG_INSTALL_DIR
${
THIRD_PARTY_PATH
}
/install/glog
)
SET
(
GLOG_INCLUDE_DIR
"
${
GLOG_INSTALL_DIR
}
/include"
CACHE PATH
"glog include directory."
FORCE
)
SET
(
GLOG_INCLUDE_DIR
"
${
GLOG_INSTALL_DIR
}
/include"
CACHE PATH
"glog include directory."
FORCE
)
SET
(
GLOG_REPOSITORY
https://github.com
/google/glog.git
)
SET
(
GLOG_REPOSITORY
${
GIT_URL
}
/google/glog.git
)
SET
(
GLOG_TAG v0.3.5
)
SET
(
GLOG_TAG v0.3.5
)
IF
(
WIN32
)
IF
(
WIN32
)
...
...
cmake/external/gloo.cmake
浏览文件 @
d2522197
...
@@ -21,7 +21,7 @@ SET(GLOO_INSTALL_DIR ${THIRD_PARTY_PATH}/install/gloo)
...
@@ -21,7 +21,7 @@ SET(GLOO_INSTALL_DIR ${THIRD_PARTY_PATH}/install/gloo)
SET
(
GLOO_INCLUDE_DIR
"
${
GLOO_INSTALL_DIR
}
/include"
CACHE PATH
"gloo include directory."
FORCE
)
SET
(
GLOO_INCLUDE_DIR
"
${
GLOO_INSTALL_DIR
}
/include"
CACHE PATH
"gloo include directory."
FORCE
)
SET
(
GLOO_LIBRARY_DIR
"
${
GLOO_INSTALL_DIR
}
/lib"
CACHE PATH
"gloo library directory."
FORCE
)
SET
(
GLOO_LIBRARY_DIR
"
${
GLOO_INSTALL_DIR
}
/lib"
CACHE PATH
"gloo library directory."
FORCE
)
# As we add extra features for gloo, we use the non-official repo
# As we add extra features for gloo, we use the non-official repo
SET
(
GLOO_REPOSITORY
https://github.com
/sandyhouse/gloo.git
)
SET
(
GLOO_REPOSITORY
${
GIT_URL
}
/sandyhouse/gloo.git
)
SET
(
GLOO_TAG v0.0.2
)
SET
(
GLOO_TAG v0.0.2
)
SET
(
GLOO_LIBRARIES
"
${
GLOO_INSTALL_DIR
}
/lib/libgloo.a"
CACHE FILEPATH
"gloo library."
FORCE
)
SET
(
GLOO_LIBRARIES
"
${
GLOO_INSTALL_DIR
}
/lib/libgloo.a"
CACHE FILEPATH
"gloo library."
FORCE
)
...
...
cmake/external/gtest.cmake
浏览文件 @
d2522197
...
@@ -25,7 +25,7 @@ SET(GTEST_PREFIX_DIR ${THIRD_PARTY_PATH}/gtest)
...
@@ -25,7 +25,7 @@ SET(GTEST_PREFIX_DIR ${THIRD_PARTY_PATH}/gtest)
SET
(
GTEST_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/gtest/src/extern_gtest
)
SET
(
GTEST_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/gtest/src/extern_gtest
)
SET
(
GTEST_INSTALL_DIR
${
THIRD_PARTY_PATH
}
/install/gtest
)
SET
(
GTEST_INSTALL_DIR
${
THIRD_PARTY_PATH
}
/install/gtest
)
SET
(
GTEST_INCLUDE_DIR
"
${
GTEST_INSTALL_DIR
}
/include"
CACHE PATH
"gtest include directory."
FORCE
)
SET
(
GTEST_INCLUDE_DIR
"
${
GTEST_INSTALL_DIR
}
/include"
CACHE PATH
"gtest include directory."
FORCE
)
set
(
GTEST_REPOSITORY
https://github.com
/google/googletest.git
)
set
(
GTEST_REPOSITORY
${
GIT_URL
}
/google/googletest.git
)
set
(
GTEST_TAG release-1.8.1
)
set
(
GTEST_TAG release-1.8.1
)
INCLUDE_DIRECTORIES
(
${
GTEST_INCLUDE_DIR
}
)
INCLUDE_DIRECTORIES
(
${
GTEST_INCLUDE_DIR
}
)
...
...
cmake/external/leveldb.cmake
浏览文件 @
d2522197
...
@@ -25,7 +25,7 @@ ExternalProject_Add(
...
@@ -25,7 +25,7 @@ ExternalProject_Add(
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
SHALLOW_CLONE
}
${
SHALLOW_CLONE
}
PREFIX
${
LEVELDB_SOURCES_DIR
}
PREFIX
${
LEVELDB_SOURCES_DIR
}
GIT_REPOSITORY
"
https://github.com
/google/leveldb.git"
GIT_REPOSITORY
"
${
GIT_URL
}
/google/leveldb.git"
GIT_TAG v1.18
GIT_TAG v1.18
CONFIGURE_COMMAND
""
CONFIGURE_COMMAND
""
BUILD_COMMAND CXXFLAGS=-fPIC make -j
${
NUM_OF_PROCESSOR
}
libleveldb.a
BUILD_COMMAND CXXFLAGS=-fPIC make -j
${
NUM_OF_PROCESSOR
}
libleveldb.a
...
...
cmake/external/libxsmm.cmake
浏览文件 @
d2522197
...
@@ -24,7 +24,7 @@ SET(LIBXSMM_LIBS "${LIBXSMM_LIBRARY_DIR}/libxsmm.a"
...
@@ -24,7 +24,7 @@ SET(LIBXSMM_LIBS "${LIBXSMM_LIBRARY_DIR}/libxsmm.a"
ExternalProject_Add
(
ExternalProject_Add
(
extern_libxsmm
extern_libxsmm
${
SHALLOW_CLONE
}
${
SHALLOW_CLONE
}
GIT_REPOSITORY
"
https://github.com
/hfp/libxsmm.git"
GIT_REPOSITORY
"
${
GIT_URL
}
/hfp/libxsmm.git"
GIT_TAG
"7cc03b5b342fdbc6b6d990b190671c5dbb8489a2"
GIT_TAG
"7cc03b5b342fdbc6b6d990b190671c5dbb8489a2"
PREFIX
${
LIBXSMM_SOURCES_DIR
}
PREFIX
${
LIBXSMM_SOURCES_DIR
}
UPDATE_COMMAND
""
UPDATE_COMMAND
""
...
...
cmake/external/lite.cmake
浏览文件 @
d2522197
...
@@ -62,7 +62,7 @@ if (NOT LITE_SOURCE_DIR OR NOT LITE_BINARY_DIR)
...
@@ -62,7 +62,7 @@ if (NOT LITE_SOURCE_DIR OR NOT LITE_BINARY_DIR)
ExternalProject_Add
(
ExternalProject_Add
(
${
LITE_PROJECT
}
${
LITE_PROJECT
}
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
EXTERNAL_PROJECT_LOG_ARGS
}
GIT_REPOSITORY
"
https://github.com
/PaddlePaddle/Paddle-Lite.git"
GIT_REPOSITORY
"
${
GIT_URL
}
/PaddlePaddle/Paddle-Lite.git"
GIT_TAG
${
LITE_GIT_TAG
}
GIT_TAG
${
LITE_GIT_TAG
}
PREFIX
${
LITE_SOURCES_DIR
}
PREFIX
${
LITE_SOURCES_DIR
}
PATCH_COMMAND mkdir -p
${
LITE_SOURCES_DIR
}
/src/extern_lite-build/lite/gen_code && touch
${
LITE_SOURCES_DIR
}
/src/extern_lite-build/lite/gen_code/__generated_code__.cc
PATCH_COMMAND mkdir -p
${
LITE_SOURCES_DIR
}
/src/extern_lite-build/lite/gen_code && touch
${
LITE_SOURCES_DIR
}
/src/extern_lite-build/lite/gen_code/__generated_code__.cc
...
@@ -106,7 +106,7 @@ if (NOT LITE_SOURCE_DIR OR NOT LITE_BINARY_DIR)
...
@@ -106,7 +106,7 @@ if (NOT LITE_SOURCE_DIR OR NOT LITE_BINARY_DIR)
ExternalProject_Add
(
ExternalProject_Add
(
${
LITE_PROJECT
}
${
LITE_PROJECT
}
${
EXTERNAL_PROJECT_LOG_ARGS
}
${
EXTERNAL_PROJECT_LOG_ARGS
}
GIT_REPOSITORY
"
https://github.com
/PaddlePaddle/Paddle-Lite.git"
GIT_REPOSITORY
"
${
GIT_URL
}
/PaddlePaddle/Paddle-Lite.git"
GIT_TAG
${
LITE_GIT_TAG
}
GIT_TAG
${
LITE_GIT_TAG
}
PREFIX
${
LITE_SOURCES_DIR
}
PREFIX
${
LITE_SOURCES_DIR
}
UPDATE_COMMAND
""
UPDATE_COMMAND
""
...
...
cmake/external/mkldnn.cmake
浏览文件 @
d2522197
...
@@ -19,7 +19,7 @@ SET(MKLDNN_PREFIX_DIR ${THIRD_PARTY_PATH}/mkldnn)
...
@@ -19,7 +19,7 @@ SET(MKLDNN_PREFIX_DIR ${THIRD_PARTY_PATH}/mkldnn)
SET
(
MKLDNN_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/mkldnn/src/extern_mkldnn
)
SET
(
MKLDNN_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/mkldnn/src/extern_mkldnn
)
SET
(
MKLDNN_INSTALL_DIR
${
THIRD_PARTY_PATH
}
/install/mkldnn
)
SET
(
MKLDNN_INSTALL_DIR
${
THIRD_PARTY_PATH
}
/install/mkldnn
)
SET
(
MKLDNN_INC_DIR
"
${
MKLDNN_INSTALL_DIR
}
/include"
CACHE PATH
"mkldnn include directory."
FORCE
)
SET
(
MKLDNN_INC_DIR
"
${
MKLDNN_INSTALL_DIR
}
/include"
CACHE PATH
"mkldnn include directory."
FORCE
)
SET
(
MKLDNN_REPOSITORY
https://github.com
/oneapi-src/oneDNN.git
)
SET
(
MKLDNN_REPOSITORY
${
GIT_URL
}
/oneapi-src/oneDNN.git
)
SET
(
MKLDNN_TAG 361725600224f41b7347a1c6bee9b04d1e6c14d7
)
SET
(
MKLDNN_TAG 361725600224f41b7347a1c6bee9b04d1e6c14d7
)
# Introduce variables:
# Introduce variables:
...
...
cmake/external/openblas.cmake
浏览文件 @
d2522197
...
@@ -17,7 +17,7 @@ INCLUDE(ExternalProject)
...
@@ -17,7 +17,7 @@ INCLUDE(ExternalProject)
SET
(
CBLAS_PREFIX_DIR
${
THIRD_PARTY_PATH
}
/openblas
)
SET
(
CBLAS_PREFIX_DIR
${
THIRD_PARTY_PATH
}
/openblas
)
SET
(
CBLAS_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/openblas/src/extern_openblas
)
SET
(
CBLAS_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/openblas/src/extern_openblas
)
SET
(
CBLAS_INSTALL_DIR
${
THIRD_PARTY_PATH
}
/install/openblas
)
SET
(
CBLAS_INSTALL_DIR
${
THIRD_PARTY_PATH
}
/install/openblas
)
SET
(
CBLAS_REPOSITORY
https://github.com
/xianyi/OpenBLAS.git
)
SET
(
CBLAS_REPOSITORY
${
GIT_URL
}
/xianyi/OpenBLAS.git
)
SET
(
CBLAS_TAG v0.3.7
)
SET
(
CBLAS_TAG v0.3.7
)
IF
(
WITH_ARM
)
IF
(
WITH_ARM
)
# Under the FT2000 architecture, the calculation result of blas.sgemm in openblas 0.3+ is wrong,
# Under the FT2000 architecture, the calculation result of blas.sgemm in openblas 0.3+ is wrong,
...
...
cmake/external/protobuf.cmake
浏览文件 @
d2522197
...
@@ -198,7 +198,7 @@ FUNCTION(build_protobuf TARGET_NAME BUILD_FOR_HOST)
...
@@ -198,7 +198,7 @@ FUNCTION(build_protobuf TARGET_NAME BUILD_FOR_HOST)
"-Dprotobuf_MSVC_STATIC_RUNTIME=
${
MSVC_STATIC_CRT
}
"
)
"-Dprotobuf_MSVC_STATIC_RUNTIME=
${
MSVC_STATIC_CRT
}
"
)
ENDIF
()
ENDIF
()
SET
(
PROTOBUF_REPOSITORY
https://github.com
/protocolbuffers/protobuf.git
)
SET
(
PROTOBUF_REPOSITORY
${
GIT_URL
}
/protocolbuffers/protobuf.git
)
SET
(
PROTOBUF_TAG 9f75c5aa851cd877fb0d93ccc31b8567a6706546
)
SET
(
PROTOBUF_TAG 9f75c5aa851cd877fb0d93ccc31b8567a6706546
)
cache_third_party
(
${
TARGET_NAME
}
cache_third_party
(
${
TARGET_NAME
}
...
...
cmake/external/pybind11.cmake
浏览文件 @
d2522197
...
@@ -16,7 +16,7 @@ include(ExternalProject)
...
@@ -16,7 +16,7 @@ include(ExternalProject)
set
(
PYBIND_PREFIX_DIR
${
THIRD_PARTY_PATH
}
/pybind
)
set
(
PYBIND_PREFIX_DIR
${
THIRD_PARTY_PATH
}
/pybind
)
set
(
PYBIND_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/pybind/src/extern_pybind
)
set
(
PYBIND_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/pybind/src/extern_pybind
)
SET
(
PYBIND_REPOSITORY
https://github.com
/pybind/pybind11.git
)
SET
(
PYBIND_REPOSITORY
${
GIT_URL
}
/pybind/pybind11.git
)
SET
(
PYBIND_TAG v2.2.4
)
SET
(
PYBIND_TAG v2.2.4
)
cache_third_party
(
extern_pybind
cache_third_party
(
extern_pybind
...
...
cmake/external/rocprim.cmake
浏览文件 @
d2522197
...
@@ -29,7 +29,7 @@ SET(ROCPRIM_INCLUDE_DIR ${ROCPRIM_INSTALL_DIR}/include)
...
@@ -29,7 +29,7 @@ SET(ROCPRIM_INCLUDE_DIR ${ROCPRIM_INSTALL_DIR}/include)
ExternalProject_Add
(
ExternalProject_Add
(
extern_rocprim
extern_rocprim
${
SHALLOW_CLONE
}
${
SHALLOW_CLONE
}
GIT_REPOSITORY
"
https://github.com
/ROCmSoftwarePlatform/rocPRIM.git"
GIT_REPOSITORY
"
${
GIT_URL
}
/ROCmSoftwarePlatform/rocPRIM.git"
GIT_TAG 5bd41b96ab8d8343330fb2c3e1b96775bde3b3fc
GIT_TAG 5bd41b96ab8d8343330fb2c3e1b96775bde3b3fc
PREFIX
${
ROCPRIM_SOURCE_DIR
}
PREFIX
${
ROCPRIM_SOURCE_DIR
}
UPDATE_COMMAND
""
UPDATE_COMMAND
""
...
...
cmake/external/threadpool.cmake
浏览文件 @
d2522197
...
@@ -16,7 +16,7 @@ INCLUDE(ExternalProject)
...
@@ -16,7 +16,7 @@ INCLUDE(ExternalProject)
SET
(
THREADPOOL_PREFIX_DIR
${
THIRD_PARTY_PATH
}
/threadpool
)
SET
(
THREADPOOL_PREFIX_DIR
${
THIRD_PARTY_PATH
}
/threadpool
)
SET
(
THREADPOOL_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/threadpool/src/extern_threadpool
)
SET
(
THREADPOOL_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/threadpool/src/extern_threadpool
)
SET
(
THREADPOOL_REPOSITORY
https://github.com
/progschj/ThreadPool.git
)
SET
(
THREADPOOL_REPOSITORY
${
GIT_URL
}
/progschj/ThreadPool.git
)
SET
(
THREADPOOL_TAG 9a42ec1329f259a5f4881a291db1dcb8f2ad9040
)
SET
(
THREADPOOL_TAG 9a42ec1329f259a5f4881a291db1dcb8f2ad9040
)
cache_third_party
(
extern_threadpool
cache_third_party
(
extern_threadpool
...
...
cmake/external/warpctc.cmake
浏览文件 @
d2522197
...
@@ -17,7 +17,7 @@ INCLUDE(ExternalProject)
...
@@ -17,7 +17,7 @@ INCLUDE(ExternalProject)
SET
(
WARPCTC_PREFIX_DIR
${
THIRD_PARTY_PATH
}
/warpctc
)
SET
(
WARPCTC_PREFIX_DIR
${
THIRD_PARTY_PATH
}
/warpctc
)
SET
(
WARPCTC_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/warpctc/src/extern_warpctc
)
SET
(
WARPCTC_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/warpctc/src/extern_warpctc
)
SET
(
WARPCTC_INSTALL_DIR
${
THIRD_PARTY_PATH
}
/install/warpctc
)
SET
(
WARPCTC_INSTALL_DIR
${
THIRD_PARTY_PATH
}
/install/warpctc
)
set
(
WARPCTC_REPOSITORY
https://github.com
/baidu-research/warp-ctc.git
)
set
(
WARPCTC_REPOSITORY
${
GIT_URL
}
/baidu-research/warp-ctc.git
)
set
(
WARPCTC_TAG 95a461eddeabd51099ef059dcfada1117eb1bfb8
)
set
(
WARPCTC_TAG 95a461eddeabd51099ef059dcfada1117eb1bfb8
)
SET
(
WARPCTC_INCLUDE_DIR
"
${
WARPCTC_INSTALL_DIR
}
/include"
SET
(
WARPCTC_INCLUDE_DIR
"
${
WARPCTC_INSTALL_DIR
}
/include"
...
...
cmake/external/xbyak.cmake
浏览文件 @
d2522197
...
@@ -19,7 +19,7 @@ set(XBYAK_PREFIX_DIR ${THIRD_PARTY_PATH}/xbyak)
...
@@ -19,7 +19,7 @@ set(XBYAK_PREFIX_DIR ${THIRD_PARTY_PATH}/xbyak)
SET
(
XBYAK_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/xbyak/src/extern_xbyak
)
SET
(
XBYAK_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/xbyak/src/extern_xbyak
)
set
(
XBYAK_INSTALL_ROOT
${
THIRD_PARTY_PATH
}
/install/xbyak
)
set
(
XBYAK_INSTALL_ROOT
${
THIRD_PARTY_PATH
}
/install/xbyak
)
set
(
XBYAK_INC_DIR
${
XBYAK_INSTALL_ROOT
}
/include
)
set
(
XBYAK_INC_DIR
${
XBYAK_INSTALL_ROOT
}
/include
)
set
(
XBYAK_REPOSITORY
https://github.com
/herumi/xbyak.git
)
set
(
XBYAK_REPOSITORY
${
GIT_URL
}
/herumi/xbyak.git
)
set
(
XBYAK_TAG v5.661
)
# Jul 26th
set
(
XBYAK_TAG v5.661
)
# Jul 26th
include_directories
(
${
XBYAK_INC_DIR
}
)
include_directories
(
${
XBYAK_INC_DIR
}
)
...
...
cmake/external/xxhash.cmake
浏览文件 @
d2522197
...
@@ -18,7 +18,7 @@ set(XXHASH_PREFIX_DIR ${THIRD_PARTY_PATH}/xxhash)
...
@@ -18,7 +18,7 @@ set(XXHASH_PREFIX_DIR ${THIRD_PARTY_PATH}/xxhash)
set
(
XXHASH_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/xxhash/src/extern_xxhash
)
set
(
XXHASH_SOURCE_DIR
${
THIRD_PARTY_PATH
}
/xxhash/src/extern_xxhash
)
set
(
XXHASH_INSTALL_DIR
${
THIRD_PARTY_PATH
}
/install/xxhash
)
set
(
XXHASH_INSTALL_DIR
${
THIRD_PARTY_PATH
}
/install/xxhash
)
set
(
XXHASH_INCLUDE_DIR
"
${
XXHASH_INSTALL_DIR
}
/include"
)
set
(
XXHASH_INCLUDE_DIR
"
${
XXHASH_INSTALL_DIR
}
/include"
)
set
(
XXHASH_REPOSITORY
https://github.com
/Cyan4973/xxHash.git
)
set
(
XXHASH_REPOSITORY
${
GIT_URL
}
/Cyan4973/xxHash.git
)
set
(
XXHASH_TAG v0.6.5
)
set
(
XXHASH_TAG v0.6.5
)
cache_third_party
(
extern_xxhash
cache_third_party
(
extern_xxhash
...
...
cmake/external/zlib.cmake
浏览文件 @
d2522197
...
@@ -19,7 +19,7 @@ SET(ZLIB_SOURCE_DIR ${THIRD_PARTY_PATH}/zlib/src/extern_zlib)
...
@@ -19,7 +19,7 @@ SET(ZLIB_SOURCE_DIR ${THIRD_PARTY_PATH}/zlib/src/extern_zlib)
SET
(
ZLIB_INSTALL_DIR
${
THIRD_PARTY_PATH
}
/install/zlib
)
SET
(
ZLIB_INSTALL_DIR
${
THIRD_PARTY_PATH
}
/install/zlib
)
SET
(
ZLIB_ROOT
${
ZLIB_INSTALL_DIR
}
CACHE FILEPATH
"zlib root directory."
FORCE
)
SET
(
ZLIB_ROOT
${
ZLIB_INSTALL_DIR
}
CACHE FILEPATH
"zlib root directory."
FORCE
)
SET
(
ZLIB_INCLUDE_DIR
"
${
ZLIB_INSTALL_DIR
}
/include"
CACHE PATH
"zlib include directory."
FORCE
)
SET
(
ZLIB_INCLUDE_DIR
"
${
ZLIB_INSTALL_DIR
}
/include"
CACHE PATH
"zlib include directory."
FORCE
)
set
(
ZLIB_REPOSITORY
https://github.com
/madler/zlib.git
)
set
(
ZLIB_REPOSITORY
${
GIT_URL
}
/madler/zlib.git
)
set
(
ZLIB_TAG v1.2.8
)
set
(
ZLIB_TAG v1.2.8
)
INCLUDE_DIRECTORIES
(
${
ZLIB_INCLUDE_DIR
}
)
# For zlib code to include its own headers.
INCLUDE_DIRECTORIES
(
${
ZLIB_INCLUDE_DIR
}
)
# For zlib code to include its own headers.
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录