Skip to content

Commit 26e7b9f

Browse files
python formatter and nits
1 parent 625f9ee commit 26e7b9f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

bolt/utils/nfc-check-setup.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ def main():
9292
source_dir = None
9393
# find the repo directory
9494
try:
95-
CMCacheFilename=f"{args.build_dir}/CMakeCache.txt"
95+
CMCacheFilename = f"{args.build_dir}/CMakeCache.txt"
9696
with open(CMCacheFilename) as f:
9797
for line in f:
9898
m = re.match(r"LLVM_SOURCE_DIR:STATIC=(.*)", line)
@@ -104,6 +104,7 @@ def main():
104104
sys.exit(e)
105105

106106
# build the current commit
107+
print ("NFC-Setup: Building current revision..")
107108
subprocess.run(
108109
shlex.split("cmake --build . --target llvm-bolt"), cwd=args.build_dir
109110
)
@@ -143,6 +144,7 @@ def main():
143144
new_ref = get_git_ref_or_rev(source_dir)
144145

145146
# build the previous commit
147+
print ("NFC-Setup: Building previous revision..")
146148
subprocess.run(
147149
shlex.split("cmake --build . --target llvm-bolt"), cwd=args.build_dir
148150
)

0 commit comments

Comments
 (0)