Skip to content

Conversation

@ferdymercury
Copy link
Collaborator

Fixes #10058

@github-actions
Copy link

github-actions bot commented Sep 3, 2025

Test Results

    20 files      20 suites   4d 2h 40m 39s ⏱️
 3 657 tests  3 579 ✅   2 💤  76 ❌
71 458 runs  70 529 ✅ 532 💤 397 ❌

For more details on these failures, see this check.

Results for commit a340b2d.

♻️ This comment has been updated with latest results.

@ferdymercury ferdymercury changed the title remove old remnants of CINT v3 remove old remnants of CINT Sep 3, 2025
@ferdymercury ferdymercury marked this pull request as ready for review September 3, 2025 11:29

//*-* This contains the map for those OpenGL package constant the ROOT uses
//*-* We need the second table since CINT doesn't understand the "define" pre-processor command
//*-* We need the second table since CLING doesn't understand the "define" pre-processor command
Copy link
Member

Choose a reason for hiding this comment

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

Humm .. that sounds like an inaccurate statement about Cling :)
i.e. it is likely the second table is no longer needed ... or maybe it is the first table that is not needed !?
The simplest things to do is:

Suggested change
//*-* We need the second table since CLING doesn't understand the "define" pre-processor command
//*-* We needed the second table since CING was not able to understand the "define" pre-processor command

//create a buffer where the object will be streamed
//We are forced to go via the I/O package (ie TBufferFile).
//Invoking TBufferFile via CINT will automatically load the I/O library
//Invoking TBufferFile via CLING will automatically load the I/O library
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
//Invoking TBufferFile via CLING will automatically load the I/O library
//Invoking TBufferFile via Cling will automatically load the I/O library

If I recall correctly, this is the intended casing for Cling.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

It's in capital letters everywhere in the headers
// CLING - the C++ LLVM-based InterpreterG :)

Should I change it everywhere? Or we just leave it hybrid as now?

Copy link
Member

Choose a reason for hiding this comment

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

On the other hand https://github.com/root-project/cling uses Cling.

@vgvassilev which casing should we use?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Current status in master:
CLING: 1877 occurrences
Cling: 4324 occurrences

Copy link
Member

Choose a reason for hiding this comment

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

I generally use Cling or cling.

# When the interactive ROOT starts, it can automatically load some frequently
# used includes. However, this introduces several overheads
# - A long list of CINT and system files will be kept open during the session
# - A long list of CLING and system files will be kept open during the session
Copy link
Member

Choose a reason for hiding this comment

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

This whole paragraph needs to be reviewed, in particular whole the runtime_module mode.

as correctly suggested by pcanal
as suggested by pcanal, rather than defining extra flags
This has been taken over from dpiparos work on root-project#16128
@ferdymercury
Copy link
Collaborator Author

@linev As seen in https://github.com/root-project/root/actions/runs/17456882206/job/49572264198?pr=19807 there are some errors in ~20 roottests.

See for example https://github.com/ferdymercury/root/blob/testcint3/roottest/root/tree/stl/runmixing.C#L6
Do you have a hint on what could I change to fix them? Thanks.

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.

CINT still around

3 participants