From 09efa9bf52224a197aa8e998207d9aa6f356fa5e Mon Sep 17 00:00:00 2001
From: "dotnet-maestro[bot]"
<42748379+dotnet-maestro[bot]@users.noreply.github.com>
Date: Thu, 25 Mar 2021 18:13:25 +0000
Subject: [PATCH] Update dependencies from https://github.com/dotnet/arcade
build 20210325.1 (#10028)
[main] Update dependencies from dotnet/arcade
- Coherency Updates:
- XliffTasks: from 1.0.0-beta.21153.1 to 1.0.0-beta.21169.2 (parent: Microsoft.DotNet.Arcade.Sdk)
---
eng/Version.Details.xml | 12 ++++++------
eng/Versions.props | 2 +-
eng/common/generate-locproject.ps1 | 4 ++--
eng/common/performance/performance-setup.ps1 | 2 +-
eng/common/performance/performance-setup.sh | 19 ++++++++++++++++---
eng/common/templates/steps/source-build.yml | 2 +-
global.json | 2 +-
7 files changed, 28 insertions(+), 15 deletions(-)
diff --git a/eng/Version.Details.xml b/eng/Version.Details.xml
index af08bddbd..2785ced8b 100644
--- a/eng/Version.Details.xml
+++ b/eng/Version.Details.xml
@@ -136,13 +136,13 @@
-
+
https://github.com/dotnet/arcade
- 0ca849f0b71866b007fedaaa938cee63f8d056a6
+ 12a2bc501ce756c9522588d88583c0256297bd70
-
+
https://github.com/dotnet/arcade
- 0ca849f0b71866b007fedaaa938cee63f8d056a6
+ 12a2bc501ce756c9522588d88583c0256297bd70
https://github.com/dotnet/source-build-reference-packages
@@ -152,9 +152,9 @@
https://github.com/dotnet/sourcelink
99defc1944a90ef96ec966cb378780caf18c3922
-
+
https://github.com/dotnet/xliff-tasks
- f330177980c754b02cf80067f3bdd07454d5fccd
+ 0da469fe1c2714d0e25cad1143632562fb528425
diff --git a/eng/Versions.props b/eng/Versions.props
index 0d0805a74..f50a0bc69 100644
--- a/eng/Versions.props
+++ b/eng/Versions.props
@@ -20,7 +20,7 @@
- 6.0.0-beta.21167.3
+ 6.0.0-beta.21175.1
diff --git a/eng/common/generate-locproject.ps1 b/eng/common/generate-locproject.ps1
index 9e2f7ad98..ad3e80651 100644
--- a/eng/common/generate-locproject.ps1
+++ b/eng/common/generate-locproject.ps1
@@ -79,7 +79,7 @@ $locJson = @{
}
$json = ConvertTo-Json $locJson -Depth 5
-Write-Host "(NETCORE_ENGINEERING_TELEMETRY=Build) LocProject.json generated:`n`n$json`n`n"
+Write-Host "LocProject.json generated:`n`n$json`n`n"
Pop-Location
if (!$UseCheckedInLocProjectJson) {
@@ -91,7 +91,7 @@ else {
Set-Content "$SourcesDirectory\Localize\LocProject-generated.json" $json
if ((Get-FileHash "$SourcesDirectory\Localize\LocProject-generated.json").Hash -ne (Get-FileHash "$SourcesDirectory\Localize\LocProject.json").Hash) {
- Write-PipelineTaskError -Type "warning" -Message "Existing LocProject.json differs from generated LocProject.json. Download LocProject-generated.json and compare them."
+ Write-PipelineTelemetryError -Category "OneLocBuild" -Message "Existing LocProject.json differs from generated LocProject.json. Download LocProject-generated.json and compare them."
exit 1
}
diff --git a/eng/common/performance/performance-setup.ps1 b/eng/common/performance/performance-setup.ps1
index 9a64b07e6..b6324039a 100644
--- a/eng/common/performance/performance-setup.ps1
+++ b/eng/common/performance/performance-setup.ps1
@@ -83,7 +83,7 @@ if ($RunFromPerformanceRepo) {
robocopy $SourceDirectory $PerformanceDirectory /E /XD $PayloadDirectory $SourceDirectory\artifacts $SourceDirectory\.git
}
else {
- git clone --branch master --depth 1 --quiet https://github.com/dotnet/performance $PerformanceDirectory
+ git clone --branch main --depth 1 --quiet https://github.com/dotnet/performance $PerformanceDirectory
}
if($MonoDotnet -ne "")
diff --git a/eng/common/performance/performance-setup.sh b/eng/common/performance/performance-setup.sh
index 33b60b503..200cf71f2 100755
--- a/eng/common/performance/performance-setup.sh
+++ b/eng/common/performance/performance-setup.sh
@@ -17,6 +17,7 @@ kind="micro"
llvm=false
monointerpreter=false
monoaot=false
+monoaot_path=
run_categories="Libraries Runtime"
csproj="src\benchmarks\micro\MicroBenchmarks.csproj"
configurations="CompliationMode=$compilation_mode RunKind=$kind"
@@ -107,7 +108,8 @@ while (($# > 0)); do
;;
--monoaot)
monoaot=true
- shift 1
+ monoaot_path=$2
+ shift 2
;;
--monodotnet)
mono_dotnet=$2
@@ -230,6 +232,11 @@ if [[ "$mono_dotnet" != "" ]] && [[ "$monointerpreter" == "true" ]]; then
extra_benchmark_dotnet_arguments="$extra_benchmark_dotnet_arguments --category-exclusion-filter NoInterpreter NoMono"
fi
+if [[ "$monoaot" == "true" ]]; then
+ configurations="$configurations LLVM=$llvm MonoInterpreter=$monointerpreter MonoAOT=$monoaot"
+ extra_benchmark_dotnet_arguments="$extra_benchmark_dotnet_arguments --category-exclusion-filter NoAOT"
+fi
+
common_setup_arguments="--channel master --queue $queue --build-number $build_number --build-configs $configurations --architecture $architecture"
setup_arguments="--repository https://github.com/$repository --branch $branch --get-perf-hash --commit-sha $commit_sha $common_setup_arguments"
@@ -239,7 +246,7 @@ if [[ "$run_from_perf_repo" = true ]]; then
performance_directory=$workitem_directory
setup_arguments="--perf-hash $commit_sha $common_setup_arguments"
else
- git clone --branch master --depth 1 --quiet https://github.com/dotnet/performance $performance_directory
+ git clone --branch main --depth 1 --quiet https://github.com/dotnet/performance $performance_directory
docs_directory=$performance_directory/docs
mv $docs_directory $workitem_directory
@@ -252,12 +259,18 @@ if [[ "$wasm_runtime_loc" != "" ]]; then
extra_benchmark_dotnet_arguments="$extra_benchmark_dotnet_arguments --wasmMainJS \$HELIX_CORRELATION_PAYLOAD/dotnet-wasm/runtime-test.js --wasmEngine /home/helixbot/.jsvu/v8 --customRuntimePack \$HELIX_CORRELATION_PAYLOAD/dotnet-wasm"
fi
-if [[ "$mono_dotnet" != "" ]]; then
+if [[ "$mono_dotnet" != "" ]] && [[ "$monoaot" == "false" ]]; then
using_mono=true
mono_dotnet_path=$payload_directory/dotnet-mono
mv $mono_dotnet $mono_dotnet_path
fi
+if [[ "$monoaot" == "true" ]]; then
+ monoaot_dotnet_path=$payload_directory/monoaot
+ mv $monoaot_path $monoaot_dotnet_path
+ extra_benchmark_dotnet_arguments="$extra_benchmark_dotnet_arguments --runtimes monoaotllvm --aotcompilerpath \$HELIX_CORRELATION_PAYLOAD/monoaot/sgen/mini/mono-sgen --customruntimepack \$HELIX_CORRELATION_PAYLOAD/monoaot/pack --aotcompilermode llvm"
+fi
+
if [[ "$use_core_run" = true ]]; then
new_core_root=$payload_directory/Core_Root
mv $core_root_directory $new_core_root
diff --git a/eng/common/templates/steps/source-build.yml b/eng/common/templates/steps/source-build.yml
index 8e336b7d1..65ee5992b 100644
--- a/eng/common/templates/steps/source-build.yml
+++ b/eng/common/templates/steps/source-build.yml
@@ -36,7 +36,7 @@ steps:
${{ coalesce(parameters.platform.buildScript, './build.sh') }} --ci \
--configuration $buildConfig \
- --restore --build --pack --publish \
+ --restore --build --pack --publish -bl \
$officialBuildArgs \
$targetRidArgs \
/p:SourceBuildNonPortable=${{ parameters.platform.nonPortable }} \
diff --git a/global.json b/global.json
index 055389f86..f6617372c 100644
--- a/global.json
+++ b/global.json
@@ -8,6 +8,6 @@
}
},
"msbuild-sdks": {
- "Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.21167.3"
+ "Microsoft.DotNet.Arcade.Sdk": "6.0.0-beta.21175.1"
}
}