diff options
author | Daniel Stone <[email protected]> | 2020-05-05 15:49:22 +0100 |
---|---|---|
committer | Marge Bot <[email protected]> | 2020-05-14 06:40:54 +0000 |
commit | 0f46a3191ff31a89d6969a67f8b50dbedf085dca (patch) | |
tree | 82a9b162935e7c09d32bf4c09c5c467276f3e165 /.gitlab-ci/windows/mesa_build.ps1 | |
parent | 69ffbcb16244fc4f1161dd4082eb93b7a80232e5 (diff) |
CI: Windows: Build LLVM and llvmpipe
We will eventually need to build our own LLVM on Windows in order to
build libclc and other bits which are required for the d3d12 build, as
well as to be able to test SPIR-V/OpenCL on llvmpipe.
Start doing this now, building into the base container, and exercise
this by building llvmpipe under Windows.
Signed-off-by: Daniel Stone <[email protected]>
Reviewed-by: Jose Fonseca <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4946>
Diffstat (limited to '.gitlab-ci/windows/mesa_build.ps1')
-rw-r--r-- | .gitlab-ci/windows/mesa_build.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.gitlab-ci/windows/mesa_build.ps1 b/.gitlab-ci/windows/mesa_build.ps1 index 8d7b79c6497..5c57c29bad9 100644 --- a/.gitlab-ci/windows/mesa_build.ps1 +++ b/.gitlab-ci/windows/mesa_build.ps1 @@ -6,7 +6,7 @@ Get-Date Write-Host "Compiling Mesa" $builddir = New-Item -ItemType Directory -Name "build" Push-Location $builddir.FullName -cmd.exe /C "C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64 -arch=amd64 && meson -Dgallium-drivers=swrast -Dbuild-tests=true .. && ninja test" +cmd.exe /C 'C:\BuildTools\Common7\Tools\VsDevCmd.bat -host_arch=amd64 -arch=amd64 && meson --default-library=static --buildtype=release -Db_vscrt=mt --cmake-prefix-path="C:\llvm-10" --pkg-config-path="C:\llvm-10\lib\pkgconfig;C:\llvm-10\share\pkgconfig;C:\spirv-tools\lib\pkgconfig" -Dllvm=true -Dshared-llvm=false -Dgallium-drivers=swrast -Dbuild-tests=true && ninja test' $buildstatus = $? Pop-Location Remove-Item -Recurse -Path $builddir |