Skip to content

Commit b7d4bdf

Browse files
authored
Build ILLink before building smoke_tests (#94000)
1 parent 59c1734 commit b7d4bdf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/coreclr/scripts/superpmi_collect_setup.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -561,7 +561,9 @@ def make_readable(folder_name):
561561

562562
# Build nativeaot tests
563563
if coreclr_args.collection_type == "nativeaot":
564+
build_file = "build.cmd" if is_windows else "build.sh"
564565
tests_build_file = "build.cmd" if is_windows else "build.sh"
566+
run_command([os.path.join(source_directory, build_file), "Tools.ILLink", "-arch", arch, "-c", coreclr_args.build_type])
565567
run_command([os.path.join(tests_directory, tests_build_file), "nativeaot", arch, coreclr_args.build_type, "tree", "nativeaot/SmokeTests"], source_directory)
566568

567569
# NOTE: we can't use the build machine ".dotnet" to run on all platforms. E.g., the Windows x86 build uses a

0 commit comments

Comments
 (0)