Skip to content

Move get_log_directory to improve compilation time - #3214

Merged
ahcorde merged 1 commit into
rollingfrom
ahcorde/rolling/move_get_log_directory
Jul 31, 2026
Merged

Move get_log_directory to improve compilation time#3214
ahcorde merged 1 commit into
rollingfrom
ahcorde/rolling/move_get_log_directory

Conversation

@ahcorde

@ahcorde ahcorde commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Description

Move get_log_directory to another cpp file, then we can avoid to include <filesystem> with the rlcpp/logger.cpp. I can't see where this function is used in the core packages.

reduce almost 25 seconds

Did you use Generative AI?

Claude Opus 4.7

Signed-off-by: Alejandro Hernandez Cordero <ahcorde@gmail.com>
@ahcorde
ahcorde requested a review from asymingt July 30, 2026 07:29
@ahcorde ahcorde self-assigned this Jul 30, 2026
@mergify

mergify Bot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

@ahcorde

ahcorde commented Jul 30, 2026

Copy link
Copy Markdown
Contributor Author

Pulls: #3214
Gist: https://gist.githubusercontent.com/ahcorde/c182e979c944f985c2847a9ce056312f/raw/e3aca82b3a522235ffc4d11401e7258202ab1289/ros2.repos
BUILD args: --packages-above-and-dependencies rclcpp
TEST args: --packages-above rclcpp
ROS Distro: rolling
Job: ci_launcher
ci_launcher ran: https://ci.ros2.org/job/ci_launcher/20017

  • Linux Build Status
  • Linux-aarch64 Build Status
  • Linux-rhel Build Status
  • Windows Build Status

@fujitatomoya fujitatomoya left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm with green CI. (note thta this is a source-breaking change, which is fine for rolling.)

@ahcorde
ahcorde merged commit 1ee87c5 into rolling Jul 31, 2026
3 checks passed
@ahcorde
ahcorde deleted the ahcorde/rolling/move_get_log_directory branch July 31, 2026 06:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants