Skip to content

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

Open
dcristoloveanu wants to merge 1 commit intomasterfrom
feature/build-reals-option
Open

[MrBot] Add build_reals option to gate reals libraries#584
dcristoloveanu wants to merge 1 commit intomasterfrom
feature/build-reals-option

Conversation

@dcristoloveanu
Copy link
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

  • Gate add_subdirectory(reals) 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 marked this pull request as ready for review March 6, 2026 21:58
@dcristoloveanu
Copy link
Member Author

/azp run

@azure-pipelines
Copy link

Azure Pipelines successfully started running 1 pipeline(s).

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.

1 participant