Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Ubuntu] [Windows] Boost 1.69.0 will be deprecated on November, 10 #1847

Closed
5 tasks done
AlenaSviridenko opened this issue Oct 19, 2020 · 3 comments
Closed
5 tasks done

Comments

@AlenaSviridenko
Copy link
Contributor

AlenaSviridenko commented Oct 19, 2020

Breaking changes

Boost 1.69 will be removed from Windows / Ubuntu images

Target date

Deployment of these changes will be started on 10 November and will take a few days.

The motivation for the changes

Currently, we have a lack of free space on images so we would like to deprecate old software

Possible impact

If you use default Xcode version and your project is not compatible with Xcode 12.0.1, your build can be broken.

  • Ubuntu 1604
  • Ubuntu 1804
  • Ubuntu 2004
  • Windows 2016
  • Windows 2019

Mitigation ways

You can use the following snippet to install Boost 1.69.0 in runtime at the first step of the build:
Windows:

$url = "https://github.com/actions/boost-versions/releases/download/1.69.0-20200608.1/boost-1.69.0-win32-msvc14.1-x86_64.tar.gz"
(New-Object System.Net.WebClient).DownloadFile($url, "$($env:TEMP)\boost.tar.gz")
7z.exe x "$($env:TEMP)\boost.tar.gz" -o"$($env:TEMP)" -y | Out-Null
$tarPath = Get-ChildItem -Path "$($env:TEMP)" -Filter "boost-*.tar" | Select-Object -First 1
7z.exe x $tarPath -o"$($env:TEMP)/boost" -y | Out-Null
Push-Location -Path "$($env:TEMP)\boost"
Invoke-Expression .\setup.ps1

Ubuntu 1604:

$url = "https://github.com/actions/boost-versions/releases/download/1.69.0-20200608.1/boost-1.69.0-linux-16.04-gcc-x64.tar.gz"
(New-Object System.Net.WebClient).DownloadFile($url, "/tmp/boost.tar.gz")
mkdir "/tmp/boost"
tar -xzf "/tmp/boost.tar.gz" -C "/tmp/boost"
Push-Location -Path "/tmp/boost"
Invoke-Expression "bash ./setup.sh"

Ubuntu 1804:

$url = "https://github.com/actions/boost-versions/releases/download/1.69.0-20200608.1/boost-1.69.0-linux-16.04-gcc-x64.tar.gz"
(New-Object System.Net.WebClient).DownloadFile($url, "/tmp/boost.tar.gz")
mkdir "/tmp/boost"
tar -xzf "/tmp/boost.tar.gz" -C "/tmp/boost"
Push-Location -Path "/tmp/boost"
Invoke-Expression "bash ./setup.sh"
@ahaeber ahaeber mentioned this issue Oct 28, 2020
7 tasks
@AlenaSviridenko AlenaSviridenko pinned this issue Nov 10, 2020
WaveAccessEgorGabov added a commit to WaveAccessEgorGabov/cpp-lint-combine that referenced this issue Nov 12, 2020
WaveAccessEgorGabov added a commit to WaveAccessEgorGabov/cpp-lint-combine that referenced this issue Nov 12, 2020
WaveAccessEgorGabov added a commit to WaveAccessEgorGabov/cpp-lint-combine that referenced this issue Nov 12, 2020
WaveAccessEgorGabov added a commit to WaveAccessEgorGabov/cpp-lint-combine that referenced this issue Nov 12, 2020
WaveAccessEgorGabov added a commit to WaveAccessEgorGabov/cpp-lint-combine that referenced this issue Nov 12, 2020
WaveAccessEgorGabov added a commit to WaveAccessEgorGabov/cpp-lint-combine that referenced this issue Nov 12, 2020
WaveAccessEgorGabov added a commit to WaveAccessEgorGabov/cpp-lint-combine that referenced this issue Nov 12, 2020
WaveAccessEgorGabov added a commit to WaveAccessEgorGabov/cpp-lint-combine that referenced this issue Nov 12, 2020
WaveAccessEgorGabov added a commit to WaveAccessEgorGabov/cpp-lint-combine that referenced this issue Nov 12, 2020
erenon added a commit to morganstanley/binlog that referenced this issue Nov 12, 2020
@Toni-d-e-v
Copy link

$url = "https://github.com/actions/boost-versions/releases/download/1.69.0-20200608.1/boost-1.69.0-win32-msvc14.1-x86_64.tar.gz"
(New-Object System.Net.WebClient).DownloadFile($url, "$($env:TEMP)\boost.tar.gz")
7z.exe x "$($env:TEMP)\boost.tar.gz" -o"$($env:TEMP)" -y | Out-Null
$tarPath = Get-ChildItem -Path "$($env:TEMP)" -Filter "boost-*.tar" | Select-Object -First 1
7z.exe x $tarPath -o"$($env:TEMP)/boost" -y | Out-Null
Push-Location -Path "$($env:TEMP)\boost"
Invoke-Expression .\setup.ps1
Where is installed I need to specify in cmake list

@maxim-lobanov
Copy link
Contributor

Rollout of these changes has been finished.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants
@AlenaSviridenko @maxim-lobanov @Toni-d-e-v and others