boostorg / boostorg/fiber

Build script relies on third party to import Context before Fiber

Open
#305 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
510
Forks
123
PR merge metrics
No merged PRs in 30d

Description

Fiber build script uses `` feature https://github.com/boostorg/fiber/blob/2cb72f5dcefdeffbb36636234e6ccb36282f8ae3/build/Jamfile.v2#L23-L26 which is defined in Context library build script. It works currently by pure luck that `boost-cpp.jam` (main Boost build script) was unintentionally consistently importing Context before Fiber.

Possible solutions:
1. If `-fsplit-stack -DBOOST_USE_SEGMENTED_STACKS` is not needed by Fiber itself -- we can just delete these lines and issue will be resolved.
2. If `-fsplit-stack -DBOOST_USE_SEGMENTED_STACKS` is needed by Fiber -- we can put there in Context usage requirements and Fiber will get them automatically by using `/boost/context//boost_context`.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.