1. Install nodepad++ https://tools.mindspore.cn/tools/ci/windows/nodepad/npp.7.8.1.Installer.exe 2. Install winrar https://tools.mindspore.cn/tools/ci/windows/winrar/WinRAR_x64_SC.exe 3. Install 7zip https://tools.mindspore.cn/tools/ci/windows/7zip/7zip-19.00/7z1900-x64.exe set PATH: C:\Program Files\7-Zip 4. Install chrome https://tools.mindspore.cn/tools/ci/windows/chrome/ChromeStandaloneSetup64.exe 5. Install git https://tools.mindspore.cn/tools/ci/git/git-2.26.1/Git-2.26.1-64-bit.exe 6. Install cmake https://tools.mindspore.cn/tools/build/cmake/cmake-3.18.3/cmake-3.18.3-win64-x64.msi Select "Add CMake to the system PATH for all users" 7. Install python https://tools.mindspore.cn/tools/build/python/python-3.7.5/python-3.7.5-amd64.exe Select "Add Python 3.7 to PATH" Select "Install for all users" 8. Set pip source Pip config path: C:\Users\\pip\pip.ini [global] index-url = https://mirrors.huaweicloud.com/repository/pypi/simple trusted-host = mirrors.huaweicloud.com timeout = 120 pip install wheel --user pip install mindspore*.whl --user pip uninstall mindspore pip list 9. Install minGW https://tools.mindspore.cn/tools/build/minGW/minGW-7.3.0-threads-posix-seh/minGW-x86_64-7.3.0-release-posix-seh-rt_v5-rev0.7z Install path: C:\Program Files\mingw64 10. Install perl https://tools.mindspore.cn/tools/build/ActivePerl/ActivePerl-5.28.1.2801/ActivePerl-5.28.1.2801-MSWin32-x64-24563874.exe Install path: C:\Program Files\Perl64 11. Install ccache https://tools.mindspore.cn/tools/build/ccache/ccache-3.7.12/ccache-3.7.12-windows-64.zip C:\Program Files\ccache-3.7.12 12. Install OpenJDK https://mirrors.huaweicloud.com/openjdk/14/openjdk-14_windows-x64_bin.zip JAVA_HOME C:\Program Files\jdk-14 Path %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin; CLASSPATH .;%JAVA_HOME%\lib;%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools.jar 13. Build mindspore set MSLIBS_SERVER=192.168.0.240 set MSLIBS_CACHE_PATH=D:\.mslib # Enable ccache cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER_LAUNCHER=ccache -DCMAKE_C_COMPILER_LAUNCHER=ccache del -Force build call build.bat 8 14. Debug build cd build\mindsore cmake -DCMAKE_BUILD_TYPE=Release -DENABLE_CPU=ON -DENABLE_MINDDATA=ON -DUSE_GLOG=ON -G "CodeBlocks - MinGW Makefiles" -DCMAKE_CXX_COMPILER_LAUNCHER=ccache.exe ../.. cmake --build . --target package -- -j6 15. Connect jenkins master Run shell:startup C:\Users\jenkins\AppData\Roaming\Microsoft\Windows\Start Menu\Programs\Startup 16. Copy mslite dataset http://192.168.0.240:8081/dataset/mslite.tar.gz dataset path: D:\mindspore_dataset