From 4c7e915a8687bb679bb8dd96599706f4b176998e Mon Sep 17 00:00:00 2001 From: Adeel <3840695+am11@users.noreply.github.com> Date: Tue, 27 Aug 2024 12:36:13 +0300 Subject: [PATCH] Fix crossgen2 path in comparison-build job --- .../coreclr/templates/crossgen2-comparison-build-job.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/eng/pipelines/coreclr/templates/crossgen2-comparison-build-job.yml b/eng/pipelines/coreclr/templates/crossgen2-comparison-build-job.yml index bc971943422a6c..e34e80736d61c8 100644 --- a/eng/pipelines/coreclr/templates/crossgen2-comparison-build-job.yml +++ b/eng/pipelines/coreclr/templates/crossgen2-comparison-build-job.yml @@ -93,7 +93,8 @@ jobs: displayName: 'product build' # Populate Core_Root - - script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) $(buildConfig) $(archType) $(crossArg) generatelayoutonly + # use x64 as host machine arch + - script: $(Build.SourcesDirectory)/src/tests/build$(scriptExt) $(buildConfig) x64 generatelayoutonly displayName: Populate Core_Root # Create work item directory and populate with assemblies @@ -127,7 +128,7 @@ jobs: pythonInterpreter: /usr/bin/python3 arguments: crossgen_framework - --crossgen $(workItemDirectory)/dlls/crossgen2/crossgen2 + --crossgen $(artifactsDirectory)/tests/coreclr$/x64/Tests/Core_Root/crossgen2/crossgen2 --core_root $(workItemDirectory)/dlls --result_dir $(workItemDirectory)/log --target_os $(target_crossgen2_os) @@ -136,7 +137,7 @@ jobs: ${{ if eq(parameters.osGroup, 'windows') }}: arguments: crossgen_framework - --crossgen $(workItemDirectory)\dlls\crossgen2\crossgen2.exe + --crossgen $(artifactsDirectory)\tests\coreclr$\x64\Tests\Core_Root\crossgen2\crossgen2 --core_root $(workItemDirectory)\dlls --result_dir $(workItemDirectory)\log --target_os $(target_crossgen2_os)