Skip to content

Commit 7725a38

Browse files
authored
Merge pull request #807 from dotnet/darc-master-f0d2b5ab-b73b-48ac-95d0-732ebeb92738
[master] Update dependencies from dotnet/arcade
2 parents 576c18c + bd1a7a4 commit 7725a38

File tree

7 files changed

+67
-15
lines changed

7 files changed

+67
-15
lines changed

eng/Version.Details.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@
33
<ProductDependencies>
44
</ProductDependencies>
55
<ToolsetDependencies>
6-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="5.0.0-beta.20123.1">
6+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="5.0.0-beta.20151.1">
77
<Uri>https://github.com/dotnet/arcade</Uri>
8-
<Sha>85d76351b1f0245c9f331f72219d12e8e2d48e72</Sha>
8+
<Sha>8ccad075bbb0db445e03eed0a6073d27bdd4f31a</Sha>
99
</Dependency>
1010
</ToolsetDependencies>
1111
</Dependencies>

eng/common/dotnet-install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ case $cpuname in
6363
amd64|x86_64)
6464
buildarch=x64
6565
;;
66-
armv7l)
66+
armv*l)
6767
buildarch=arm
6868
;;
6969
i686)

eng/common/init-tools-native.sh

Lines changed: 40 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,14 @@ while (($# > 0)); do
3434
force=true
3535
shift 1
3636
;;
37+
--donotabortonfailure)
38+
donotabortonfailure=true
39+
shift 1
40+
;;
41+
--donotdisplaywarnings)
42+
donotdisplaywarnings=true
43+
shift 1
44+
;;
3745
--downloadretries)
3846
download_retries=$2
3947
shift 2
@@ -52,6 +60,8 @@ while (($# > 0)); do
5260
echo " - (default) %USERPROFILE%/.netcoreeng/native"
5361
echo ""
5462
echo " --clean Switch specifying not to install anything, but cleanup native asset folders"
63+
echo " --donotabortonfailure Switch specifiying whether to abort native tools installation on failure"
64+
echo " --donotdisplaywarnings Switch specifiying whether to display warnings during native tools installation on failure"
5565
echo " --force Clean and then install tools"
5666
echo " --help Print help and exit"
5767
echo ""
@@ -92,6 +102,7 @@ if [[ -z $install_directory ]]; then
92102
fi
93103

94104
install_bin="${native_base_dir}/bin"
105+
installed_any=false
95106

96107
ReadGlobalJsonNativeTools
97108

@@ -103,8 +114,8 @@ else
103114
for tool in "${!native_assets[@]}"
104115
do
105116
tool_version=${native_assets[$tool]}
106-
installer_name="install-$tool.sh"
107-
installer_command="$native_installer_dir/$installer_name"
117+
installer_path="$native_installer_dir/install-$tool.sh"
118+
installer_command="$installer_path"
108119
installer_command+=" --baseuri $base_uri"
109120
installer_command+=" --installpath $install_bin"
110121
installer_command+=" --version $tool_version"
@@ -118,11 +129,29 @@ else
118129
installer_command+=" --clean"
119130
fi
120131

121-
$installer_command
122-
123-
if [[ $? != 0 ]]; then
124-
Write-PipelineTelemetryError -category 'NativeToolsBootstrap' "Execution Failed"
125-
exit 1
132+
if [[ -a $installer_path ]]; then
133+
$installer_command
134+
if [[ $? != 0 ]]; then
135+
if [[ $donotabortonfailure = true ]]; then
136+
if [[ $donotdisplaywarnings != true ]]; then
137+
Write-PipelineTelemetryError -category 'NativeToolsBootstrap' "Execution Failed"
138+
fi
139+
else
140+
Write-PipelineTelemetryError -category 'NativeToolsBootstrap' "Execution Failed"
141+
exit 1
142+
fi
143+
else
144+
$installed_any = true
145+
fi
146+
else
147+
if [[ $donotabortonfailure == true ]]; then
148+
if [[ $donotdisplaywarnings != true ]]; then
149+
Write-PipelineTelemetryError -category 'NativeToolsBootstrap' "Execution Failed: no install script"
150+
fi
151+
else
152+
Write-PipelineTelemetryError -category 'NativeToolsBootstrap' "Execution Failed: no install script"
153+
exit 1
154+
fi
126155
fi
127156
done
128157
fi
@@ -135,8 +164,10 @@ if [[ -d $install_bin ]]; then
135164
echo "Native tools are available from $install_bin"
136165
echo "##vso[task.prependpath]$install_bin"
137166
else
138-
Write-PipelineTelemetryError -category 'NativeToolsBootstrap' "Native tools install directory does not exist, installation failed"
139-
exit 1
167+
if [[ $installed_any = true ]]; then
168+
Write-PipelineTelemetryError -category 'NativeToolsBootstrap' "Native tools install directory does not exist, installation failed"
169+
exit 1
170+
fi
140171
fi
141172

142173
exit 0

eng/common/performance/perfhelixpublish.proj

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<Python>py -3</Python>
77
<CoreRun>%HELIX_CORRELATION_PAYLOAD%\Core_Root\CoreRun.exe</CoreRun>
88
<BaselineCoreRun>%HELIX_CORRELATION_PAYLOAD%\Baseline_Core_Root\CoreRun.exe</BaselineCoreRun>
9-
<HelixPreCommands>$(HelixPreCommands);call %HELIX_CORRELATION_PAYLOAD%\performance\tools\machine-setup.cmd</HelixPreCommands>
9+
<HelixPreCommands>$(HelixPreCommands);call %HELIX_CORRELATION_PAYLOAD%\performance\tools\machine-setup.cmd;set PYTHONPATH=%HELIX_WORKITEM_PAYLOAD%\scripts%3B%HELIX_WORKITEM_PAYLOAD%</HelixPreCommands>
1010
<ArtifactsDirectory>%HELIX_CORRELATION_PAYLOAD%\artifacts\BenchmarkDotNet.Artifacts</ArtifactsDirectory>
1111
<BaselineArtifactsDirectory>%HELIX_CORRELATION_PAYLOAD%\artifacts\BenchmarkDotNet.Artifacts_Baseline</BaselineArtifactsDirectory>
1212
<ResultsComparer>%HELIX_CORRELATION_PAYLOAD%\performance\src\tools\ResultsComparer\ResultsComparer.csproj</ResultsComparer>
@@ -99,4 +99,23 @@
9999
<Timeout>4:00</Timeout>
100100
</HelixWorkItem>
101101
</ItemGroup>
102+
103+
<ItemGroup Condition="'$(AGENT_OS)' == 'Windows_NT'">
104+
<HelixWorkItem Include="Crossgen System.Private.Xml.dll">
105+
<PayloadDirectory>$(WorkItemDirectory)\ScenarioCorrelation</PayloadDirectory>
106+
<Command>$(Python) %HELIX_CORRELATION_PAYLOAD%\performance\src\scenarios\crossgen\test.py crossgen --test-name System.Private.Xml.dll --core-root %HELIX_CORRELATION_PAYLOAD%\Core_Root</Command>
107+
</HelixWorkItem>
108+
<HelixWorkItem Include="Crossgen System.Linq.Expressions.dll">
109+
<PayloadDirectory>$(WorkItemDirectory)\ScenarioCorrelation</PayloadDirectory>
110+
<Command>$(Python) %HELIX_CORRELATION_PAYLOAD%\performance\src\scenarios\crossgen\test.py crossgen --test-name System.Linq.Expressions.dll --core-root %HELIX_CORRELATION_PAYLOAD%\Core_Root</Command>
111+
</HelixWorkItem>
112+
<HelixWorkItem Include="Crossgen Microsoft.CodeAnalysis.VisualBasic.dll">
113+
<PayloadDirectory>$(WorkItemDirectory)\ScenarioCorrelation</PayloadDirectory>
114+
<Command>$(Python) %HELIX_CORRELATION_PAYLOAD%\performance\src\scenarios\crossgen\test.py crossgen --test-name Microsoft.CodeAnalysis.VisualBasic.dll --core-root %HELIX_CORRELATION_PAYLOAD%\Core_Root</Command>
115+
</HelixWorkItem>
116+
<HelixWorkItem Include="Crossgen Microsoft.CodeAnalysis.CSharp.dll">
117+
<PayloadDirectory>$(WorkItemDirectory)\ScenarioCorrelation</PayloadDirectory>
118+
<Command>$(Python) %HELIX_CORRELATION_PAYLOAD%\performance\src\scenarios\crossgen\test.py crossgen --test-name Microsoft.CodeAnalysis.CSharp.dll --core-root %HELIX_CORRELATION_PAYLOAD%\Core_Root</Command>
119+
</HelixWorkItem>
120+
</ItemGroup>
102121
</Project>

eng/common/templates/post-build/channels/generic-internal-channel.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ stages:
8484
- job: publish_assets
8585
displayName: Publish Assets
8686
dependsOn: setupMaestroVars
87+
timeoutInMinutes: 120
8788
variables:
8889
- name: BARBuildId
8990
value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.BARBuildId'] ]

eng/common/templates/post-build/channels/generic-public-channel.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ stages:
8383
- job: publish_assets
8484
displayName: Publish Assets
8585
dependsOn: setupMaestroVars
86+
timeoutInMinutes: 120
8687
variables:
8788
- name: BARBuildId
8889
value: $[ dependencies.setupMaestroVars.outputs['setReleaseVars.BARBuildId'] ]

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
{
22
"tools": {
3-
"dotnet": "3.1.100",
3+
"dotnet": "3.1.101",
44
"vs": {
55
"version": "16.0"
66
}
77
},
88
"msbuild-sdks": {
9-
"Microsoft.DotNet.Arcade.Sdk": "5.0.0-beta.20123.1"
9+
"Microsoft.DotNet.Arcade.Sdk": "5.0.0-beta.20151.1"
1010
}
1111
}

0 commit comments

Comments
 (0)