Skip to content

[ziplib] make it private and isolate it from ROOT - #23270

Draft
ferdymercury wants to merge 3 commits into
root-project:masterfrom
ferdymercury:bzipnope
Draft

ferdymercury wants to merge 3 commits into
root-project:masterfrom
ferdymercury:bzipnope

Conversation

@ferdymercury

@ferdymercury ferdymercury commented Sep 5, 2026

Copy link
Copy Markdown
Collaborator

Inspired by strategies within #23261.

Would also need first #23271

In a future step one could also move the TLS header.

The good thing about making it private is that later then one can replace this with whatever else more modern library if needed.

@ferdymercury ferdymercury added the skip ci Skip the full builds on the actions runners label Sep 5, 2026
@ferdymercury ferdymercury changed the title [skip-ci][zlib] make it private and isolate it from ROOT [zlib] make it private and isolate it from ROOT Sep 5, 2026
@github-actions

github-actions Bot commented Sep 5, 2026

Copy link
Copy Markdown

Test Results

0 tests   0 ✅  0s ⏱️
0 suites  0 💤
0 files    0 ❌

Results for commit c602830.

♻️ This comment has been updated with latest results.

@jblomer jblomer self-assigned this Sep 6, 2026
@ferdymercury
ferdymercury force-pushed the bzipnope branch 4 times, most recently from 7e46954 to 570c834 Compare September 7, 2026 18:01
@ferdymercury ferdymercury added skip code analysis Skip the code analysis CI steps for this PR, including verifying clang-formatting and running Ruff. and removed skip ci Skip the full builds on the actions runners labels Sep 7, 2026
@ferdymercury ferdymercury changed the title [zlib] make it private and isolate it from ROOT [ziplib] make it private and isolate it from ROOT Sep 7, 2026
@ferdymercury
ferdymercury marked this pull request as ready for review September 7, 2026 18:12
Comment thread builtins/zip/unlikely.h
@@ -0,0 +1,25 @@
#ifndef R__unlikely_h

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

This header file/macros does not belong here per se. It is not specific to the zip library and is already in RConfig.hxx (so now this is duplicated ....). Is there a better solution?

@ferdymercury ferdymercury Sep 8, 2026

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I could not think a much better one, or not if we want to unbundle ziplib from core (thinking from a Debian packager perspective of independence / self-containment.)

@ferdymercury
ferdymercury force-pushed the bzipnope branch 2 times, most recently from 7d8b31a to 8de2fa9 Compare September 10, 2026 15:39
@ferdymercury
ferdymercury marked this pull request as draft September 10, 2026 17:33
@ferdymercury ferdymercury added the skip ci Skip the full builds on the actions runners label Sep 11, 2026
so that it is a real builtin.
TODO: potentially move TLS header to builtins
otherwise zlib.h not found
@ferdymercury ferdymercury added this to the 6.46/7.00 milestone Sep 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip ci Skip the full builds on the actions runners skip code analysis Skip the code analysis CI steps for this PR, including verifying clang-formatting and running Ruff.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants