Skip to content

[ci] Use system zlib on all platforms and adapt tests and references to that#21654

Merged
dpiparo merged 3 commits intoroot-project:masterfrom
dpiparo:adapt_to_zlibng
Mar 23, 2026
Merged

[ci] Use system zlib on all platforms and adapt tests and references to that#21654
dpiparo merged 3 commits intoroot-project:masterfrom
dpiparo:adapt_to_zlibng

Conversation

@dpiparo
Copy link
Member

@dpiparo dpiparo commented Mar 21, 2026

No description provided.

@dpiparo dpiparo self-assigned this Mar 21, 2026
@github-actions
Copy link

github-actions bot commented Mar 21, 2026

Test Results

    22 files      22 suites   3d 6h 14m 3s ⏱️
 3 835 tests  3 834 ✅ 1 💤 0 ❌
75 674 runs  75 665 ✅ 9 💤 0 ❌

Results for commit 30b9a2b.

♻️ This comment has been updated with latest results.

@dpiparo dpiparo force-pushed the adapt_to_zlibng branch 7 times, most recently from dadccc6 to db6d5c6 Compare March 22, 2026 21:51
@dpiparo dpiparo marked this pull request as ready for review March 23, 2026 07:55
@dpiparo dpiparo requested review from hageboeck and removed request for martamaja10 March 23, 2026 07:55
@dpiparo dpiparo force-pushed the adapt_to_zlibng branch 2 times, most recently from fa01308 to 8797ea5 Compare March 23, 2026 11:44
list(APPEND ROOT_BUILTINS ZLIB)
add_subdirectory(builtins/zlib)
get_target_property(ZLIB_INCLUDE_DIR ZLIB::ZLIB INTERFACE_INCLUDE_DIRECTORIES)
get_target_property(ZLIB_LIBRARY_LOCATION ZLIB::ZLIB IMPORTED_LOCATION)
Copy link
Member

Choose a reason for hiding this comment

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

Currently, this seems to be unused.

if(builtin_zlib)
list(APPEND ROOT_BUILTINS ZLIB)
add_subdirectory(builtins/zlib)
get_target_property(ZLIB_INCLUDE_DIR ZLIB::ZLIB INTERFACE_INCLUDE_DIRECTORIES)
Copy link
Member

Choose a reason for hiding this comment

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

To emulate what the find module would have created, one should spell it as ZLIB_INCLUDE_DIRS

Copy link
Member

Choose a reason for hiding this comment

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

This looks to have been added by accident; as for the other .orig .rej files in this folder.

test/stress.cxx Outdated
Comment on lines +335 to +339
// #ifdef R__HAS_ZLIB_NG
// auto comprSettings = CompressionSettings(ROOT::RCompressionSetting::EAlgorithm::k, 2);
// #else
// auto comprSettings = ROOT::RCompressionSetting::EDefaults::kUseCompiledDefault;
// #endif
Copy link
Member

Choose a reason for hiding this comment

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

The comments can presumably be removed now.

dpiparo added 3 commits March 23, 2026 17:52
1. with the R__HAS_ZLIB_NG preprocessor variable, that replaces
R__HAS_CLOUDFLARE_ZLIB.
2. with the CMake variable ZLIB_NG that replaces ZLIB_CF
@dpiparo dpiparo merged commit f6c6827 into root-project:master Mar 23, 2026
29 of 30 checks passed
@dpiparo dpiparo deleted the adapt_to_zlibng branch March 23, 2026 19:33
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