packages/libs/boost/patches/010-mips1.patch
breakings 9dfe28197f
boost: bump to version 1.80.0 (#500)
* boost: bump to version 1.80.0

This commit updates boost to version 1.80.0

There are no new libraries in this version

The following patches were removed due to upstream update:
* 010-mips1.patch [1]
* 910-json-array-erase-relocate.patch [2]

More info about Boost 1.80.0 can be found at the usual place [3].

[1]: https://github.com/boostorg/config/pull/390
[2]: https://github.com/boostorg/json/pull/695
[3]: https://www.boost.org/users/history/version_1_80_0.html

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>

* boost: restores patch for libboost_context for mips64

This commit restores the patch for libboost_context for mips64 given
that the upstream update added in 1.80.0 does not fully fixes the issue.

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>

Signed-off-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
Co-authored-by: Carlos Miguel Ferreira <carlosmf.pt@gmail.com>
2022-08-25 00:25:13 +08:00

39 lines
1.6 KiB
Diff

--- a/boostcpp.jam
+++ b/boostcpp.jam
@@ -634,7 +634,7 @@ rule address-model ( )
return <conditional>@boostcpp.deduce-address-model ;
}
-local deducable-architectures = arm mips1 power riscv s390x sparc x86 combined ;
+local deducable-architectures = arm mips power riscv s390x sparc x86 combined ;
feature.feature deduced-architecture : $(deducable-architectures) : propagated optional composite hidden ;
for a in $(deducable-architectures)
{
@@ -645,10 +645,10 @@ rule deduce-architecture ( properties *
{
local result ;
local filtered = [ toolset-properties $(properties) ] ;
- local names = arm mips1 power riscv s390x sparc x86 combined ;
+ local names = arm mips power riscv s390x sparc x86 combined ;
local idx = [ configure.find-builds "default architecture" : $(filtered)
: /boost/architecture//arm
- : /boost/architecture//mips1
+ : /boost/architecture//mips
: /boost/architecture//power
: /boost/architecture//riscv
: /boost/architecture//s390x
--- a/libs/atomic/build/atomic-arch-config.jam
+++ b/libs/atomic/build/atomic-arch-config.jam
@@ -27,9 +27,9 @@ rule deduce-architecture ( properties *
{
return arm ;
}
- else if [ configure.builds /boost/architecture//mips1 : $(properties) : "mips1" ]
+ else if [ configure.builds /boost/architecture//mips : $(properties) : "mips" ]
{
- return mips1 ;
+ return mips ;
}
else if [ configure.builds /boost/architecture//power : $(properties) : "power" ]
{