From 782c9d340dd2b69600049adbac714366a1634547 Mon Sep 17 00:00:00 2001 From: Jeremy Koritzinsky Date: Wed, 4 Oct 2023 11:17:44 -0700 Subject: [PATCH] Fix the path for crossgen2 for the outerloop cg2 legs (#92971) --- .../coreclr/templates/crossgen2-comparison-build-job.yml | 4 ++-- src/tests/build.proj | 5 ++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/eng/pipelines/coreclr/templates/crossgen2-comparison-build-job.yml b/eng/pipelines/coreclr/templates/crossgen2-comparison-build-job.yml index 9a2117bd51c58..3ca668998b133 100644 --- a/eng/pipelines/coreclr/templates/crossgen2-comparison-build-job.yml +++ b/eng/pipelines/coreclr/templates/crossgen2-comparison-build-job.yml @@ -74,9 +74,9 @@ jobs: value: $(productDirectory)$(dir)$(targetFlavor)$(dir)crossgen2$(dir)crossgen2.dll - ${{ if ne(parameters.archType, 'x64') }}: - name: crossgen2location - value: $(productDirectory)$(dir)$(targetFlavor)$(dir)x64$(dir)crossgen2$(dir)crossgen2.dll + value: $(productDirectory)$(dir)$(targetFlavor)$(dir)x64$(dir)crossgen2$(dir)tools$(dir)crossgen2.dll - name: librariesProductDllDir - value: $(Build.SourcesDirectory)$(dir)artifacts$(dir)bin$(dir)runtime$(dir)net8.0-$(osGroup)$(osSubgroup)-$(buildConfig)-$(archType) + value: $(Build.SourcesDirectory)$(dir)artifacts$(dir)bin$(dir)runtime$(dir)net9.0-$(osGroup)$(osSubgroup)-$(buildConfig)-$(archType) - ${{ parameters.variables }} diff --git a/src/tests/build.proj b/src/tests/build.proj index e49ddc0b51b2f..5bbe4b6d82853 100644 --- a/src/tests/build.proj +++ b/src/tests/build.proj @@ -633,8 +633,7 @@ Condition="'$(__BuildTestWrappersOnly)' != '1' and '$(__CopyNativeTestBinaries)' != '1' and '$(__TestBuildMode)' == 'crossgen2' and !$(MonoAot) and !$(MonoFullAot)" > - $(__BinDir) - $(CrossgenDir)\$(BuildArchitecture) + $(__BinDir)\$(BuildArchitecture) $(__TestIntermediatesDir)\crossgen.out @@ -655,7 +654,7 @@ $(CrossgenCmd) --crossgen2-parallelism 1 $(CrossgenCmd) --verify-type-and-field-layout - $(CrossgenCmd) --crossgen2-path "$(CrossgenDir)\crossgen2\crossgen2.dll" + $(CrossgenCmd) --crossgen2-path "$(CrossgenDir)\crossgen2\tools\crossgen2.dll"