Skip to content

[boost] update to 1.91.0#51397

Merged
BillyONeal merged 18 commits intomicrosoft:masterfrom
miyanyan:boost-1.91.0
May 8, 2026
Merged

[boost] update to 1.91.0#51397
BillyONeal merged 18 commits intomicrosoft:masterfrom
miyanyan:boost-1.91.0

Conversation

@miyanyan
Copy link
Copy Markdown
Contributor

@miyanyan miyanyan commented Apr 27, 2026

  • Changes comply with the maintainer guide.
  • SHA512s are updated for each updated download.
  • The "supports" clause reflects platforms that may be fixed by this new version, or no changes were necessary.
  • Any fixed CI baseline and CI feature baseline entries are removed from that file, or no entries needed to be changed.
  • All patch files in the port are applied and succeed.
  • The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
  • Exactly one version is added in each modified versions file.

Fixes #51326

https://www.boost.org/releases/1.91.0/

@BillyONeal BillyONeal marked this pull request as draft April 27, 2026 22:33
@BillyONeal
Copy link
Copy Markdown
Member

Looks like all platforms are failing due to a downstream break in hazelcast-cpp-client and/or a few bext- ports.

@miyanyan
Copy link
Copy Markdown
Contributor Author

still 11 ports depend on static_assert, contract, date-time, geometry, graph, icl, program-options, python, serialization, spirit, variant, wave
Mark boost[core], boost-graph-parallel, boost-parameter-python,
boost-property-map-parallel, boost-python as passing on arm64-linux
(was cascade). Mark boost-math[legacy] as expected failure on
x64-android.
@miyanyan
Copy link
Copy Markdown
Contributor Author

x64-android related errors: boostorg/math#1390

@mborland
Copy link
Copy Markdown

Boost.Math #1390 has been merged.

@miyanyan
Copy link
Copy Markdown
Contributor Author

miyanyan commented May 4, 2026

the x84-windows errors:

vxl

Installing 346/358 vxl[core,core-imaging]:x86-windows@3.5.0...
vxl[core,core-imaging]:x86-windows@3.5.0 package ABI: e30ab957545e9034b6e849bec8996faa7a2316dbbfaba81ca91345dd14b68120
error: The following files are already installed in D:/installed/x86-windows and are in conflict with vxl:x86-windows
Installed by libvpl:x86-windows: lib/vpl.lib
Elapsed time to handle vxl:x86-windows: 305 ms
Installing 347/358 itk[core,vtk]:x86-windows@5.4.4#2...
itk[core,vtk]:x86-windows@5.4.4#2 package ABI: 23c29dbc2ecd3cbb40567bbcd052e21576da644343dec34479cf3f6cc38f974a
Building itk[core,vtk]:x86-windows@5.4.4#2...
error: building itk:x86-windows failed with: CASCADED_DUE_TO_MISSING_DEPENDENCIES
  due to the following missing dependencies:
    vxl[core]:x86-windows

sleef

D:\b\sleef\src\3.9.0-e6a1479073.clean\src\quad\sleefsimdqp.c(2179) : fatal error C1001: Internal compiler error.
(compiler file 'D:\a\_work\1\s\src\vctools\Compiler\Utc\src\p2\main.cpp', line 258)
 To work around this problem, try simplifying or changing the program near the locations listed above.
If possible please provide a repro here: https://developercommunity.visualstudio.com 
Please choose the Technical Support command on the Visual C++ 
 Help menu, or open the Technical Support help file for more information
  cl!RaiseException()+0x8a
  cl!RaiseException()+0x8a
  cl!InvokeCompilerPass()+0x243
  cl!CloseTypeServerPDB()+0x119ee9

@miyanyan
Copy link
Copy Markdown
Contributor Author

miyanyan commented May 5, 2026

#51516

@miyanyan miyanyan marked this pull request as ready for review May 5, 2026 14:11
Add scripts\boost\patch-stubs\math.txt and scripts\boost\pre-source-stubs\math.cmake to avoid meaningful changes to boost-math.
Rerun generate-ports.ps1 , which removed boost-static-assert from dependencies of most ports.
Actually deindex boost-static-assert.
Update dependent ports autodock-vina, cctag, coin, and pfultz2-linq to depend on boost-config instead.
@BillyONeal
Copy link
Copy Markdown
Member

Unfortunately when I rerun generate-ports.ps1 that results in edits here. Also, it looks like the generate-ports scripts does not really handle the removal of boost-static-assert correctly on its own, so we should deindex it manually.

I fixed both of those in miyanyan#2 . Unfortunately it looks like our "check for common mistakes" check tries to stop mutating versions in PRs against PRs like this...

Copy link
Copy Markdown
Member

@BillyONeal BillyONeal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(See above comment and miyanyan#2 )

@BillyONeal BillyONeal marked this pull request as draft May 5, 2026 21:27
@miyanyan
Copy link
Copy Markdown
Contributor Author

miyanyan commented May 8, 2026

@BillyONeal totally remove static_assert will cause cmake config errors, as 1.91.0 release said, static_assert is still exists

[StaticAssert](https://www.boost.org/libs/static_assert/) has been merged into [Config](https://www.boost.org/libs/config/). 
This includes code, tests and documentation. For backward compatibility git submodule, CMake and b2 targets of
StaticAssert are still available; the targets simply introduce a dependency on Config. Eventually, the submodule and targets
will be removed. Users are recommended to update their dependencies on StaticAssert to replace it with Config. No C++
code modifications are necessary. Most Boost libraries have been updated accordingly.

I added static_assert to the dependency list for these ports in generate-ports.ps1 so their generated vcpkg.json includes boost-static-assert:
contract, date_time, geometry, graph, icl, program_options, python, serialization, spirit, variant, wave

And I rerun the generate-ports.ps1 that results in no edits here.

@BillyONeal BillyONeal dismissed their stale review May 8, 2026 07:07

My PR was merged

@BillyONeal
Copy link
Copy Markdown
Member

I thought Boost.Config would provide that CMake target based on the "merged into Config" statement in the release announcement. If it still exists as a separate package I apologize for the confusion.

@miyanyan miyanyan marked this pull request as ready for review May 8, 2026 14:29
Copy link
Copy Markdown
Member

@BillyONeal BillyONeal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@BillyONeal BillyONeal merged commit 8128322 into microsoft:master May 8, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Boost] update to 1.91.0

3 participants