diff --git a/install/mindspore_cpu_win_install.md b/install/mindspore_cpu_win_install.md index 4f58546b958d8c452d7f161cf0d945f3e8098ab0..568061038203cc2fada1ea1667124a479f2ecfb5 100644 --- a/install/mindspore_cpu_win_install.md +++ b/install/mindspore_cpu_win_install.md @@ -71,7 +71,8 @@ call build.bat ``` > - 在执行上述命令前,需保证mingw64\bin\路径和可执行文件cmake所在路径已加入环境变量PATH中。 - > - build.sh中会执行git clone获取第三方依赖库的代码,请提前确保git的网络设置正确可用。 + > - 如git没有安装在`ProgramFiles`,在执行上述命令前,需设置环境变量指定`patch.exe`的位置,如git安装在`D:\git`时,需设置`set MS_PATCH_PATH=D:\git\usr\bin`。 + > - build.bat中会执行git clone获取第三方依赖库的代码,请提前确保git的网络设置正确可用。 > - 如果编译机性能较好,可在执行中增加-j{线程数}来增加线程数量(默认为6)。如`call build.bat 12`。 > - 在执行上述命令前,需保证已安装[Visual C++ Redistributable for Visual Studio 2015](https://www.microsoft.com/zh-CN/download/details.aspx?id=48145)。 diff --git a/install/mindspore_cpu_win_install_en.md b/install/mindspore_cpu_win_install_en.md index 81aef71b70a9a04ff7793ec405c9c23d80446581..4ef81a30fd60ef8cc47778433872a3ee4ce5536b 100644 --- a/install/mindspore_cpu_win_install_en.md +++ b/install/mindspore_cpu_win_install_en.md @@ -71,7 +71,8 @@ This document describes how to quickly install MindSpore on a Windows system wit call build.bat ``` > - Before running the preceding command, ensure that the paths of mingw64\bin\ and the executable files cmake have been added to the environment variable PATH. - > - In the build.sh script, the git clone command will be executed to obtain the code in the third-party dependency database. Ensure that the network settings of Git are correct. + > - If git was not installed in `ProgramFiles`, you will need to set environment variable to where `patch.exe` is allocated. For example, when git was install in `D:\git`, `set MS_PATCH_PATH=D:\git\usr\bin`. + > - In the build.bat script, the git clone command will be executed to obtain the code in the third-party dependency database. Ensure that the network settings of Git are correct. > - If the compiler performance is strong, you can add -j{Number of threads} in to script to increase the number of threads(Default 6). For example, `call build.bat 12`. > - Before running the preceding command, ensure that [Visual C ++ Redistributable for Visual Studio 2015](https://www.microsoft.com/zh-CN/download/details.aspx?id=48145) is installed.