-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(task): show boost download progress during compilation (fixes #56). #57
base: main
Are you sure you want to change the base?
Conversation
WalkthroughThe pull request adds two commands in the Changes
Sequence Diagram(s)sequenceDiagram
participant CMake as "CMake Process"
participant Lists as "CMakeLists.txt"
participant Boost as "Boost Download"
CMake->>Lists: Parse file
Lists->>CMake: Execute `set(FETCHCONTENT_QUIET OFF)`
CMake->>Boost: Call `FetchContent_MakeAvailable(Boost)`
Boost-->>CMake: Provide download feedback
CMake->>Lists: Execute `set(FETCHCONTENT_QUIET ON)`
Suggested reviewers
Tip 🌐 Web search-backed reviews and chat
📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
⏰ Context from checks skipped due to timeout of 90000ms (2)
🔇 Additional comments (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
@@ -72,7 +72,10 @@ boost_${CLP_FFI_JS_BOOST_ARCHIVE_VERSION_PART}.tar.gz" | |||
URL_MD5 "53aeccc3167909ee770e34469f8dd592" | |||
) | |||
message(STATUS "Fetching Boost.") | |||
# Temporarily enable verbose output for boost download progress | |||
set(FETCHCONTENT_QUIET OFF) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since someone who's having download issues would need this for any library we download using FetchContent
, I feel like we should just disable FETCHCONTENT_QUIET
entirely rather than only for Boost.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Shall we place the line somewhere near Line 5 then?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, perhaps just after include(FetchContent)
.
Description
Add
set(FETCHCONTENT_QUIET OFF)
when fetching boost, which shows download progress.set(FETCHCONTENT_QUIET ON)
after download is finished so that no more verbose logs are outputed to the console.Checklist
breaking change.
Validation performed
task clean
.task
, notice the new boost download progress logs are printed:Summary by CodeRabbit