Skip to content

[MrBot] Add build_reals option to gate reals libraries#343

Open
dcristoloveanu wants to merge 2 commits intomasterfrom
feature/build-reals-option
Open

[MrBot] Add build_reals option to gate reals libraries#343
dcristoloveanu wants to merge 2 commits intomasterfrom
feature/build-reals-option

Conversation

@dcristoloveanu
Copy link
Copy Markdown
Member

Summary

Add build_reals CMake option to gate reals libraries behind a flag.

Motivation

The build_reals option (default ON) allows disabling the building of reals libraries when they are not needed — such as in official builds, integration test builds, and performance test builds. Reals are only consumed by unit tests, so excluding them from non-unit-test configurations reduces build times.

This is part of a broader effort to reduce the Azure-MessagingStore official simulation build time (currently ~86 min).

Changes

  • Add build_reals option definition (default ON) alongside other test options in tests/CMakeLists.txt behind if(\${build_reals})

Add build_reals CMake option to allow disabling the building of reals
libraries when they are not needed, such as in official builds, integration
test builds, and performance test builds. This reduces build times by
excluding test-only libraries from non-unit-test configurations.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@dcristoloveanu dcristoloveanu changed the base branch from main to master March 6, 2026 21:53
@dcristoloveanu
Copy link
Copy Markdown
Member Author

/azp run Azure-C-Build-Tools-Gate

@dcristoloveanu dcristoloveanu marked this pull request as ready for review March 6, 2026 21:56
@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

Copy link
Copy Markdown
Collaborator

@anporumb anporumb left a comment

Choose a reason for hiding this comment

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

:shipit:

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.

2 participants