diff options
author | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-10-28 23:26:33 +0200 |
---|---|---|
committer | psychocrypt <psychocrypt@users.noreply.github.com> | 2017-10-28 23:26:33 +0200 |
commit | 34a3c701cf9b439c0fe1cc2710b6bc8b0c2eb5a1 (patch) | |
tree | cb50316434272114e9f8f308ba9d6044a8d2a84d /.appveyor.yml | |
parent | 7ecf4cec6ea1f6bfc0ff01b281b459115b1d4fca (diff) | |
download | xmr-stak-34a3c701cf9b439c0fe1cc2710b6bc8b0c2eb5a1.zip xmr-stak-34a3c701cf9b439c0fe1cc2710b6bc8b0c2eb5a1.tar.gz |
appveyor CUDA support
- install CUDA
- compile miner with CUDA and OpenCL
Diffstat (limited to '.appveyor.yml')
-rw-r--r-- | .appveyor.yml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/.appveyor.yml b/.appveyor.yml index 02ce827..1dc313b 100644 --- a/.appveyor.yml +++ b/.appveyor.yml @@ -1,5 +1,5 @@ # image -image: Visual Studio 2017 +image: Visual Studio 2015 # build platform platform: x64 @@ -11,17 +11,21 @@ install: - mkdir c:\xmr-stak-dep - curl -sL https://github.com/fireice-uk/xmr-stak-dep/releases/download/v1/xmr-stak-dep.zip -o xmr-stak-dep.zip - 7z x xmr-stak-dep.zip -o"c:\xmr-stak-dep" -y > nul + - appveyor DownloadFile https://developer.nvidia.com/compute/cuda/8.0/prod/local_installers/cuda_8.0.44_windows-exe -FileName cuda_8.0.44_windows.exe + - cuda_8.0.44_windows.exe -s compiler_8.0 cudart_8.0 + - set PATH=%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin;%ProgramFiles%\NVIDIA GPU Computing Toolkit\CUDA\v8.0\libnvvp;%PATH% + - nvcc -V build_script: - - call "C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\Tools\VsMSBuildCmd.bat" + - call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\VsMSBuildCmd.bat" - cd c:\xmr-stak - mkdir build - cd build - set CMAKE_PREFIX_PATH=C:\xmr-stak-dep\hwloc;C:\xmr-stak-dep\libmicrohttpd;C:\xmr-stak-dep\openssl; - - cmake -G "Visual Studio 15 2017 Win64" -T v140,host=x64 -DCUDA_ENABLE=OFF -DOpenCL_ENABLE=OFF .. + - cmake -G "Visual Studio 14 2015 Win64" -T v140,host=x64 .. -DWIN_UAC=OFF -DCUDA_ARCH=30 - cmake --build . --config Release --target install test_script: - cd c:\xmr-stak\build\bin\Release - dir -# - xmr-stak.exe + - xmr-stak.exe --help |