Skip to content

Commit f44870b

Browse files
committed
small adjustment for ROOT env initialization
1 parent aa86752 commit f44870b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

MC/bin/o2_dpg_workflow_runner.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1031,6 +1031,9 @@ def speedup_ROOT_Init():
10311031
"""initialize some env variables that speed up ROOT init
10321032
and prevent ROOT from spawning many short-lived child
10331033
processes"""
1034+
if os.environ.get('ROOT_LDSYSPATH')!=None and os.environ.get('ROOT_CPPSYSINCL')!=None:
1035+
# do nothing if already defined
1036+
return
10341037

10351038
# a) the PATH for system libraries
10361039
# search taken from ROOT TUnixSystem

0 commit comments

Comments
 (0)