File tree Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Expand file tree Collapse file tree 1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -94,7 +94,10 @@ def getBOLTCmakeBuildFactory(
94
94
env = env ),
95
95
ShellCommand (
96
96
name = 'check-bolt-different' ,
97
- command = 'rm -f .llvm-bolt.diff; cmp -s bin/llvm-bolt.old bin/llvm-bolt.new || touch .llvm-bolt.diff' ,
97
+ command = ('find -name timing.log -delete; '
98
+ 'rm -f .llvm-bolt.diff; '
99
+ 'cmp -s bin/llvm-bolt.old bin/llvm-bolt.new || '
100
+ 'touch .llvm-bolt.diff' ),
98
101
description = ('Check if llvm-bolt binaries are different and '
99
102
'skip the following nfc-check steps' ),
100
103
haltOnFailure = False ,
@@ -123,6 +126,16 @@ def getBOLTCmakeBuildFactory(
123
126
flunkOnFailure = False ,
124
127
doStepIf = FileExists ('build/.llvm-bolt.diff' ),
125
128
env = env ),
129
+ LitTestCommand (
130
+ name = 'nfc-stat-check' ,
131
+ command = (f"../{ f .monorepo_dir } /bolt/utils/nfc-stat-parser.py "
132
+ "`find -name timing.log`" ),
133
+ description = "Check BOLT processing time and max RSS swings" ,
134
+ warnOnFailure = True ,
135
+ haltOnFailure = False ,
136
+ flunkOnFailure = False ,
137
+ doStepIf = FileExists ('build/.llvm-bolt.diff' ),
138
+ env = env ),
126
139
])
127
140
128
141
return f
You can’t perform that action at this time.
0 commit comments