mirror of
https://github.com/actions/runner-images.git
synced 2025-12-18 07:46:57 +00:00
remove boost from windows images (#2843)
This commit is contained in:
@@ -1,38 +1,3 @@
|
||||
function Get-BoostMarkdown
|
||||
{
|
||||
$Name = "Boost"
|
||||
$ToolInstances = Get-CachedToolInstances -Name $Name
|
||||
foreach ($Instance in $ToolInstances)
|
||||
{
|
||||
$VersionEnvVar = $Instance.Version.replace(".", "_")
|
||||
$Instance."Environment Variable" = "BOOST_ROOT_${VersionEnvVar}"
|
||||
}
|
||||
|
||||
$Content = $ToolInstances | New-MDTable -Columns ([ordered]@{
|
||||
Version = "left";
|
||||
Architecture = "left";
|
||||
"Environment Variable" = "left"
|
||||
})
|
||||
$Content += New-MDHeader "Notes:" -Level 5
|
||||
$Content += @'
|
||||
```
|
||||
1. Environment variable "BOOST_ROOT" is not set by default.
|
||||
Please make sure you set this variable value to proper value
|
||||
from table above depending on the Boost version you are using.
|
||||
2. If Boost was built using the boost-cmake project or from Boost 1.70.0
|
||||
on it provides a package configuration file for use with find_package's config mode.
|
||||
This module looks for the package configuration file called BoostConfig.cmake or boost-config.cmake
|
||||
and stores the result in CACHE entry "Boost_DIR". If found, the package configuration file
|
||||
is loaded and this module returns with no further action.
|
||||
See documentation of the Boost CMake package configuration for details on what it provides.
|
||||
Set Boost_NO_BOOST_CMAKE to ON, to disable the search for boost-cmake.
|
||||
Link: https://cmake.org/cmake/help/latest/module/FindBoost.html
|
||||
```
|
||||
'@
|
||||
|
||||
return Build-MarkdownElement -Head $Name -Content $Content
|
||||
}
|
||||
|
||||
function Get-GoMarkdown
|
||||
{
|
||||
$Name = "Go"
|
||||
@@ -106,7 +71,6 @@ function Get-PyPyMarkdown
|
||||
function Build-CachedToolsMarkdown
|
||||
{
|
||||
$markdown = ""
|
||||
$markdown += Get-BoostMarkdown
|
||||
$markdown += Get-GoMarkdown
|
||||
$markdown += Get-NodeMarkdown
|
||||
$markdown += Get-PythonMarkdown
|
||||
|
||||
Reference in New Issue
Block a user