@@ -19,14 +19,24 @@ jobs:
1919 cd ../boost-root
2020 cp -r $GITHUB_WORKSPACE/* libs/graph
2121 git submodule update --init tools/boostdep
22+ # depinst pulls graph's deps; also ensure boostdep's own dep
23+ # (Boost.Filesystem) is present since boostdep links against it.
2224 python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" graph
23- c++ -std=c++14 -O2 tools/boostdep/src/boostdep.cpp -o boostdep
25+ python tools/boostdep/depinst/depinst.py --git_args "--jobs 3" filesystem
26+ ./bootstrap.sh
27+ ./b2 headers
28+ # boostdep #includes <boost/filesystem.hpp> and links the compiled
29+ # library, so build it with b2 (a bare c++ compile can't resolve that).
30+ ./b2 tools/boostdep/build
2431 - name : Boostdep dependency report
2532 working-directory : ../boost-root
2633 run : |
34+ BOOSTDEP=$(find "$PWD" -type f -name boostdep -perm -u+x 2>/dev/null | grep -v '/src/' | head -1)
35+ if [ -z "$BOOSTDEP" ]; then echo "boostdep executable not found after build" >&2; exit 1; fi
36+ echo "using boostdep: $BOOSTDEP"
2737 echo "===DEP-BRIEF-START==="
28- ./boostdep --boost-root . --track-sources --no-track-tests --brief graph
38+ "$BOOSTDEP" --boost-root . --track-sources --no-track-tests --brief graph
2939 echo "===DEP-BRIEF-END==="
3040 echo "===DEP-PRIMARY-START==="
31- ./boostdep --boost-root . --track-sources --no-track-tests graph
41+ "$BOOSTDEP" --boost-root . --track-sources --no-track-tests graph
3242 echo "===DEP-PRIMARY-END==="
0 commit comments