Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
562d2daf
P
Paddle
项目概览
PaddlePaddle
/
Paddle
1 年多 前同步成功
通知
2302
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看板
未验证
提交
562d2daf
编写于
4月 24, 2023
作者:
R
risemeup1
提交者:
GitHub
4月 24, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
Fix gpu ps compile patch error (#53256)
* fix patch error * fix patch error
上级
81c89dd6
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
4 addition
and
4 deletion
+4
-4
cmake/external/eigen.cmake
cmake/external/eigen.cmake
+1
-1
cmake/external/gloo.cmake
cmake/external/gloo.cmake
+2
-2
cmake/external/gtest.cmake
cmake/external/gtest.cmake
+1
-1
未找到文件。
cmake/external/eigen.cmake
浏览文件 @
562d2daf
...
@@ -52,7 +52,7 @@ if(CMAKE_COMPILER_IS_GNUCC)
...
@@ -52,7 +52,7 @@ if(CMAKE_COMPILER_IS_GNUCC)
file
(
TO_NATIVE_PATH
${
PADDLE_SOURCE_DIR
}
/patches/eigen/Complex.h.patch
file
(
TO_NATIVE_PATH
${
PADDLE_SOURCE_DIR
}
/patches/eigen/Complex.h.patch
complex_header
)
complex_header
)
set
(
EIGEN_PATCH_COMMAND
set
(
EIGEN_PATCH_COMMAND
patch -d
${
EIGEN_SOURCE_DIR
}
/Eigen/src/Core/arch/SSE/ <
patch -
N
d
${
EIGEN_SOURCE_DIR
}
/Eigen/src/Core/arch/SSE/ <
${
complex_header
}
)
${
complex_header
}
)
endif
()
endif
()
endif
()
endif
()
...
...
cmake/external/gloo.cmake
浏览文件 @
562d2daf
...
@@ -55,8 +55,8 @@ if(CMAKE_COMPILER_IS_GNUCC)
...
@@ -55,8 +55,8 @@ if(CMAKE_COMPILER_IS_GNUCC)
file
(
TO_NATIVE_PATH
${
PADDLE_SOURCE_DIR
}
/patches/gloo/types.h.patch
file
(
TO_NATIVE_PATH
${
PADDLE_SOURCE_DIR
}
/patches/gloo/types.h.patch
types_header
)
types_header
)
set
(
GLOO_PATCH_COMMAND
set
(
GLOO_PATCH_COMMAND
patch -
d
${
GLOO_SOURCE_DIR
}
/gloo/transport/tcp <
${
native_dst
}
&& patch
patch -
Nd
${
GLOO_SOURCE_DIR
}
/gloo/transport/tcp <
${
native_dst
}
&&
-
d
${
GLOO_SOURCE_DIR
}
/gloo/ <
${
types_header
}
)
patch -N
d
${
GLOO_SOURCE_DIR
}
/gloo/ <
${
types_header
}
)
endif
()
endif
()
endif
()
endif
()
include_directories
(
${
GLOO_INCLUDE_DIR
}
)
include_directories
(
${
GLOO_INCLUDE_DIR
}
)
...
...
cmake/external/gtest.cmake
浏览文件 @
562d2daf
...
@@ -66,7 +66,7 @@ endif()
...
@@ -66,7 +66,7 @@ endif()
if
(
NOT WIN32 AND
${
CMAKE_CXX_COMPILER_VERSION
}
VERSION_GREATER 12.0
)
if
(
NOT WIN32 AND
${
CMAKE_CXX_COMPILER_VERSION
}
VERSION_GREATER 12.0
)
file
(
TO_NATIVE_PATH
file
(
TO_NATIVE_PATH
${
PADDLE_SOURCE_DIR
}
/patches/gtest/gtest-death-test.cc.patch native_src
)
${
PADDLE_SOURCE_DIR
}
/patches/gtest/gtest-death-test.cc.patch native_src
)
set
(
GTEST_PATCH_COMMAND patch -d
${
GTEST_SOURCE_DIR
}
/googletest/src <
set
(
GTEST_PATCH_COMMAND patch -
N
d
${
GTEST_SOURCE_DIR
}
/googletest/src <
${
native_src
}
)
${
native_src
}
)
endif
()
endif
()
if
(
WIN32
)
if
(
WIN32
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录