File tree Expand file tree Collapse file tree
include/boost/graph/distributed Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2727 run : echo ${{ matrix.compiler }} | awk '/^g/ { print "TOOLSET=gcc" } /^clang/ { print "TOOLSET=clang" }' >> $GITHUB_ENV
2828 - name : Install packages
2929 run : sudo apt-get update; sudo apt-get install -y g++-13 g++-14 clang-19 ${{matrix.mpi}}
30+ - name : Fix noble mpich (LP 2072338)
31+ if : matrix.mpi == 'mpich'
32+ run : |
33+ . /etc/os-release
34+ if [ "$VERSION_ID" = "24.04" ]; then
35+ wget -q https://launchpad.net/ubuntu/+source/mpich/4.2.0-5.1/+build/28285882/+files/libmpich12_4.2.0-5.1_amd64.deb https://launchpad.net/ubuntu/+source/mpich/4.2.0-5.1/+build/28285882/+files/libmpich-dev_4.2.0-5.1_amd64.deb https://launchpad.net/ubuntu/+source/mpich/4.2.0-5.1/+build/28285882/+files/mpich_4.2.0-5.1_amd64.deb
36+ sudo dpkg -i libmpich12_4.2.0-5.1_amd64.deb libmpich-dev_4.2.0-5.1_amd64.deb mpich_4.2.0-5.1_amd64.deb
37+ else
38+ echo "Ubuntu $VERSION_ID is not 24.04; skipping the noble-specific mpich workaround (LP 2072338)."
39+ fi
3040 - name : Checkout main boost
3141 run : git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root
3242 - name : Update tools/boostdep
Original file line number Diff line number Diff line change 1616#include < boost/assert.hpp>
1717#include < boost/graph/parallel/algorithm.hpp>
1818#include < boost/graph/parallel/process_group.hpp>
19+ #include < memory>
1920#include < math.h>
2021
2122namespace boost {
@@ -151,7 +152,7 @@ namespace boost {
151152 private:
152153
153154 // Parameters
154- shared_ptr<uniform_01<RandomGenerator> > gen;
155+ std:: shared_ptr<uniform_01<RandomGenerator> > gen;
155156
156157 // Internal data structures
157158 std::vector<value_type> values;
You can’t perform that action at this time.
0 commit comments