forked from apache/mxnet
-
Notifications
You must be signed in to change notification settings - Fork 2
/
windows_cmake_command.txt
35 lines (30 loc) · 1.72 KB
/
windows_cmake_command.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
cmake -G "Visual Studio 14 2015 Win64" ^
-DCMAKE_BUILD_TYPE=Release ^
-DCMAKE_CONFIGURATION_TYPES="Release" ^
-DCUDA_ARCH_NAME="Maxwell" ^
-DMKL_INCLUDE_DIR="C:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2018\\windows\\mkl\\include" ^
-DMKL_RT_LIBRARY="C:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2018\\windows\\mkl\\lib\\intel64\\mkl_rt.lib" ^
-DOpenCV_DIR="E:\ThirdParty\opencv-3.1\opencv\build\x64\vc14\lib" ^
-DCUDNN_INCLUDE="C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.1\\include" ^
-DCUDNN_ROOT="C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.1\\lib\\x64" ^
-DUSE_MKL_IF_AVAILABLE=OFF ^
-DGTEST_INCLUDE_DIRS="C:\\Anaconda3\\Library\\include" ^
-DGTEST_LIBRARIES="C:\Anaconda3\Library\bin" ^
-DBLAS=MKL ..
-DZMQ_LIBRARY="D:\HKUST\libzmq\bin\x64\Release\v120\dynamic" ^
-DZMQ_INCLUDE_DIR="D:\HKUST\libzmq\include" ^
-DPROTOBUF_LIBRARY="D:\\HKUST\\protobuf\\cmake\\build\\release" ^
-DPROTOBUF_INCLUDE_DIR="D:\\HKUST\\protobuf\\src" ^
-DEXTRA_OPERATORS=D:\\HKUST\\2-2\\dist_train\\mxnet-extension ^
cmake -G "Visual Studio 14 2015 Win64" ^
-DCMAKE_BUILD_TYPE=Release ^
-DCMAKE_CONFIGURATION_TYPES="Release" ^
-DMKL_INCLUDE_DIR="C:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2018\\windows\\mkl\\include" ^
-DMKL_RT_LIBRARY="C:\\Program Files (x86)\\IntelSWTools\\compilers_and_libraries_2018\\windows\\mkl\\lib\\intel64\\mkl_rt.lib" ^
-DOpenCV_DIR="C:\\Users\xingjs\Documents\opencv\opencv\build\x64\vc14\lib" ^
-DCUDNN_INCLUDE="C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.0\\include" ^
-DCUDNN_ROOT="C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v9.0\\lib\\x64" ^
-DUSE_MKL_IF_AVAILABLE=OFF ^
-DUSE_JEMALLOC=OFF ^
-DUSE_GPERFTOOLS=OFF ^
-DBLAS=MKL ..