added DIA support for windows image
This commit is contained in:
parent
f3bf784fad
commit
5da900df30
2 changed files with 7 additions and 2 deletions
|
@ -25,6 +25,12 @@ RUN C:\TEMP\vs_buildtools.exe --quiet --wait --norestart --nocache `
|
||||||
--add Microsoft.VisualStudio.Workload.VCTools --includeRecommended `
|
--add Microsoft.VisualStudio.Workload.VCTools --includeRecommended `
|
||||||
|| IF "%ERRORLEVEL%"=="3010" EXIT 0
|
|| IF "%ERRORLEVEL%"=="3010" EXIT 0
|
||||||
|
|
||||||
|
# Register DIA dll (Debug Interface Access) so it can be used to symbolize
|
||||||
|
# the stack traces. Register dll for 32 and 64 bit.
|
||||||
|
# see https://developercommunity.visualstudio.com/content/problem/290674/msdia140dll-is-not-registered-on-vs2017-hosts.html
|
||||||
|
RUN regsvr32 /S "C:\BuildTools\DIA SDK\bin\amd64\msdia140.dll" & `
|
||||||
|
regsvr32 /S "C:\BuildTools\DIA SDK\bin\msdia140.dll"
|
||||||
|
|
||||||
# install chocolately as package manager
|
# install chocolately as package manager
|
||||||
RUN powershell -NoProfile -InputFormat None -Command `
|
RUN powershell -NoProfile -InputFormat None -Command `
|
||||||
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) ; `
|
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) ; `
|
||||||
|
|
|
@ -27,5 +27,4 @@ arguments:
|
||||||
# CCACHE is enabled in script iff environment variable `CCACHE_PATH` is set
|
# CCACHE is enabled in script iff environment variable `CCACHE_PATH` is set
|
||||||
- '-D LLVM_ENABLE_LLD=ON'
|
- '-D LLVM_ENABLE_LLD=ON'
|
||||||
- '-D CMAKE_CXX_FLAGS=-gmlt'
|
- '-D CMAKE_CXX_FLAGS=-gmlt'
|
||||||
windows:
|
windows: []
|
||||||
- '-D LLVM_ENABLE_DIA_SDK=OFF'
|
|
||||||
|
|
Loading…
Reference in a new issue