[ROOT-8605] Interpreter - Incorporate LLVM/Clang patches upstream Created: 23/Feb/17  Updated: 11/Apr/18

Status: Open
Project: ROOT
Component/s: Cling
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: High
Reporter: John Harvey (Inactive) Assignee: Vasil Georgiev Vasilev
Resolution: Unresolved Votes: 2
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified



Needed such that ROOT can use external installation of it
collaborate with LLDB team to find common points of interest

Comment by Vasil Georgiev Vasilev [ 13/Mar/17 ]

Our patches in LLVM were moved in the main LLVM repository.

Comment by Benda Xu [ 20/Mar/18 ]

The deadline is due, any progress?

Comment by Axel Naumann [ 20/Mar/18 ]

That due date has no meaning I'll let Vassil comment on the actual question.

Comment by Benda Xu [ 11/Apr/18 ]

Hi Vassil,

Any progress on this issue? It is very painful to wait all the llvm build repeatly while doing development on ROOT.

Comment by Benda Xu [ 11/Apr/18 ]

FYI, Gentoo downstream discussion is at https://bugs.gentoo.org/564302

Comment by Guilherme Amadio [ 11/Apr/18 ]

Hi Benda,

The current master can use an external LLVM, and I will do so when I package ROOT 6.14 for Gentoo (release coming in May).
As for clang patches, there are about 80 of them according to Vassil, and they will be harder to upstream, as they are specific for making the interpreter work, and not necessarily things that upstream cares about.


Comment by Benda Xu [ 11/Apr/18 ]

Hi Amadio,

Thank you for the information! Good to know a new version without LLVM bundle is on the way.


Comment by Vasil Georgiev Vasilev [ 11/Apr/18 ]

Making ROOT work with vanilla clang is non-trivial.

Thanks to https://github.com/root-project/root/pull/1798 you can now build llvm and clang outside of the root source tree. This should relieve the pain of cmake constantly rebuilding llvm/clang when doing ROOT development.

Generated at Mon May 25 22:03:17 CEST 2020 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.