Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
机器未来
Paddle
提交
70461656
P
Paddle
项目概览
机器未来
/
Paddle
与 Fork 源项目一致
Fork自
PaddlePaddle / Paddle
通知
1
Star
1
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1
Issue
1
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
70461656
编写于
6月 19, 2020
作者:
T
T8T9
提交者:
GitHub
6月 19, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
remove ${CMAKE_VERSION} VERSION_LESS "3.3.0". (#25128)
上级
e8134e87
变更
9
隐藏空白更改
内联
并排
Showing
9 changed file
with
9 addition
and
63 deletion
+9
-63
cmake/external/boost.cmake
cmake/external/boost.cmake
+1
-7
cmake/external/cub.cmake
cmake/external/cub.cmake
+1
-7
cmake/external/dlpack.cmake
cmake/external/dlpack.cmake
+1
-7
cmake/external/eigen.cmake
cmake/external/eigen.cmake
+1
-7
cmake/external/libmct.cmake
cmake/external/libmct.cmake
+1
-7
cmake/external/pybind11.cmake
cmake/external/pybind11.cmake
+1
-7
cmake/external/rocprim.cmake
cmake/external/rocprim.cmake
+1
-7
cmake/external/threadpool.cmake
cmake/external/threadpool.cmake
+1
-7
cmake/external/xbyak.cmake
cmake/external/xbyak.cmake
+1
-7
未找到文件。
cmake/external/boost.cmake
浏览文件 @
70461656
...
...
@@ -52,13 +52,7 @@ ExternalProject_Add(
UPDATE_COMMAND
""
)
if
(
${
CMAKE_VERSION
}
VERSION_LESS
"3.3.0"
OR NOT WIN32
)
set
(
dummyfile
${
CMAKE_CURRENT_BINARY_DIR
}
/boost_dummy.c
)
file
(
WRITE
${
dummyfile
}
"const char *dummy =
\"
${
dummyfile
}
\"
;"
)
add_library
(
boost STATIC
${
dummyfile
}
)
else
()
add_library
(
boost INTERFACE
)
endif
()
add_library
(
boost INTERFACE
)
add_dependencies
(
boost
${
BOOST_PROJECT
}
)
set
(
Boost_INCLUDE_DIR
${
BOOST_INCLUDE_DIR
}
)
cmake/external/cub.cmake
浏览文件 @
70461656
...
...
@@ -41,12 +41,6 @@ ExternalProject_Add(
TEST_COMMAND
""
)
if
(
${
CMAKE_VERSION
}
VERSION_LESS
"3.3.0"
)
set
(
dummyfile
${
CMAKE_CURRENT_BINARY_DIR
}
/cub_dummy.c
)
file
(
WRITE
${
dummyfile
}
"const char *dummy =
\"
${
dummyfile
}
\"
;"
)
add_library
(
cub STATIC
${
dummyfile
}
)
else
()
add_library
(
cub INTERFACE
)
endif
()
add_library
(
cub INTERFACE
)
add_dependencies
(
cub extern_cub
)
cmake/external/dlpack.cmake
浏览文件 @
70461656
...
...
@@ -42,12 +42,6 @@ ExternalProject_Add(
TEST_COMMAND
""
)
if
(
${
CMAKE_VERSION
}
VERSION_LESS
"3.3.0"
)
set
(
dummyfile
${
CMAKE_CURRENT_BINARY_DIR
}
/dlpack_dummy.c
)
file
(
WRITE
${
dummyfile
}
"const char *dummy =
\"
${
dummyfile
}
\"
;"
)
add_library
(
dlpack STATIC
${
dummyfile
}
)
else
()
add_library
(
dlpack INTERFACE
)
endif
()
add_library
(
dlpack INTERFACE
)
add_dependencies
(
dlpack extern_dlpack
)
cmake/external/eigen.cmake
浏览文件 @
70461656
...
...
@@ -89,12 +89,6 @@ else()
)
endif
()
if
(
${
CMAKE_VERSION
}
VERSION_LESS
"3.3.0"
)
set
(
dummyfile
${
CMAKE_CURRENT_BINARY_DIR
}
/eigen3_dummy.c
)
file
(
WRITE
${
dummyfile
}
"const char *dummy_eigen3 =
\"
${
dummyfile
}
\"
;"
)
add_library
(
eigen3 STATIC
${
dummyfile
}
)
else
()
add_library
(
eigen3 INTERFACE
)
endif
()
add_library
(
eigen3 INTERFACE
)
add_dependencies
(
eigen3 extern_eigen3
)
cmake/external/libmct.cmake
浏览文件 @
70461656
...
...
@@ -52,12 +52,6 @@ ExternalProject_Add(
CMAKE_CACHE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=
${
LIBMCT_INSTALL_ROOT
}
)
if
(
${
CMAKE_VERSION
}
VERSION_LESS
"3.3.0"
OR NOT WIN32
)
set
(
dummyfile
${
CMAKE_CURRENT_BINARY_DIR
}
/boost_dummy.c
)
file
(
WRITE
${
dummyfile
}
"const char *dummy =
\"
${
dummyfile
}
\"
;"
)
add_library
(
libmct STATIC
${
dummyfile
}
)
else
()
add_library
(
libmct INTERFACE
)
endif
()
add_library
(
libmct INTERFACE
)
ADD_DEPENDENCIES
(
libmct
${
LIBMCT_PROJECT
}
)
cmake/external/pybind11.cmake
浏览文件 @
70461656
...
...
@@ -41,12 +41,6 @@ ExternalProject_Add(
TEST_COMMAND
""
)
if
(
${
CMAKE_VERSION
}
VERSION_LESS
"3.3.0"
)
set
(
dummyfile
${
CMAKE_CURRENT_BINARY_DIR
}
/pybind_dummy.c
)
file
(
WRITE
${
dummyfile
}
"const char * dummy_pybind =
\"
${
dummyfile
}
\"
;"
)
add_library
(
pybind STATIC
${
dummyfile
}
)
else
()
add_library
(
pybind INTERFACE
)
endif
()
add_library
(
pybind INTERFACE
)
add_dependencies
(
pybind extern_pybind
)
cmake/external/rocprim.cmake
浏览文件 @
70461656
...
...
@@ -44,12 +44,6 @@ ExternalProject_Add(
INCLUDE_DIRECTORIES
(
${
ROCPRIM_INCLUDE_DIR
}
)
if
(
${
CMAKE_VERSION
}
VERSION_LESS
"3.3.0"
)
set
(
dummyfile
${
CMAKE_CURRENT_BINARY_DIR
}
/rocprim_dummy.c
)
file
(
WRITE
${
dummyfile
}
"const char *dummy_rocprim =
\"
${
dummyfile
}
\"
;"
)
add_library
(
rocprim STATIC
${
dummyfile
}
)
else
()
add_library
(
rocprim INTERFACE
)
endif
()
add_library
(
rocprim INTERFACE
)
add_dependencies
(
rocprim extern_rocprim
)
cmake/external/threadpool.cmake
浏览文件 @
70461656
...
...
@@ -41,12 +41,6 @@ ExternalProject_Add(
TEST_COMMAND
""
)
if
(
${
CMAKE_VERSION
}
VERSION_LESS
"3.3.0"
)
set
(
dummyfile
${
CMAKE_CURRENT_BINARY_DIR
}
/threadpool_dummy.c
)
file
(
WRITE
${
dummyfile
}
"const char *dummy_threadpool =
\"
${
dummyfile
}
\"
;"
)
add_library
(
simple_threadpool STATIC
${
dummyfile
}
)
else
()
add_library
(
simple_threadpool INTERFACE
)
endif
()
add_library
(
simple_threadpool INTERFACE
)
add_dependencies
(
simple_threadpool extern_threadpool
)
cmake/external/xbyak.cmake
浏览文件 @
70461656
...
...
@@ -49,12 +49,6 @@ ExternalProject_Add(
CMAKE_CACHE_ARGS -DCMAKE_INSTALL_PREFIX:PATH=
${
XBYAK_INSTALL_ROOT
}
)
if
(
${
CMAKE_VERSION
}
VERSION_LESS
"3.3.0"
)
set
(
dummyfile
${
CMAKE_CURRENT_BINARY_DIR
}
/xbyak_dummy.c
)
file
(
WRITE
${
dummyfile
}
"const char *dummy_xbyak =
\"
${
dummyfile
}
\"
;"
)
add_library
(
xbyak STATIC
${
dummyfile
}
)
else
()
add_library
(
xbyak INTERFACE
)
endif
()
add_library
(
xbyak INTERFACE
)
add_dependencies
(
xbyak
${
XBYAK_PROJECT
}
)
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录