We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb2d40f commit 51fcc50Copy full SHA for 51fcc50
1 file changed
MC/bin/o2_dpg_workflow_runner.py
@@ -13,6 +13,7 @@
13
import socket
14
import sys
15
import traceback
16
+import platform
17
try:
18
from graphviz import Digraph
19
havegraphviz=True
@@ -1031,6 +1032,11 @@ def speedup_ROOT_Init():
1031
1032
"""initialize some env variables that speed up ROOT init
1033
and prevent ROOT from spawning many short-lived child
1034
processes"""
1035
+
1036
+ # only do it on Linux
1037
+ if platform.system() != 'Linux':
1038
+ return
1039
1040
if os.environ.get('ROOT_LDSYSPATH')!=None and os.environ.get('ROOT_CPPSYSINCL')!=None:
1041
# do nothing if already defined
1042
return
0 commit comments