diff options
| author | beatrice <beatrice@dangofactory.net> | 2026-11-22 19:26:02 +0900 |
|---|---|---|
| committer | beatrice <beatrice@dangofactory.net> | 2026-11-22 19:26:02 +0900 |
| commit | d98d160e2cf0df1de98ea62dc778e6072cb671e4 (patch) | |
| tree | 3bdfa4977f2a57e55131ab45884c803c57f0bf6a /.gitlab/ci/python.ps1 | |
| parent | 859ca5c4d7396a011a462878179bc173e1283731 (diff) | |
| download | cmake-master.tar.gz cmake-master.zip | |
Release tarball cmake-3.31.6.tar.gz (dist-generated files / local differences from tag)HEADlocal/cmakemaster
Diffstat (limited to '.gitlab/ci/python.ps1')
| -rw-r--r-- | .gitlab/ci/python.ps1 | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/.gitlab/ci/python.ps1 b/.gitlab/ci/python.ps1 deleted file mode 100644 index 27f18071a6..0000000000 --- a/.gitlab/ci/python.ps1 +++ /dev/null @@ -1,30 +0,0 @@ -$erroractionpreference = "stop" - -$version = "3.11.3" - -if ("$env:PROCESSOR_ARCHITECTURE" -eq "AMD64") { - $sha256sum = "7419B2E98516FBD0B66A1237B80187FFB21D32E47B4A4235C2D9D6379597070F" - $arch = "amd64" -} elseif ("$env:PROCESSOR_ARCHITECTURE" -eq "ARM64") { - $sha256sum = "03BAD6A7C898FC8F693982437AAB6DB698107B82EA93F76424195AE2C161246C" - $arch = "arm64" -} else { - throw ('unknown PROCESSOR_ARCHITECTURE: ' + "$env:PROCESSOR_ARCHITECTURE") -} - -$filename = "python-$version-embed-$arch" -$tarball = "$filename.zip" - -$outdir = $pwd.Path -$outdir = "$outdir\.gitlab" -$ProgressPreference = 'SilentlyContinue' -Invoke-WebRequest -Uri "https://cmake.org/files/dependencies/internal/$tarball" -OutFile "$outdir\$tarball" -$hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256 -if ($hash.Hash -ne $sha256sum) { - exit 1 -} - -Add-Type -AssemblyName System.IO.Compression.FileSystem -[System.IO.Compression.ZipFile]::ExtractToDirectory("$outdir\$tarball", "$outdir\python3") -Remove-Item "$outdir\python3\*._pth" # Avoid sys.path specific to embedded python. -Remove-Item "$outdir\$tarball" |
