# G++5 ABI + TMVA - which branch to compile?

**URL:** <https://root-forum.cern.ch/t/g-5-abi-tmva-which-branch-to-compile/21871>\
**Category:** TMVA\
**Created:** [September 14, 2016, 12:34pm UTC](https://root-forum.cern.ch/t/g-5-abi-tmva-which-branch-to-compile/21871 "2016-09-14T12:34:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![behrenhoff](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/behrenhoff/32/12285_2.png) [@behrenhoff](https://root-forum.cern.ch/u/behrenhoff)\
**Post date:** [September 14, 2016, 12:34pm UTC](https://root-forum.cern.ch/t/g-5-abi-tmva-which-branch-to-compile/21871/1 "2016-09-14T12:34:11Z")

</div>

First of all: I like bleeding edge versions 😃

According to [sft.its.cern.ch/jira/browse/ROOT-7947](https://sft.its.cern.ch/jira/browse/ROOT-7947) “The new llvm with GCC5 ABI support has arrived in the master” -\> thus I thought I could try the new root version on an operating system with gcc5. Compiling git master seemed to work so far.

However, I ran into a problem with TMVA: the TMVA::Factory does not have AddVariable/AddTarget/AddSpectator functions any more, seems to work via a DataSet(?) - I couldn’t find any documentation on this. As this change is already in master for a longer time (introduced with commit f009d8e, Nov 2015) and there have been other releases like 6.06.\* after that date that don’t contain these changes, I am asking which branch I need to compile.

master -\> TMVA seems to use a new mechanism to add variables  
v6-06-00-patches -\> GCC ABI issues

So can I get both?  
Q: is there updated documentation for the TMVA in master? Is the new interface stable and ready for use?  
Q: is there some v6-\* branch which contains an updated llvm but not the interface breaking TMVA updates?

---

<div class="post-metadata">

**Author:** ![Danilo](https://root-forum.cern.ch/user_avatar/root-forum.cern.ch/danilo/32/34528_2.png) [@Danilo](https://root-forum.cern.ch/u/Danilo)\
**Post date:** [September 14, 2016, 8:03pm UTC](https://root-forum.cern.ch/t/g-5-abi-tmva-which-branch-to-compile/21871/2 "2016-09-14T20:03:21Z")

</div>

Hi,

you can find the tutorials of TMVA here: [root.cern.ch/doc/master/group\_\_ … \_tmva.html](https://root.cern.ch/doc/master/group __tutorial__ tmva.html) . You can certainly start from there to see the new, stable interface in action.  
Since you like bleeding edge versions, you can try the one of yesterday: commit e7cec4 🙂  
For what concerns release planning, we are preparing to release ROOT 6.08 in the next few weeks.

Cheers,  
Danilo

PS  
To complete your correct observations:  
o The refactoring of TMVA entered the code base from 6.07 development releases onwards: 6.06 releases have the old interface.  
o The new ABI support entered the release after the 6.06 release too.
