aboutsummaryrefslogtreecommitdiffstats
path: root/coin/provisioning/qtci-windows-10-x86_64/opengl32_x86.ps1
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@qt.io>2017-06-15 16:27:53 +0200
committerSimon Hausmann <simon.hausmann@qt.io>2017-06-20 04:44:49 +0000
commit2c4b06a13d863827d62a537fa4f732c74600a1bd (patch)
treebfbff4fa19063d3156ee52229866165dc098f197 /coin/provisioning/qtci-windows-10-x86_64/opengl32_x86.ps1
parent816f1c5512d3cb98a76ee63add48ae5202f45061 (diff)
Centralize Mesa LLVMPipe installation on Windows
Install the DLL for general availability on all Windows systems. Due to its distinct name it will not be picked up by anyone unless Qt explicitly selects it. This gives us the ability to choose the GLES backend to use in Qt. Change-Id: Ie36f202ead7080a8f7690734d305bd27f0c9f56b Reviewed-by: Tony Sarajärvi <tony.sarajarvi@qt.io>
Diffstat (limited to 'coin/provisioning/qtci-windows-10-x86_64/opengl32_x86.ps1')
-rw-r--r--coin/provisioning/qtci-windows-10-x86_64/opengl32_x86.ps111
1 files changed, 0 insertions, 11 deletions
diff --git a/coin/provisioning/qtci-windows-10-x86_64/opengl32_x86.ps1 b/coin/provisioning/qtci-windows-10-x86_64/opengl32_x86.ps1
index fa2c753a..bd9afd5a 100644
--- a/coin/provisioning/qtci-windows-10-x86_64/opengl32_x86.ps1
+++ b/coin/provisioning/qtci-windows-10-x86_64/opengl32_x86.ps1
@@ -34,22 +34,11 @@
. "$PSScriptRoot\..\common\helpers.ps1"
$version = "11_2_2"
-$package = "C:\Windows\temp\opengl32sw_$version.7z"
-$destinationFolder = "C:\Windows\SysWOW64"
$openglPackage = "C:\Windows\SysWOW64\opengl32.dll"
-$mesaOpenglUrl = "http://download.qt.io/development_releases/prebuilt/llvmpipe/windows/opengl32sw-32-mesa_$version.7z"
-$mesaOpenglSha1 = "e742e9d4e16b9c69b6d844940861d3ef1748356b"
$openglUrl = "\\ci-files01-hki.ci.local\provisioning\mesa3d\windows\32bit\opengl32.dll"
$openglSha1 = "690730f973aa39bd80648e026248394fde07a753"
-Invoke-WebRequest -UseBasicParsing $mesaOpenglUrl -OutFile $package
-Verify-Checksum $package $mesaOpenglSha1
-Get-ChildItem $package | % {& "C:\Utils\sevenzip\7z.exe" "x" "-y" $_.fullname "-o$destinationFolder"}
-
-echo "Remove downloaded $package ..."
-Remove-Item $package -recurse
-
echo "Take ownership of existing opengl32.dll from SysWOW64"
takeown /f $openglPackage
icacls $openglPackage /grant Administrators:F