Skip to content

Commit 73d582d

Browse files
nikola-maticcameel
authored andcommitted
Bump cmake to 3.27.4 and boost to 1.83 on Windows to work with Visual Studio 2022
1 parent 9bce5f9 commit 73d582d

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

scripts/install_deps.ps1

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,21 @@ $progressPreference = "silentlyContinue"
66
if ( -not (Test-Path "$PSScriptRoot\..\deps\boost") ) {
77
New-Item -ItemType Directory -Force -Path "$PSScriptRoot\..\deps"
88

9-
Invoke-WebRequest -URI "https://github.com/Kitware/CMake/releases/download/v3.18.2/cmake-3.18.2-win64-x64.zip" -OutFile cmake.zip
10-
if ((Get-FileHash cmake.zip).Hash -ne "5f4ec834fbd9b62fbf73bc48ed459fa2ea6a86c403106c90fedc2ac76d51612d") {
9+
Invoke-WebRequest -URI "https://github.com/Kitware/CMake/releases/download/v3.27.4/cmake-3.27.4-windows-x86_64.zip" -OutFile cmake.zip
10+
if ((Get-FileHash cmake.zip).Hash -ne "e5e060756444d0b2070328a8821c1ceb62bd6d267aae61bfff06f96c7ec943a6") {
1111
throw 'Downloaded CMake source package has wrong checksum.'
1212
}
1313
tar -xf cmake.zip
14-
mv cmake-3.18.2-win64-x64 "$PSScriptRoot\..\deps\cmake"
14+
mv cmake-3.27.4-windows-x86_64 "$PSScriptRoot\..\deps\cmake"
1515

1616
# FIXME: The default user agent results in Artifactory treating Invoke-WebRequest as a browser
1717
# and serving it a page that requires JavaScript.
18-
Invoke-WebRequest -URI "https://boostorg.jfrog.io/artifactory/main/release/1.77.0/source/boost_1_77_0.zip" -OutFile boost.zip -UserAgent ""
19-
if ((Get-FileHash boost.zip).Hash -ne "d2886ceff60c35fc6dc9120e8faa960c1e9535f2d7ce447469eae9836110ea77") {
18+
Invoke-WebRequest -URI "https://boostorg.jfrog.io/artifactory/main/release/1.83.0/source/boost_1_83_0.zip" -OutFile boost.zip -UserAgent ""
19+
if ((Get-FileHash boost.zip).Hash -ne "c86bd9d9eef795b4b0d3802279419fde5221922805b073b9bd822edecb1ca28e") {
2020
throw 'Downloaded Boost source package has wrong checksum.'
2121
}
2222
tar -xf boost.zip
23-
cd boost_1_77_0
23+
cd boost_1_83_0
2424
.\bootstrap.bat
2525
.\b2 -j4 -d0 link=static runtime-link=static variant=release threading=multi address-model=64 --with-filesystem --with-system --with-program_options --with-test --prefix="$PSScriptRoot\..\deps\boost" install
2626
if ( -not $? ) { throw "Error building boost." }

0 commit comments

Comments
 (0)