Boost logo

Boost :

From: Peter Dimov (pdimov_at_[hidden])
Date: 2024-07-11 19:12:38


Marshall Clow wrote:
> Available at: https://archives.boost.io/beta/1.86.0.beta1/source/
>
> The SHA256 checksums are as follows:
>
> 90be7ebbaf1c81a849791eb0f49d05a9ec7dbd0ec98b974dfe31d44d811e82
> 98 boost_1_86_0_b1_rc1.7z
> 543ca3b743250a8b24b25c71209cf911c35613910e78a320835c21c053212
> ef2 boost_1_86_0_b1_rc1.tar.gz
> 1bf831ed717fa3e01db6c1f104b95f5a6a8d098a4cc9e61fa6eb81969c78645
> f boost_1_86_0_b1_rc1.tar.bz2
> f739f8761bee6006c60a39fd21ed80b7b0a681c9ed448d1ae1bb28d8d8a696
> 59 boost_1_86_0_b1_rc1.zip
>
>
> As always, the release managers would appreciate it if you download the
> candidate of your choice and give building it a try. Please report both success
> and failure, and anything else that is noteworthy.

Looking at

https://github.com/boostorg/boost/actions/workflows/ci.yml

I see random CMake failures caused by

"""
CMake Error at libs/numeric/odeint/CMakeLists.txt:39 (target_link_libraries):
  The link interface of target "boost_numeric_odeint" contains:

    Boost::mpi

  but the target was not found. Possible reasons include:

    * There is a typo in the target name.
    * A find_package call is missing for an IMPORTED target.
    * An ALIAS target is missing.
"""

Apparently, CMake 3.30 is less forgiving about ODEint linking to Boost::mpi
when that target doesn't exist.

(The reason Boost::mpi doesn't exist is because MPI libraries are only
enabled when BOOST_ENABLE_MPI is ON, and it's OFF by default in
these CI runs.)

So the CMakeLists.txt file for ODEint needs to be fixed to only link
to Boost::mpi when BOOST_ENABLE_MPI is ON.


Boost list run by bdawes at acm.org, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk