diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index d007d47..ae3bdae 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -27,6 +27,16 @@ jobs: run: echo ${{ matrix.compiler }} | awk '/^g/ { print "TOOLSET=gcc" } /^clang/ { print "TOOLSET=clang" }' >> $GITHUB_ENV - name: Install packages run: sudo apt-get update; sudo apt-get install -y g++-13 g++-14 clang-19 ${{matrix.mpi}} + - name: Fix noble mpich (LP 2072338) + if: matrix.mpi == 'mpich' + run: | + . /etc/os-release + if [ "$VERSION_ID" = "24.04" ]; then + 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 + 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 + else + echo "Ubuntu $VERSION_ID is not 24.04; skipping the noble-specific mpich workaround (LP 2072338)." + fi - name: Checkout main boost run: git clone -b develop --depth 1 https://github.com/boostorg/boost.git ../boost-root - name: Update tools/boostdep diff --git a/include/boost/graph/distributed/rmat_graph_generator.hpp b/include/boost/graph/distributed/rmat_graph_generator.hpp index dec8250..b2f8c34 100644 --- a/include/boost/graph/distributed/rmat_graph_generator.hpp +++ b/include/boost/graph/distributed/rmat_graph_generator.hpp @@ -16,6 +16,7 @@ #include #include #include +#include #include namespace boost { @@ -151,7 +152,7 @@ namespace boost { private: // Parameters - shared_ptr > gen; + std::shared_ptr > gen; // Internal data structures std::vector values;