Skip to content

Commit 6ffc746

Browse files
authored
Merge pull request #75684 from eeckstein/fix-run-smoke-bench
fix the swift library code size comparison in the run_smoke_bench script
2 parents 34588ac + 2960f47 commit 6ffc746

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

benchmark/scripts/run_smoke_bench

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,8 @@ def test_performance(
275275

276276
def report_code_size(opt_level, old_dir, new_dir, architecture, platform, output_file):
277277
if opt_level == "swiftlibs":
278-
files = glob.glob(os.path.join(old_dir, "lib", "swift", platform, "*.dylib"))
278+
p = os.path.join(old_dir, "lib", "swift", platform, architecture, "*.dylib")
279+
files = glob.glob(p)
279280
else:
280281
files = glob.glob(
281282
os.path.join(old_dir, opt_level + "-" + architecture + "*" +

0 commit comments

Comments
 (0)