-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.appveyor.yml
59 lines (45 loc) · 1.75 KB
/
.appveyor.yml
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
version: '{build}-{branch}'
branches:
only:
- master
skip_tags: true
image:
- Visual Studio 2015
environment:
matrix:
- image: Visual Studio 2017
configuration: Release
arch: 64
clone_folder: c:\projects\catboost
install:
- git submodule update --init --recursive
artifacts:
- path: catboost/cuda/app/cb_cuda.exe
- path: 'catboost\**\*.whl'
build_script:
- |
echo Downloading CUDA toolkit 8
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
echo Installing CUDA toolkit 8
cuda_8.0.44_windows.exe -s compiler_8.0 cublas_8.0 cublas_dev_8.0 cudart_8.0 curand_8.0 curand_dev_8.0 cusparse_8.0 cusparse_dev_8.0
dir .
dir "%ProgramFiles%"
dir "C:\Program Files"
dir "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA"
dir "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0"
dir "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v8.0\bin"
xcopy "C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA" "C:\CUDA" /e /i /h
dir "C:\CUDA"
dir "C:\CUDA\v8.0"
dir "C:\CUDA\v8.0\bin"
dir "C:\CUDA\v8.0\include"
set PATH=C:\CUDA\v8.0\bin;%PATH%
nvcc -V
cd c:\projects\catboost
call "C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\SetEnv.cmd" /x64
call "C:\Program Files (x86)\Microsoft Visual Studio 14.0\VC\vcvarsall.bat" x86_amd64
call ya.bat make -o . --verbose --stat -r catboost\cuda\app -DCUDA_ROOT="C:\\CUDA\\v8.0"
cd catboost\python-package
C:\Python27-x64\python.exe mk_wheel.py -DCUDA_ROOT="C:\\CUDA\\v8.0"
C:\Python35-x64\python.exe mk_wheel.py -DCUDA_ROOT="C:\\CUDA\\v8.0"
C:\Python36-x64\python.exe mk_wheel.py -DCUDA_ROOT="C:\\CUDA\\v8.0"