Skip to content

Conversation

@guitargeek
Copy link
Contributor

Some configuration code branches are unreachable, now that roottest has been merged into ROOT.

This also applies to the code that finds the Python interpreter and libraries, as Python is unconditionally found as a dependency already in the main SearchIntalledSoftware.cmake, even if pyroot=OFF.

Another example of redundant code was re-setting the compression default.

Specifying a separate project name and minimum CMake version is also not necessary anymore.

@guitargeek guitargeek self-assigned this Dec 3, 2025
@guitargeek guitargeek requested a review from bellenot as a code owner December 3, 2025 14:22
@guitargeek guitargeek added in:Build System clean build Ask CI to do non-incremental build on PR labels Dec 3, 2025
@guitargeek guitargeek force-pushed the roottest_fixme branch 2 times, most recently from febc0cf to 82fee6d Compare December 3, 2025 21:51
Copy link
Member

@pcanal pcanal left a comment

Choose a reason for hiding this comment

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

Thanks.

We should now rely on all ROOT libraries being linked implicitly via
other mechanisms, like `find_package(ROOT)`.
Some configuration code branches are unreachable, now that `roottest`
has been merged into ROOT.

This also applies to the code that finds the Python interpreter and
libraries, as Python is unconditionally found as a dependency already in
the main `SearchIntalledSoftware.cmake`, even if `pyroot=OFF`.

Another example of redundant code was re-setting the compression
default.

Specifying a separate project name and minimum CMake version is also not
necessary anymore.
@guitargeek guitargeek merged commit ba2e00f into root-project:master Dec 4, 2025
29 checks passed
@guitargeek guitargeek deleted the roottest_fixme branch December 4, 2025 08:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

clean build Ask CI to do non-incremental build on PR in:Build System

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants