mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-12-27 10:21:07 +08:00
[boost] Add Supports fields and more accurately handle arm64-windows/x64-uwp (#12762)
* [boost] Add Supports fields. Regenerate to better describe arm64-windows and UWP. * [ci.baseline.txt] Remove unneeded boost entries * [libtorrent] Modify Supports to cover arm64-windows * [ci.baseline.txt] Add exposed failures now that boost:arm64-windows builds * Update ports/boost-fiber/CONTROL * Update ports/boost/CONTROL Co-authored-by: Robert Schumacher <roschuma@microsoft.com> Co-authored-by: Phoebe <20694052+PhoebeHui@users.noreply.github.com>
This commit is contained in:
parent
600743e1e1
commit
23d4072643
@ -1,6 +1,7 @@
|
||||
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
||||
Source: boost-asio
|
||||
Version: 1.73.0
|
||||
Build-Depends: boost-array, boost-assert, boost-bind, boost-chrono, boost-compatibility, boost-config, boost-coroutine (!uwp), boost-date-time, boost-detail, boost-function, boost-integer, boost-regex, boost-smart-ptr, boost-system, boost-throw-exception, boost-type-traits, boost-utility, boost-vcpkg-helpers, openssl
|
||||
Port-Version: 1
|
||||
Build-Depends: boost-array, boost-assert, boost-bind, boost-chrono, boost-compatibility, boost-config, boost-coroutine (!arm&!uwp), boost-date-time, boost-detail, boost-function, boost-integer, boost-regex, boost-smart-ptr, boost-system, boost-throw-exception, boost-type-traits, boost-utility, boost-vcpkg-helpers, openssl
|
||||
Homepage: https://github.com/boostorg/asio
|
||||
Description: Boost asio module
|
||||
|
@ -1,6 +1,8 @@
|
||||
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
||||
Source: boost-context
|
||||
Version: 1.73.0-1
|
||||
Version: 1.73.0
|
||||
Port-Version: 1
|
||||
Build-Depends: boost-assert, boost-build, boost-config, boost-detail, boost-integer, boost-modular-build-helper, boost-pool, boost-predef, boost-smart-ptr, boost-thread, boost-vcpkg-helpers
|
||||
Homepage: https://github.com/boostorg/context
|
||||
Description: Boost context module
|
||||
Supports: !uwp
|
||||
|
@ -1,6 +1,8 @@
|
||||
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
||||
Source: boost-coroutine
|
||||
Version: 1.73.0
|
||||
Port-Version: 1
|
||||
Build-Depends: boost-assert, boost-build, boost-config, boost-context (!uwp), boost-detail, boost-exception, boost-integer, boost-modular-build-helper, boost-move, boost-range, boost-system, boost-thread, boost-throw-exception, boost-type-traits, boost-utility, boost-vcpkg-helpers
|
||||
Homepage: https://github.com/boostorg/coroutine
|
||||
Description: Boost coroutine module
|
||||
Supports: !arm&!uwp
|
||||
|
@ -1,6 +1,8 @@
|
||||
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
||||
Source: boost-fiber
|
||||
Version: 1.73.0
|
||||
Port-Version: 1
|
||||
Build-Depends: boost-algorithm, boost-assert, boost-build, boost-config, boost-context (!uwp), boost-core, boost-detail, boost-filesystem (!uwp), boost-format, boost-intrusive, boost-modular-build-helper, boost-predef, boost-smart-ptr, boost-vcpkg-helpers
|
||||
Homepage: https://github.com/boostorg/fiber
|
||||
Description: Boost fiber module
|
||||
Supports: !osx&!uwp&!arm
|
||||
|
@ -1,6 +1,8 @@
|
||||
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
||||
Source: boost-filesystem
|
||||
Version: 1.73.0
|
||||
Port-Version: 1
|
||||
Build-Depends: boost-assert, boost-build, boost-config, boost-core, boost-detail, boost-functional, boost-integer, boost-io, boost-iterator, boost-modular-build-helper, boost-predef, boost-smart-ptr, boost-system, boost-type-traits, boost-vcpkg-helpers, boost-winapi
|
||||
Homepage: https://github.com/boostorg/filesystem
|
||||
Description: Boost filesystem module
|
||||
Supports: !uwp
|
||||
|
@ -1,6 +1,7 @@
|
||||
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
||||
Source: boost-graph-parallel
|
||||
Version: 1.73.0
|
||||
Build-Depends: boost-assert, boost-compatibility, boost-config, boost-container-hash, boost-detail, boost-dynamic-bitset, boost-filesystem (!uwp), boost-foreach, boost-function, boost-graph, boost-iterator, boost-lexical-cast, boost-math, boost-mpl, boost-optional, boost-property-map, boost-random, boost-serialization, boost-smart-ptr, boost-static-assert, boost-tuple, boost-type-traits, boost-utility, boost-variant, boost-vcpkg-helpers
|
||||
Port-Version: 1
|
||||
Build-Depends: boost-assert, boost-compatibility, boost-concept-check, boost-config, boost-container-hash, boost-detail, boost-dynamic-bitset, boost-filesystem (!uwp), boost-foreach, boost-function, boost-graph, boost-iterator, boost-lexical-cast, boost-math, boost-mpl, boost-optional, boost-property-map, boost-random, boost-serialization, boost-smart-ptr, boost-static-assert, boost-tuple, boost-type-traits, boost-utility, boost-variant, boost-vcpkg-helpers
|
||||
Homepage: https://github.com/boostorg/graph_parallel
|
||||
Description: Boost graph_parallel module
|
||||
|
@ -1,6 +1,8 @@
|
||||
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
||||
Source: boost-iostreams
|
||||
Version: 1.73.0
|
||||
Port-Version: 1
|
||||
Build-Depends: boost-assert, boost-bind, boost-build, boost-config, boost-core, boost-detail, boost-function, boost-integer, boost-iterator, boost-modular-build-helper, boost-mpl, boost-numeric-conversion, boost-preprocessor, boost-range, boost-regex, boost-smart-ptr, boost-static-assert, boost-throw-exception, boost-type-traits, boost-utility, boost-vcpkg-helpers, bzip2, liblzma, zlib, zstd
|
||||
Homepage: https://github.com/boostorg/iostreams
|
||||
Description: Boost iostreams module
|
||||
Supports: !uwp
|
||||
|
@ -1,9 +1,11 @@
|
||||
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
||||
Source: boost-locale
|
||||
Version: 1.73.0-1
|
||||
Version: 1.73.0
|
||||
Port-Version: 1
|
||||
Build-Depends: boost-assert, boost-build, boost-config, boost-function, boost-integer, boost-iterator, boost-modular-build-helper, boost-smart-ptr, boost-static-assert, boost-system, boost-thread, boost-type-traits, boost-unordered, boost-vcpkg-helpers, libiconv (!uwp&!windows)
|
||||
Homepage: https://github.com/boostorg/locale
|
||||
Description: Boost locale module
|
||||
Supports: !uwp
|
||||
|
||||
Feature: icu
|
||||
Build-Depends: icu
|
||||
|
@ -1,6 +1,8 @@
|
||||
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
||||
Source: boost-log
|
||||
Version: 1.73.0
|
||||
Port-Version: 1
|
||||
Build-Depends: boost-align, boost-array, boost-asio, boost-assert, boost-atomic, boost-bind, boost-build, boost-compatibility, boost-config, boost-container, boost-core, boost-date-time, boost-detail, boost-exception, boost-filesystem (!uwp), boost-function-types, boost-fusion, boost-integer, boost-interprocess, boost-intrusive, boost-io, boost-iterator, boost-lexical-cast, boost-locale (!uwp), boost-math, boost-modular-build-helper, boost-move, boost-mpl, boost-optional, boost-parameter, boost-phoenix, boost-predef, boost-preprocessor, boost-property-tree, boost-proto, boost-random, boost-range, boost-regex, boost-smart-ptr, boost-spirit, boost-static-assert, boost-system, boost-thread, boost-throw-exception, boost-type-index, boost-type-traits, boost-utility, boost-vcpkg-helpers, boost-winapi, boost-xpressive
|
||||
Homepage: https://github.com/boostorg/log
|
||||
Description: Boost log module
|
||||
Supports: !uwp
|
||||
|
@ -1,6 +1,7 @@
|
||||
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
||||
Source: boost-mpi
|
||||
Version: 1.73.0
|
||||
Build-Depends: boost-assert, boost-build, boost-compatibility, boost-config, boost-core, boost-foreach, boost-function, boost-graph, boost-integer, boost-iterator, boost-lexical-cast, boost-math, boost-modular-build-helper, boost-mpl, boost-optional, boost-python, boost-serialization, boost-smart-ptr, boost-static-assert, boost-throw-exception, boost-type-traits, boost-utility, boost-vcpkg-helpers, mpi
|
||||
Port-Version: 1
|
||||
Build-Depends: boost-assert, boost-build, boost-compatibility, boost-config, boost-core, boost-foreach, boost-function, boost-graph, boost-integer, boost-iterator, boost-lexical-cast, boost-math, boost-modular-build-helper, boost-mpl, boost-optional, boost-python (!uwp&!(arm&windows)), boost-serialization, boost-smart-ptr, boost-static-assert, boost-throw-exception, boost-type-traits, boost-utility, boost-vcpkg-helpers, mpi
|
||||
Homepage: https://github.com/boostorg/mpi
|
||||
Description: Boost mpi module
|
||||
|
@ -1,6 +1,7 @@
|
||||
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
||||
Source: boost-parameter-python
|
||||
Version: 1.73.0
|
||||
Build-Depends: boost-mpl, boost-parameter, boost-preprocessor, boost-python, boost-vcpkg-helpers
|
||||
Port-Version: 1
|
||||
Build-Depends: boost-mpl, boost-parameter, boost-preprocessor, boost-python (!uwp&!(arm&windows)), boost-vcpkg-helpers
|
||||
Homepage: https://github.com/boostorg/parameter_python
|
||||
Description: Boost parameter_python module
|
||||
|
@ -1,6 +1,7 @@
|
||||
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
||||
Source: boost-poly-collection
|
||||
Version: 1.73.0
|
||||
Build-Depends: boost-assert, boost-config, boost-core, boost-detail, boost-iterator, boost-mp11, boost-mpl, boost-type-erasure (!arm), boost-type-traits, boost-vcpkg-helpers
|
||||
Port-Version: 1
|
||||
Build-Depends: boost-assert, boost-config, boost-core, boost-detail, boost-iterator, boost-mp11, boost-mpl, boost-type-erasure, boost-type-traits, boost-vcpkg-helpers
|
||||
Homepage: https://github.com/boostorg/poly_collection
|
||||
Description: Boost poly_collection module
|
||||
|
@ -1,9 +1,11 @@
|
||||
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
||||
Source: boost-python
|
||||
Version: 1.73.0
|
||||
Port-Version: 1
|
||||
Build-Depends: boost-bind, boost-compatibility, boost-config, boost-conversion, boost-core, boost-detail, boost-foreach, boost-function, boost-graph, boost-integer, boost-iterator, boost-lexical-cast, boost-math, boost-mpl, boost-numeric-conversion, boost-preprocessor, boost-property-map, boost-smart-ptr, boost-static-assert, boost-tuple, boost-type-traits, boost-utility, boost-vcpkg-helpers, python3
|
||||
Homepage: https://github.com/boostorg/python
|
||||
Description: Boost python module
|
||||
Supports: !uwp&!(arm&windows)
|
||||
|
||||
Feature: python2
|
||||
Build-Depends: python2 (windows)
|
||||
|
@ -1,6 +1,7 @@
|
||||
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
||||
Source: boost-safe-numerics
|
||||
Version: 1.73.0
|
||||
Build-Depends: boost-config, boost-core, boost-integer, boost-logic, boost-mp11, boost-vcpkg-helpers
|
||||
Port-Version: 1
|
||||
Build-Depends: boost-concept-check, boost-config, boost-core, boost-integer, boost-logic, boost-mp11, boost-vcpkg-helpers
|
||||
Homepage: https://github.com/boostorg/safe_numerics
|
||||
Description: Boost safe_numerics module
|
||||
|
@ -1,6 +1,8 @@
|
||||
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
||||
Source: boost-stacktrace
|
||||
Version: 1.73.0
|
||||
Port-Version: 1
|
||||
Build-Depends: boost-array, boost-build, boost-config, boost-container-hash, boost-core, boost-modular-build-helper, boost-predef, boost-static-assert, boost-type-traits, boost-vcpkg-helpers, boost-winapi
|
||||
Homepage: https://github.com/boostorg/stacktrace
|
||||
Description: Boost stacktrace module
|
||||
Supports: !uwp
|
||||
|
@ -1,6 +1,8 @@
|
||||
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
||||
Source: boost-test
|
||||
Version: 1.73.0
|
||||
Port-Version: 1
|
||||
Build-Depends: boost-algorithm, boost-assert, boost-bind, boost-build, boost-compatibility, boost-config, boost-core, boost-detail, boost-exception, boost-function, boost-integer, boost-io, boost-iterator, boost-modular-build-helper, boost-mpl, boost-numeric-conversion, boost-optional, boost-preprocessor, boost-smart-ptr, boost-static-assert, boost-type-traits, boost-utility, boost-vcpkg-helpers
|
||||
Homepage: https://github.com/boostorg/test
|
||||
Description: Boost test module
|
||||
Supports: !uwp
|
||||
|
@ -1,6 +1,8 @@
|
||||
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
||||
Source: boost-wave
|
||||
Version: 1.73.0
|
||||
Port-Version: 1
|
||||
Build-Depends: boost-assert, boost-build, boost-concept-check, boost-config, boost-core, boost-detail, boost-filesystem (!uwp), boost-integer, boost-iterator, boost-lexical-cast, boost-math, boost-modular-build-helper, boost-mpl, boost-multi-index, boost-pool, boost-preprocessor, boost-serialization, boost-smart-ptr, boost-spirit, boost-static-assert, boost-throw-exception, boost-type-traits, boost-vcpkg-helpers
|
||||
Homepage: https://github.com/boostorg/wave
|
||||
Description: Boost wave module
|
||||
Supports: !uwp
|
||||
|
@ -1,9 +1,11 @@
|
||||
# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1
|
||||
Source: boost
|
||||
Version: 1.73.0
|
||||
Port-Version: 1
|
||||
Homepage: https://boost.org
|
||||
Description: Peer-reviewed portable C++ source libraries
|
||||
Build-Depends: boost-accumulators, boost-algorithm, boost-align, boost-any, boost-array, boost-asio, boost-assert, boost-assign, boost-atomic, boost-beast, boost-bimap, boost-bind, boost-callable-traits, boost-chrono, boost-circular-buffer, boost-compatibility, boost-compute, boost-concept-check, boost-config, boost-container, boost-container-hash, boost-context (!uwp), boost-contract (!arm), boost-conversion, boost-convert, boost-core, boost-coroutine (!uwp), boost-coroutine2, boost-crc, boost-date-time, boost-detail, boost-dll, boost-dynamic-bitset, boost-endian, boost-exception, boost-fiber (windows), boost-filesystem (!uwp), boost-flyweight, boost-foreach, boost-format, boost-function, boost-functional, boost-function-types, boost-fusion, boost-geometry, boost-gil, boost-graph, boost-graph-parallel, boost-hana, boost-heap, boost-histogram, boost-hof, boost-icl, boost-integer, boost-interprocess, boost-intrusive, boost-io, boost-iostreams (!uwp), boost-iterator, boost-lambda, boost-lexical-cast, boost-locale (!uwp), boost-local-function, boost-lockfree, boost-log (!uwp), boost-logic, boost-math, boost-metaparse, boost-move, boost-mp11, boost-mpl, boost-msm, boost-multiprecision, boost-multi-array, boost-multi-index, boost-nowide, boost-numeric-conversion, boost-interval, boost-odeint, boost-ublas, boost-safe-numerics, boost-optional, boost-outcome, boost-parameter, boost-parameter-python, boost-phoenix, boost-polygon, boost-poly-collection, boost-pool, boost-predef, boost-preprocessor, boost-process, boost-program-options, boost-property-map, boost-property-tree, boost-proto, boost-ptr-container, boost-python, boost-qvm, boost-random, boost-range, boost-ratio, boost-rational, boost-regex, boost-numeric-conversion, boost-interval, boost-odeint, boost-ublas, boost-safe-numerics, boost-scope-exit, boost-serialization, boost-signals2, boost-smart-ptr, boost-sort, boost-spirit, boost-stacktrace (!uwp), boost-statechart, boost-static-assert, boost-static-string, boost-system, boost-test (!uwp), boost-thread, boost-throw-exception, boost-timer, boost-tokenizer, boost-tti, boost-tuple, boost-typeof, boost-type-erasure (!arm), boost-type-index, boost-type-traits, boost-units, boost-unordered, boost-utility, boost-uuid, boost-variant, boost-variant2, boost-vmd, boost-wave (!uwp), boost-winapi, boost-xpressive, boost-yap
|
||||
Build-Depends: boost-accumulators, boost-algorithm, boost-align, boost-any, boost-array, boost-asio, boost-assert, boost-assign, boost-atomic, boost-beast, boost-bimap, boost-bind, boost-callable-traits, boost-chrono, boost-circular-buffer, boost-compatibility, boost-compute, boost-concept-check, boost-config, boost-container, boost-container-hash, boost-context (!uwp), boost-contract, boost-conversion, boost-convert, boost-core, boost-coroutine (!arm&!uwp), boost-coroutine2, boost-crc, boost-date-time, boost-detail, boost-dll, boost-dynamic-bitset, boost-endian, boost-exception, boost-fiber (!osx&!uwp&!arm), boost-filesystem (!uwp), boost-flyweight, boost-foreach, boost-format, boost-function, boost-functional, boost-function-types, boost-fusion, boost-geometry, boost-gil, boost-graph, boost-graph-parallel, boost-hana, boost-heap, boost-histogram, boost-hof, boost-icl, boost-integer, boost-interprocess, boost-intrusive, boost-io, boost-iostreams (!uwp), boost-iterator, boost-lambda, boost-lexical-cast, boost-locale (!uwp), boost-local-function, boost-lockfree, boost-log (!uwp), boost-logic, boost-math, boost-metaparse, boost-move, boost-mp11, boost-mpl, boost-msm, boost-multiprecision, boost-multi-array, boost-multi-index, boost-nowide, boost-numeric-conversion, boost-interval, boost-odeint, boost-ublas, boost-safe-numerics, boost-optional, boost-outcome, boost-parameter, boost-parameter-python, boost-phoenix, boost-polygon, boost-poly-collection, boost-pool, boost-predef, boost-preprocessor, boost-process, boost-program-options, boost-property-map, boost-property-tree, boost-proto, boost-ptr-container, boost-python (!uwp&!(arm&windows)), boost-qvm, boost-random, boost-range, boost-ratio, boost-rational, boost-regex, boost-numeric-conversion, boost-interval, boost-odeint, boost-ublas, boost-safe-numerics, boost-scope-exit, boost-serialization, boost-signals2, boost-smart-ptr, boost-sort, boost-spirit, boost-stacktrace (!uwp), boost-statechart, boost-static-assert, boost-static-string, boost-system, boost-test (!uwp), boost-thread, boost-throw-exception, boost-timer, boost-tokenizer, boost-tti, boost-tuple, boost-typeof, boost-type-erasure, boost-type-index, boost-type-traits, boost-units, boost-unordered, boost-utility, boost-uuid, boost-variant, boost-variant2, boost-vmd, boost-wave (!uwp), boost-winapi, boost-xpressive, boost-yap
|
||||
|
||||
|
||||
Feature: mpi
|
||||
Description: Build with MPI support
|
||||
|
@ -3,7 +3,7 @@ Version: 1.2.8
|
||||
Homepage: https://github.com/arvidn/libtorrent
|
||||
Description: An efficient feature complete C++ BitTorrent implementation
|
||||
Build-Depends: openssl, boost-system, boost-date-time, boost-chrono, boost-random, boost-asio, boost-crc, boost-config, boost-iterator, boost-scope-exit, boost-multiprecision, boost-variant
|
||||
Supports: !uwp
|
||||
Supports: !uwp&!(windows&arm)
|
||||
|
||||
Feature: deprfun
|
||||
Description: build with deprecated functions enabled
|
||||
|
@ -11,25 +11,68 @@ if ($null -eq $portsDir)
|
||||
$portsDir = "$scriptsDir/../../ports"
|
||||
}
|
||||
|
||||
# Optionally clear this array when moving to a new boost version
|
||||
$port_versions = @{
|
||||
"asio" = 1;
|
||||
"context" = 1;
|
||||
"coroutine" = 1;
|
||||
"fiber" = 1;
|
||||
"filesystem" = 1;
|
||||
"graph-parallel" = 1;
|
||||
"iostreams" = 1;
|
||||
"locale" = 1;
|
||||
"log" = 1;
|
||||
"mpi" = 1;
|
||||
"parameter-python" = 1;
|
||||
"poly-collection" = 1;
|
||||
"python" = 1;
|
||||
"safe-numerics" = 1;
|
||||
"stacktrace" = 1;
|
||||
"test" = 1;
|
||||
"wave" = 1;
|
||||
"boost" = 1
|
||||
}
|
||||
|
||||
$per_port_data = @{
|
||||
"fiber" = @{ "supports" = "windows&!uwp&!arm" };
|
||||
"filesystem" = @{ "supports" = "!uwp" };
|
||||
"iostreams" = @{ "supports" = "!uwp" };
|
||||
"context" = @{ "supports" = "!uwp" };
|
||||
"stacktrace" = @{ "supports" = "!uwp" };
|
||||
"coroutine" = @{ "supports" = "!arm&!uwp" };
|
||||
"test" = @{ "supports" = "!uwp" };
|
||||
"wave" = @{ "supports" = "!uwp" };
|
||||
"log" = @{ "supports" = "!uwp" };
|
||||
"locale" = @{
|
||||
"supports" = "!uwp";
|
||||
"features" = @(
|
||||
"Feature: icu"
|
||||
"Build-Depends: icu"
|
||||
"Description: ICU backend for Boost.Locale"
|
||||
)};
|
||||
"python" = @{
|
||||
"supports" = "!uwp&!(arm&windows)";
|
||||
"features" = @(
|
||||
"Feature: python2"
|
||||
"Build-Depends: python2 (windows)"
|
||||
"Description: Build with Python2 support"
|
||||
)};
|
||||
"regex" = @{ "features" = @(
|
||||
"Feature: icu"
|
||||
"Build-Depends: icu"
|
||||
"Description: ICU backend for Boost.Regex"
|
||||
)}
|
||||
}
|
||||
|
||||
function TransformReference()
|
||||
{
|
||||
param (
|
||||
[string]$library
|
||||
)
|
||||
|
||||
if ($library -match "fiber")
|
||||
if ($per_port_data[$library].supports)
|
||||
{
|
||||
# these only work on windows desktop
|
||||
"$library (windows)"
|
||||
}
|
||||
elseif ($library -match "type[_-]erasure|contract")
|
||||
{
|
||||
# These only work on x86-derived processors
|
||||
"$library (!arm)"
|
||||
}
|
||||
elseif ($library -match "iostreams|filesystem|context|stacktrace|coroutine`$|locale|test|wave|log`$")
|
||||
{
|
||||
"$library (!uwp)"
|
||||
"$library ($($per_port_data[$library].supports))"
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -49,48 +92,28 @@ function Generate()
|
||||
|
||||
$controlDeps = ($Depends | sort) -join ", "
|
||||
|
||||
$versionSuffix = ""
|
||||
|
||||
# if ($PortName -eq "<modified_libname>")
|
||||
# {
|
||||
# $versionSuffix = "-1"
|
||||
# }
|
||||
|
||||
mkdir "$portsDir/boost-$PortName" -erroraction SilentlyContinue | out-null
|
||||
$controlLines = @(
|
||||
"# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1"
|
||||
"Source: boost-$PortName"
|
||||
"Version: $version$versionSuffix"
|
||||
"Version: $version"
|
||||
)
|
||||
if ($port_versions[$PortName])
|
||||
{
|
||||
$controlLines += @("Port-Version: $($port_versions[$PortName])")
|
||||
}
|
||||
$controlLines += @(
|
||||
"Build-Depends: $controlDeps"
|
||||
"Homepage: https://github.com/boostorg/$Name"
|
||||
"Description: Boost $Name module"
|
||||
)
|
||||
if ($PortName -eq "locale")
|
||||
if ($per_port_data[$PortName].supports)
|
||||
{
|
||||
$controlLines += @(
|
||||
""
|
||||
"Feature: icu"
|
||||
"Build-Depends: icu"
|
||||
"Description: ICU backend for Boost.Locale"
|
||||
)
|
||||
$controlLines += @("Supports: $($per_port_data[$PortName].supports)")
|
||||
}
|
||||
if ($PortName -eq "python")
|
||||
if ($per_port_data[$PortName].features)
|
||||
{
|
||||
$controlLines += @(
|
||||
""
|
||||
"Feature: python2"
|
||||
"Build-Depends: python2 (windows)"
|
||||
"Description: Build with Python2 support"
|
||||
)
|
||||
}
|
||||
if ($PortName -eq "regex")
|
||||
{
|
||||
$controlLines += @(
|
||||
""
|
||||
"Feature: icu"
|
||||
"Build-Depends: icu"
|
||||
"Description: ICU backend for Boost.Regex"
|
||||
)
|
||||
$controlLines += @("") + $per_port_data[$PortName].features
|
||||
}
|
||||
$controlLines | out-file -enc ascii "$portsDir/boost-$PortName/CONTROL"
|
||||
|
||||
@ -115,23 +138,21 @@ function Generate()
|
||||
" SHA512 $Hash"
|
||||
" HEAD_REF master"
|
||||
)
|
||||
if ($PortName -eq "asio")
|
||||
$patches = ls $portsDir/boost-$PortName/*.patch
|
||||
if ($patches.Count -eq 0)
|
||||
{
|
||||
$portfileLines += @(" PATCHES windows_alloca_header.patch")
|
||||
}
|
||||
if ($PortName -eq "iostreams")
|
||||
elseif ($patches.Count -eq 1)
|
||||
{
|
||||
$portfileLines += @(" PATCHES Removeseekpos.patch")
|
||||
$portfileLines += @(" PATCHES $($patches.name)")
|
||||
}
|
||||
if ($PortName -eq "outcome")
|
||||
else
|
||||
{
|
||||
# 1.73 Known Issue
|
||||
$portfileLines += @(" PATCHES 0001-outcome-assert.patch")
|
||||
}
|
||||
if ($PortName -eq "beast")
|
||||
{
|
||||
# 1.73 Known Issue
|
||||
$portfileLines += @(" PATCHES 0002-beast-coroutines.patch")
|
||||
$portfileLines += @(" PATCHES")
|
||||
foreach ($patch in $patches)
|
||||
{
|
||||
$portfileLines += @(" $($patches.name)")
|
||||
}
|
||||
}
|
||||
$portfileLines += @(
|
||||
")"
|
||||
@ -277,6 +298,7 @@ foreach ($library in $libraries)
|
||||
if ($_ -match "aligned_storage") { "type_traits" }
|
||||
elseif ($_ -match "noncopyable|ref|swap|get_pointer|checked_delete|visit_each") { "core" }
|
||||
elseif ($_ -eq "type") { "core" }
|
||||
elseif ($_ -eq "concept") { "concept_check" }
|
||||
elseif ($_ -match "unordered_") { "unordered" }
|
||||
elseif ($_ -match "cstdint|integer_fwd|integer_traits") { "integer" }
|
||||
elseif ($_ -match "call_traits|operators|current_function|cstdlib|next_prior|compressed_pair") { "utility" }
|
||||
@ -340,8 +362,8 @@ foreach ($library in $libraries)
|
||||
(($library -notmatch "iostreams") -or ($_ -notmatch "random"))`
|
||||
-and `
|
||||
(($library -notmatch "utility|concept_check") -or ($_ -notmatch "iterator"))
|
||||
} | % { "boost-$_" -replace "_","-" } | % {
|
||||
TransformReference $_
|
||||
} | % { $_ -replace "_","-" } | % {
|
||||
"boost-" + (TransformReference $_)
|
||||
})
|
||||
|
||||
$deps += @("boost-vcpkg-helpers")
|
||||
@ -401,6 +423,7 @@ if ($libraries_in_boost_port.length -gt 1) {
|
||||
"# Automatically generated by boost-vcpkg-helpers/generate-ports.ps1"
|
||||
"Source: boost"
|
||||
"Version: $version"
|
||||
"Port-Version: $($port_versions.boost)"
|
||||
"Homepage: https://boost.org"
|
||||
"Description: Peer-reviewed portable C++ source libraries"
|
||||
"Build-Depends: $boostDependsList"
|
||||
|
@ -106,6 +106,8 @@ azure-c-shared-utility:arm-uwp=fail
|
||||
azure-c-shared-utility:x64-uwp=fail
|
||||
azure-kinect-sensor-sdk:x64-linux=fail
|
||||
azure-kinect-sensor-sdk:x64-osx=fail
|
||||
# Requires ATL for ARM64 to be installed in CI
|
||||
azure-storage-cpp:arm64-windows=fail
|
||||
bde:arm64-windows=fail
|
||||
bde:arm-uwp=fail
|
||||
bde:x64-uwp=fail
|
||||
@ -140,26 +142,6 @@ blosc:x64-uwp=fail
|
||||
bond:arm-uwp=fail
|
||||
bond:x64-osx=fail
|
||||
bond:x64-uwp=fail
|
||||
boost-coroutine:arm-uwp=fail
|
||||
boost-coroutine:arm64-windows=fail
|
||||
boost-fiber:arm-uwp=fail
|
||||
boost-fiber:arm64-windows=fail
|
||||
boost-fiber:x64-osx=fail
|
||||
boost-fiber:x64-uwp=fail
|
||||
boost-filesystem:arm-uwp=fail
|
||||
boost-filesystem:x64-uwp=fail
|
||||
boost-iostreams:arm-uwp=fail
|
||||
boost-iostreams:x64-uwp=fail
|
||||
boost-locale:arm-uwp=fail
|
||||
boost-locale:x64-uwp=fail
|
||||
boost-log:arm-uwp=fail
|
||||
boost-log:x64-uwp=fail
|
||||
boost-stacktrace:arm-uwp=fail
|
||||
boost-stacktrace:x64-uwp=fail
|
||||
boost-test:arm-uwp=fail
|
||||
boost-test:x64-uwp=fail
|
||||
boost-wave:arm-uwp=fail
|
||||
boost-wave:x64-uwp=fail
|
||||
botan:arm64-windows=fail
|
||||
botan:arm-uwp=fail
|
||||
botan:x64-uwp=fail
|
||||
@ -450,6 +432,8 @@ freeglut:arm64-windows=fail
|
||||
freeglut:arm-uwp=fail
|
||||
freeglut:x64-uwp=fail
|
||||
freeglut:x64-osx=fail
|
||||
# Needs /bigobj
|
||||
freeopcua:arm64-windows=fail
|
||||
freetds:arm-uwp=fail
|
||||
freetds:x64-linux=fail
|
||||
freetds:x64-osx=fail
|
||||
|
Loading…
x
Reference in New Issue
Block a user