summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorpsychocrypt <psychocryptHPC@gmail.com>2018-01-22 21:13:19 +0100
committerGitHub <noreply@github.com>2018-01-22 21:13:19 +0100
commitecd1181cd861a6826b067312233cf5cb36cbfd9d (patch)
tree6761414b8c16a72c12704108ae046df5adacc5f3 /doc
parent568385b816638a99ae7cc91139d71fb129c61d04 (diff)
parent05b98280e323b694db5d1fa583f19be8248df211 (diff)
downloadxmr-stak-ecd1181cd861a6826b067312233cf5cb36cbfd9d.zip
xmr-stak-ecd1181cd861a6826b067312233cf5cb36cbfd9d.tar.gz
Merge pull request #896 from dam-ien/master
Fix for compiling with Cuda 9.1 on VS 2017 version >= 15.5
Diffstat (limited to 'doc')
-rw-r--r--doc/compile_Windows.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/compile_Windows.md b/doc/compile_Windows.md
index 3b236be..940e0c3 100644
--- a/doc/compile_Windows.md
+++ b/doc/compile_Windows.md
@@ -13,6 +13,7 @@
- during the install chose the components
- `Desktop development with C++` (left side)
- `VC++ 2015.3 v140 toolset for desktop` (right side)
+ - Since release of VS2017 15.5 (12/04/17), require `VC++ 2017 version 15.4 v14.11 toolset` (under tab `Individual Components`, section `Compilers, build tools, and runtimes`), as CUDA 9.1 is not compatible with compiler 14.12.X
### CMake for Win64
@@ -81,6 +82,8 @@
- `cd` to the extracted source code directory
- execute the following commands (NOTE: path to Visual Studio 2017 Community can be different)
```
+ # Next line is only if compiling for Cuda 9.1 and using Visual Studio 2017 >= 15.5 (released 12/04/17)
+ "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build\vcvarsall.bat" x64 -vcvars_ver=14.11
"C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsMSBuildCmd.bat"
set CMAKE_PREFIX_PATH=C:\xmr-stak-dep\hwloc;C:\xmr-stak-dep\libmicrohttpd;C:\xmr-stak-dep\openssl
mkdir build
OpenPOWER on IntegriCloud