Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
a35dbc29
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看板
未验证
提交
a35dbc29
编写于
2月 22, 2023
作者:
zhouweiwei2014
提交者:
GitHub
2月 22, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[Win]fix compile error due to depend xxhash (#50760)
上级
433c2ffb
变更
3
隐藏空白更改
内联
并排
Showing
3 changed file
with
11 addition
and
10 deletion
+11
-10
paddle/fluid/distributed/collective/CMakeLists.txt
paddle/fluid/distributed/collective/CMakeLists.txt
+1
-1
paddle/phi/infermeta/CMakeLists.txt
paddle/phi/infermeta/CMakeLists.txt
+1
-1
paddle/scripts/paddle_build.bat
paddle/scripts/paddle_build.bat
+9
-8
未找到文件。
paddle/fluid/distributed/collective/CMakeLists.txt
浏览文件 @
a35dbc29
cc_library
(
process_group
SRCS process_group.cc
DEPS dense_tensor
)
DEPS dense_tensor
xxhash
)
cc_library
(
eager_reducer
...
...
paddle/phi/infermeta/CMakeLists.txt
浏览文件 @
a35dbc29
cc_library
(
infermeta
SRCS nullary.cc unary.cc binary.cc ternary.cc multiary.cc fusion.cc
DEPS convert_utils meta_tensor infermeta_utils
)
DEPS convert_utils meta_tensor infermeta_utils
xxhash
)
cc_library
(
backward_infermeta
SRCS backward.cc
...
...
paddle/scripts/paddle_build.bat
浏览文件 @
a35dbc29
...
...
@@ -458,6 +458,15 @@ echo cmake .. -G %GENERATOR% -DCMAKE_BUILD_TYPE=Release -DWITH_AVX=%WITH_AVX% -D
-DCUDA
_TOOLKIT_ROOT_DIR
=
"
%CUDA_TOOLKIT_ROOT_DIR%
"
-DNEW
_RELEASE_ALL
=
%NEW_RELEASE_ALL%
-DNEW
_RELEASE_PYPI
=
%NEW_RELEASE_PYPI%
^
-DNEW
_RELEASE_JIT
=
%NEW_RELEASE_JIT%
-DWITH
_ONNXRUNTIME
=
%WITH_ONNXRUNTIME%
echo
cmake
..
-G
%GENERATOR%
-DCMAKE
_BUILD_TYPE
=
Release
-DWITH
_AVX
=
%WITH_AVX%
-DWITH
_GPU
=
%WITH_GPU%
-DWITH
_MKL
=
%WITH_MKL%
^
-DWITH
_TESTING
=
%WITH_TESTING%
-DWITH
_PYTHON
=
%WITH_PYTHON%
-DPYTHON
_EXECUTABLE
=
%PYTHON_EXECUTABLE%
-DON
_INFER
=
%ON_INFER%
^
-DWITH
_INFERENCE_API_TEST
=
%WITH_INFERENCE_API_TEST%
-DTHIRD
_PARTY_PATH
=
%THIRD_PARTY_PATH%
^
-DINFERENCE
_DEMO_INSTALL_DIR
=
%INFERENCE_DEMO_INSTALL_DIR%
-DWITH
_STATIC_LIB
=
%WITH_STATIC_LIB%
^
-DWITH
_TENSORRT
=
%WITH_TENSORRT%
-DTENSORRT
_ROOT
=
"
%TENSORRT_ROOT%
"
-DMSVC
_STATIC_CRT
=
%MSVC_STATIC_CRT%
^
-DWITH
_UNITY_BUILD
=
%WITH_UNITY_BUILD%
-DCUDA
_ARCH_NAME
=
%CUDA_ARCH_NAME%
-DCUDA
_ARCH_BIN
=
%CUDA_ARCH_BIN%
-DCUB
_PATH
=
%THIRD_PARTY_HOME%
/cub
^
-DCUDA
_TOOLKIT_ROOT_DIR
=
"
%CUDA_TOOLKIT_ROOT_DIR%
"
-DNEW
_RELEASE_ALL
=
%NEW_RELEASE_ALL%
-DNEW
_RELEASE_PYPI
=
%NEW_RELEASE_PYPI%
^
-DNEW
_RELEASE_JIT
=
%NEW_RELEASE_JIT%
-DWITH
_ONNXRUNTIME
=
%WITH_ONNXRUNTIME%
>>
%work_dir%
\win_cmake.sh
cmake
..
-G
%GENERATOR%
-DCMAKE
_BUILD_TYPE
=
Release
-DWITH
_AVX
=
%WITH_AVX%
-DWITH
_GPU
=
%WITH_GPU%
-DWITH
_MKL
=
%WITH_MKL%
^
-DWITH
_TESTING
=
%WITH_TESTING%
-DWITH
_PYTHON
=
%WITH_PYTHON%
-DPYTHON
_EXECUTABLE
=
%PYTHON_EXECUTABLE%
-DON
_INFER
=
%ON_INFER%
^
-DWITH
_INFERENCE_API_TEST
=
%WITH_INFERENCE_API_TEST%
-DTHIRD
_PARTY_PATH
=
%THIRD_PARTY_PATH%
^
...
...
@@ -730,14 +739,6 @@ set CUDA_DEVICE_COUNT=1
:: For hypothesis tests(mkldnn op and inference pass), we set use 'ci' profile
set
HYPOTHESIS_TEST_PROFILE
=
ci
echo
cmake
..
-G
%GENERATOR%
-DCMAKE
_BUILD_TYPE
=
Release
-DWITH
_AVX
=
%WITH_AVX%
-DWITH
_GPU
=
%WITH_GPU%
-DWITH
_MKL
=
%WITH_MKL%
^
-DWITH
_TESTING
=
%WITH_TESTING%
-DWITH
_PYTHON
=
%WITH_PYTHON%
-DON
_INFER
=
%ON_INFER%
^
-DWITH
_INFERENCE_API_TEST
=
%WITH_INFERENCE_API_TEST%
-DTHIRD
_PARTY_PATH
=
%THIRD_PARTY_PATH%
^
-DINFERENCE
_DEMO_INSTALL_DIR
=
%INFERENCE_DEMO_INSTALL_DIR%
-DWITH
_STATIC_LIB
=
%WITH_STATIC_LIB%
^
-DWITH
_TENSORRT
=
%WITH_TENSORRT%
-DTENSORRT
_ROOT
=
"
%TENSORRT_ROOT%
"
-DMSVC
_STATIC_CRT
=
%MSVC_STATIC_CRT%
^
-DWITH
_UNITY_BUILD
=
%WITH_UNITY_BUILD%
-DCUDA
_ARCH_NAME
=
%CUDA_ARCH_NAME%
-DCUB
_PATH
=
%THIRD_PARTY_HOME%
/cub
^
-DCUDA
_TOOLKIT_ROOT_DIR
=
"
%CUDA_TOOLKIT_ROOT_DIR%
"
-DNEW
_RELEASE_ALL
=
%NEW_RELEASE_ALL%
-DNEW
_RELEASE_PYPI
=
%NEW_RELEASE_PYPI%
^
-DNEW
_RELEASE_JIT
=
%NEW_RELEASE_JIT%
>>
%work_dir%
\win_cmake.sh
%cache_dir%
\tools\busybox64.exe
bash
%work_dir%
\tools\windows\run_unittests.sh
%NIGHTLY_MODE%
%PRECISION_TEST%
%WITH_GPU%
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录