1
0
Fork 0

added DIA support for windows image

This commit is contained in:
Christian Kühnel 2020-07-31 10:43:33 +02:00 committed by Mikhail Goncharov
parent f3bf784fad
commit 5da900df30
2 changed files with 7 additions and 2 deletions

View file

@ -25,6 +25,12 @@ RUN C:\TEMP\vs_buildtools.exe --quiet --wait --norestart --nocache `
--add Microsoft.VisualStudio.Workload.VCTools --includeRecommended `
|| 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
RUN powershell -NoProfile -InputFormat None -Command `
iex ((new-object net.webclient).DownloadString('https://chocolatey.org/install.ps1')) ; `

View file

@ -27,5 +27,4 @@ arguments:
# CCACHE is enabled in script iff environment variable `CCACHE_PATH` is set
- '-D LLVM_ENABLE_LLD=ON'
- '-D CMAKE_CXX_FLAGS=-gmlt'
windows:
- '-D LLVM_ENABLE_DIA_SDK=OFF'
windows: []