Skip to content

Commit

Permalink
Merge pull request #8984 from cms-sw/genreflex-rootcling
Browse files Browse the repository at this point in the history
ROOT: Use rootcling instead of genreflex for root dict generation
  • Loading branch information
smuzaffar authored Feb 6, 2024
2 parents 053de1c + 515ac91 commit 6b0f130
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 8 deletions.
2 changes: 1 addition & 1 deletion scram-project-build.file
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ BuildRequires: dwz
%endif

%if "%{?configtag:set}" != "set"
%define configtag V09-02-03
%define configtag V09-02-04
%endif

%if "%{?buildarch:set}" != "set"
Expand Down
5 changes: 0 additions & 5 deletions scram-tools.file/tools/root/env.sh
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
ROOT_GX11_LIB=GX11
[ $(uname -s) = "Darwin" ] && ROOT_GX11_LIB=GCocoa
export ROOT_GX11_LIB

export GENREFLEX_FAILES_ON_WARNS=--fail_on_warnings
if [ "$ROOT_CXXMODULES" = "1" ] ; then
export GENREFLEX_FAILES_ON_WARNS=-failOnWarnings
fi
2 changes: 1 addition & 1 deletion scram-tools.file/tools/root/root.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<tool name="root" version="@TOOL_VERSION@">
<info url="http://root.cern.ch/root/"/>
<use name="rootphysics"/>
<flags GENREFLEX_FAILES_ON_WARNS="@GENREFLEX_FAILES_ON_WARNS@"/>
<flags GENREFLEX_FAILES_ON_WARNS="-failOnWarnings"/>
<flags CXXMODULES="@ROOT_CXXMODULES@"/>
</tool>
2 changes: 1 addition & 1 deletion scram-tools.file/tools/root/rootrflx.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<flags GENREFLEX_GCCXMLOPT="-m64"/>
</ifarchitecture>
<flags GENREFLEX_CPPFLAGS="-DCMS_DICT_IMPL -D_REENTRANT -DGNUSOURCE -D__STRICT_ANSI__"/>
<runtime name="GENREFLEX" value="$ROOTRFLX_BASE/bin/genreflex"/>
<runtime name="GENREFLEX" value="$ROOTRFLX_BASE/bin/rootcling"/>
<flags OVERRIDABLE_FLAGS="GENREFLEX_CPPFLAGS"/>
<use name="root_interface"/>
<use name="rootcling"/>
Expand Down

0 comments on commit 6b0f130

Please sign in to comment.