Skip to content

Commit 8e2ded2

Browse files
Add more comments in code.
1 parent 9f1fea2 commit 8e2ded2

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

zorg/buildbot/builders/BOLTBuilder.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ def getBOLTCmakeBuildFactory(
103103
boltOld = "bin/llvm-bolt.old"
104104

105105
f.addSteps([
106-
# Cleanup binaries and markers from previous NFC-mode runs.
106+
# Cleanup old/new binaries and markers from previous NFC-mode runs.
107107
ShellCommand(
108108
name='clean-nfc-check',
109109
command=(
@@ -114,7 +114,9 @@ def getBOLTCmakeBuildFactory(
114114
haltOnFailure=False,
115115
flunkOnFailure=False,
116116
env=env),
117-
# Build the current and previous revision of llvm-bolt.
117+
# Build the current and previous revision of llvm-bolt as
118+
# llvm-bolt.new and llvm-bolt.old. Also, creates a marker to force
119+
# in-tree tests in case additional source code changes are detected.
118120
ShellCommand(
119121
name='nfc-check-setup',
120122
command=[
@@ -189,7 +191,7 @@ def getBOLTCmakeBuildFactory(
189191
# Run in-tree tests if the llvm-bolt binary has changed, or if
190192
# relevant source code changes are detected. Lower scheduling
191193
# priority with nice to reduce CPU contention in virtualized
192-
# environments.
194+
# environments. This step relinks the llvm-bolt binary if needed.
193195
LitTestCommand(
194196
name='nfc-check-bolt',
195197
command=("nice -n 5 ninja check-bolt"),

0 commit comments

Comments
 (0)