diff options
author | Jesse Natalie <jenatali@microsoft.com> | 2021-02-12 08:53:58 -0800 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2021-02-16 18:33:18 +0000 |
commit | f59e6ad5d76b111a2123efa8b1d3f5c2f3c9400d (patch) | |
tree | a84ef85df486f371a0e1701d3be003ee7b3a4f5d /.gitlab-ci/windows | |
parent | d451285e45957f6eade4ae586b8222e5e992bc6d (diff) | |
download | mesa-f59e6ad5d76b111a2123efa8b1d3f5c2f3c9400d.tar.gz |
CI: Use a sha for the Windows SPIRV-LLVM-Translator dependency
Acked-by: Daniel Stone (daniels@collabora.com)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9018>
Diffstat (limited to '.gitlab-ci/windows')
-rw-r--r-- | .gitlab-ci/windows/mesa_deps.ps1 | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/.gitlab-ci/windows/mesa_deps.ps1 b/.gitlab-ci/windows/mesa_deps.ps1 index 7bea163588f..5ee3f9719c5 100644 --- a/.gitlab-ci/windows/mesa_deps.ps1 +++ b/.gitlab-ci/windows/mesa_deps.ps1 @@ -51,16 +51,19 @@ if (!$?) { Exit 1 } -# ideally we need to use a tag here instead of master +# ideally we want to use a tag here insted of a sha, # but as of today, SPIRV-LLVM-Translator doesn't have -# a tag matching LLVM 12.0.0, which is not yet out TBH +# a tag matching LLVM 12.0.0 Get-Date Write-Host "Cloning SPIRV-LLVM-Translator" -git clone -b master https://github.com/KhronosGroup/SPIRV-LLVM-Translator llvm-project/llvm/projects/SPIRV-LLVM-Translator +git clone https://github.com/KhronosGroup/SPIRV-LLVM-Translator llvm-project/llvm/projects/SPIRV-LLVM-Translator if (!$?) { Write-Host "Failed to clone SPIRV-LLVM-Translator repository" Exit 1 } +Push-Location llvm-project/llvm/projects/SPIRV-LLVM-Translator +git checkout 5b641633b3bcc3251a52260eee11db13a79d7258 +Pop-Location Get-Date # slightly convoluted syntax but avoids the CWD being under the PS filesystem meta-path |