From: Erik Faye-Lund Date: Tue, 22 Jun 2021 10:42:50 +0000 (+0200) Subject: ci/windows: work around meson encoding issues X-Git-Tag: upstream/21.2.3~1300 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b437fb810a83382cfae9aa2f38875a9a47e011a1;p=platform%2Fupstream%2Fmesa.git ci/windows: work around meson encoding issues It turns out, some combinations of Meson and MSVC doesn't handle UTF-8 symbols in source-files as gracefully as we'd like. Luckily, there's a work-around; forcing UTF-8 as the default-encoding. Please see this Meson ticket for details: https://github.com/mesonbuild/meson/issues/8263 Cc: mesa-stable Reviewed-by: Jesse Natalie Reviewed-by: Daniel Stone Acked-by: Mike Blumenkrantz Part-of: --- diff --git a/.gitlab-ci/windows/mesa_build.ps1 b/.gitlab-ci/windows/mesa_build.ps1 index efa6527..40008c5 100644 --- a/.gitlab-ci/windows/mesa_build.ps1 +++ b/.gitlab-ci/windows/mesa_build.ps1 @@ -2,6 +2,8 @@ Write-Host "Refreshing Windows TLS CA cache" (New-Object System.Net.WebClient).DownloadString("https://github.com") >$null +$env:PYTHONUTF8=1 + Get-Date Write-Host "Compiling Mesa" $builddir = New-Item -ItemType Directory -Name "_build"