Skip to content

Commit 0c1b1ba

Browse files
committed
fix option
1 parent dbd8d2a commit 0c1b1ba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

scripts/setup-llvm.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,12 +51,12 @@ def pick_artifact(
5151
continue
5252
if entry.get("build_type") != build_type:
5353
continue
54-
if bool(entry.get("is_lto")) != is_lto:
54+
if bool(entry.get("lto")) != is_lto:
5555
continue
5656
return entry
5757
raise RuntimeError(
5858
f"No matching LLVM artifact in manifest for version={base_version}, platform={platform}, "
59-
f"build_type={build_type}, is_lto={is_lto}"
59+
f"build_type={build_type}, lto={is_lto}"
6060
)
6161

6262

0 commit comments

Comments
 (0)