File tree 2 files changed +21
-0
lines changed
ansible/roles/visual-studio
2 files changed +21
-0
lines changed Original file line number Diff line number Diff line change
1
+ max_size = 10 GB
Original file line number Diff line number Diff line change 56
56
- name : build clcache
57
57
win_shell : ' $env:PYTHONPATH = "C:\clcache"; py -3 -m PyInstaller -y pyinstaller/clcache_main.py'
58
58
args : { chdir: 'C:\clcache' }
59
+
60
+ # Install ccache and enable using it with Visual Studio
61
+ - block :
62
+ - name : install ccache
63
+ win_chocolatey :
64
+ name : ccache
65
+ pinned : yes
66
+ version : " 4.10.2"
67
+ - name : make ccache directory
68
+ win_command : ' mkdir C:\ccache'
69
+ - name : copy ccache to ccache directory as cl.exe
70
+ win_command : ' cp C:\ProgramData\chocolatey\lib\ccache\tools\ccache-4.10.2-windows-x86_64\ccache.exe C:\ccache\cl.exe'
71
+ - name : make directory for caching
72
+ win_command : ' mkdir C:\ccache\cache'
73
+ - name : set caching directory enviroment variable
74
+ win_command : ' setx CCACHE_DIR C:\ccache\cache /M'
75
+ - name : copy ccache.conf to ccache directory
76
+ win_copy :
77
+ src : ../files/ccache.conf
78
+ dest : C:\ccache\cache\ccache.conf
You can’t perform that action at this time.
0 commit comments