Skip to content

Commit b81dde0

Browse files
dotnet-maestro[bot]baronfel
authored andcommitted
Update dependencies from https://github.com/dotnet/arcade build 20190615.2 (#7010)
- Microsoft.DotNet.Arcade.Sdk - 1.0.0-beta.19315.2
1 parent cbdfc00 commit b81dde0

35 files changed

+1613
-98
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="1.0.0-beta.19264.13">
6+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="1.0.0-beta.19315.2">
77
<Uri>https://github.com/dotnet/arcade</Uri>
8-
<Sha>670f6ee1a619a2a7c84cfdfe2a1c84fbe94e1c6b</Sha>
8+
<Sha>aa4285be7fab64e2b6e62e4d5688ea50931c407c</Sha>
99
</Dependency>
1010
</ToolsetDependencies>
1111
</Dependencies>

eng/Versions.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,4 +192,4 @@
192192
<StrawberryPerl64Version>5.22.2.1</StrawberryPerl64Version>
193193
<StreamJsonRpcVersion>2.0.187</StreamJsonRpcVersion>
194194
</PropertyGroup>
195-
</Project>
195+
</Project>

eng/common/PublishToPackageFeed.proj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@
5454
<TargetStaticFeed Condition="'$(ArtifactsCategory.ToUpper())' == 'WINDOWSDESKTOP'">https://dotnetfeed.blob.core.windows.net/dotnet-windowsdesktop/index.json</TargetStaticFeed>
5555
<TargetStaticFeed Condition="'$(ArtifactsCategory.ToUpper())' == 'NUGETCLIENT'">https://dotnetfeed.blob.core.windows.net/nuget-nugetclient/index.json</TargetStaticFeed>
5656
<TargetStaticFeed Condition="'$(ArtifactsCategory.ToUpper())' == 'ASPNETENTITYFRAMEWORK6'">https://dotnetfeed.blob.core.windows.net/aspnet-entityframework6/index.json</TargetStaticFeed>
57+
<TargetStaticFeed Condition="'$(ArtifactsCategory.ToUpper())' == 'ASPNETBLAZOR'">https://dotnetfeed.blob.core.windows.net/aspnet-blazor/index.json</TargetStaticFeed>
5758
</PropertyGroup>
5859

5960
<Error

eng/common/build.ps1

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
[CmdletBinding(PositionalBinding=$false)]
22
Param(
33
[string][Alias('c')]$configuration = "Debug",
4+
[string]$platform = $null,
45
[string] $projects,
56
[string][Alias('v')]$verbosity = "minimal",
67
[string] $msbuildEngine = $null,
@@ -29,6 +30,7 @@ Param(
2930
function Print-Usage() {
3031
Write-Host "Common settings:"
3132
Write-Host " -configuration <value> Build configuration: 'Debug' or 'Release' (short: -c)"
33+
Write-Host " -platform <value> Platform configuration: 'x86', 'x64' or any valid Platform value to pass to msbuild"
3234
Write-Host " -verbosity <value> Msbuild verbosity: q[uiet], m[inimal], n[ormal], d[etailed], and diag[nostic] (short: -v)"
3335
Write-Host " -binaryLog Output binary log (short: -bl)"
3436
Write-Host " -help Print help and exit"
@@ -77,6 +79,7 @@ function Build {
7779
InitializeCustomToolset
7880

7981
$bl = if ($binaryLog) { "/bl:" + (Join-Path $LogDir "Build.binlog") } else { "" }
82+
$platformArg = if ($platform) { "/p:Platform=$platform" } else { "" }
8083

8184
if ($projects) {
8285
# Re-assign properties to a new variable because PowerShell doesn't let us append properties directly for unclear reasons.
@@ -88,6 +91,7 @@ function Build {
8891

8992
MSBuild $toolsetBuildProj `
9093
$bl `
94+
$platformArg `
9195
/p:Configuration=$configuration `
9296
/p:RepoRoot=$RepoRoot `
9397
/p:Restore=$restore `
@@ -129,9 +133,8 @@ try {
129133
Build
130134
}
131135
catch {
132-
Write-Host $_
133-
Write-Host $_.Exception
134136
Write-Host $_.ScriptStackTrace
137+
Write-PipelineTelemetryError -Category "InitializeToolset" -Message $_
135138
ExitWithExitCode 1
136139
}
137140

eng/common/build.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ ci=false
6666
warn_as_error=true
6767
node_reuse=true
6868
binary_log=false
69+
pipelines_log=false
6970

7071
projects=''
7172
configuration='Debug'
@@ -92,6 +93,9 @@ while [[ $# > 0 ]]; do
9293
-binarylog|-bl)
9394
binary_log=true
9495
;;
96+
-pipelineslog|-pl)
97+
pipelines_log=true
98+
;;
9599
-restore|-r)
96100
restore=true
97101
;;
@@ -146,6 +150,7 @@ while [[ $# > 0 ]]; do
146150
done
147151

148152
if [[ "$ci" == true ]]; then
153+
pipelines_log=true
149154
binary_log=true
150155
node_reuse=false
151156
fi

eng/common/cross/armel/tizen-fetch.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,15 +157,15 @@ fetch_tizen_pkgs()
157157
Inform "Initialize arm base"
158158
fetch_tizen_pkgs_init standard base
159159
Inform "fetch common packages"
160-
fetch_tizen_pkgs armv7l gcc glibc glibc-devel libicu libicu-devel
160+
fetch_tizen_pkgs armv7l gcc glibc glibc-devel libicu libicu-devel libatomic
161161
fetch_tizen_pkgs noarch linux-glibc-devel
162162
Inform "fetch coreclr packages"
163-
fetch_tizen_pkgs armv7l lldb lldb-devel libgcc libstdc++ libstdc++-devel libunwind libunwind-devel tizen-release lttng-ust-devel lttng-ust userspace-rcu-devel userspace-rcu
163+
fetch_tizen_pkgs armv7l lldb lldb-devel libgcc libstdc++ libstdc++-devel libunwind libunwind-devel lttng-ust-devel lttng-ust userspace-rcu-devel userspace-rcu
164164
Inform "fetch corefx packages"
165165
fetch_tizen_pkgs armv7l libcom_err libcom_err-devel zlib zlib-devel libopenssl libopenssl-devel krb5 krb5-devel libcurl libcurl-devel
166166

167167
Inform "Initialize standard unified"
168168
fetch_tizen_pkgs_init standard unified
169169
Inform "fetch corefx packages"
170-
fetch_tizen_pkgs armv7l gssdp gssdp-devel
170+
fetch_tizen_pkgs armv7l gssdp gssdp-devel tizen-release
171171

eng/common/cross/build-rootfs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ if [ -z "$__RootfsDir" ] && [ ! -z "$ROOTFS_DIR" ]; then
181181
fi
182182

183183
if [ -z "$__RootfsDir" ]; then
184-
__RootfsDir="$__CrossDir/rootfs/$__BuildArch"
184+
__RootfsDir="$__CrossDir/../../../.tools/rootfs/$__BuildArch"
185185
fi
186186

187187
if [ -d "$__RootfsDir" ]; then

eng/common/darc-init.ps1

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,23 +11,23 @@ function InstallDarcCli ($darcVersion) {
1111

1212
$dotnetRoot = InitializeDotNetCli -install:$true
1313
$dotnet = "$dotnetRoot\dotnet.exe"
14-
$toolList = Invoke-Expression "& `"$dotnet`" tool list -g"
14+
$toolList = & "$dotnet" tool list -g
1515

1616
if ($toolList -like "*$darcCliPackageName*") {
17-
Invoke-Expression "& `"$dotnet`" tool uninstall $darcCliPackageName -g"
17+
& "$dotnet" tool uninstall $darcCliPackageName -g
1818
}
1919

2020
# If the user didn't explicitly specify the darc version,
2121
# query the Maestro API for the correct version of darc to install.
2222
if (-not $darcVersion) {
2323
$darcVersion = $(Invoke-WebRequest -Uri $versionEndpoint -UseBasicParsing).Content
2424
}
25-
25+
2626
$arcadeServicesSource = 'https://dotnetfeed.blob.core.windows.net/dotnet-core/index.json'
2727

2828
Write-Host "Installing Darc CLI version $darcVersion..."
2929
Write-Host "You may need to restart your command window if this is the first dotnet tool you have installed."
30-
Invoke-Expression "& `"$dotnet`" tool install $darcCliPackageName --version $darcVersion --add-source '$arcadeServicesSource' -v $verbosity -g"
30+
& "$dotnet" tool install $darcCliPackageName --version $darcVersion --add-source "$arcadeServicesSource" -v $verbosity -g
3131
}
3232

3333
InstallDarcCli $darcVersion

eng/common/dotnet-install.ps1

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,14 @@ Param(
88

99
. $PSScriptRoot\tools.ps1
1010

11+
$dotnetRoot = Join-Path $RepoRoot ".dotnet"
12+
13+
$installdir = $dotnetRoot
1114
try {
12-
$dotnetRoot = Join-Path $RepoRoot ".dotnet"
13-
InstallDotNet $dotnetRoot $version $architecture $runtime $true
15+
if ($architecture -and $architecture.Trim() -eq "x86") {
16+
$installdir = Join-Path $installdir "x86"
17+
}
18+
InstallDotNet $installdir $version $architecture $runtime $true
1419
}
1520
catch {
1621
Write-Host $_
@@ -19,4 +24,4 @@ catch {
1924
ExitWithExitCode 1
2025
}
2126

22-
ExitWithExitCode 0
27+
ExitWithExitCode 0

eng/common/generate-graph-files.ps1

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ function CheckExitCode ([string]$stage)
2525

2626
try {
2727
Push-Location $PSScriptRoot
28-
28+
2929
Write-Host "Installing darc..."
3030
. .\darc-init.ps1 -darcVersion $darcVersion
3131
CheckExitCode "Running darc-init"
@@ -40,9 +40,9 @@ try {
4040

4141
$darcExe = "$env:USERPROFILE\.dotnet\tools"
4242
$darcExe = Resolve-Path "$darcExe\darc.exe"
43-
43+
4444
Create-Directory $outputFolder
45-
45+
4646
# Generate 3 graph descriptions:
4747
# 1. Flat with coherency information
4848
# 2. Graphviz (dot) file
@@ -51,26 +51,26 @@ try {
5151
$graphVizImageFilePath = "$outputFolder\graph.png"
5252
$normalGraphFilePath = "$outputFolder\graph-full.txt"
5353
$flatGraphFilePath = "$outputFolder\graph-flat.txt"
54-
$baseOptions = "get-dependency-graph --github-pat $gitHubPat --azdev-pat $azdoPat --password $barToken"
55-
54+
$baseOptions = @( "--github-pat", "$gitHubPat", "--azdev-pat", "$azdoPat", "--password", "$barToken" )
55+
5656
if ($includeToolset) {
5757
Write-Host "Toolsets will be included in the graph..."
58-
$baseOptions += " --include-toolset"
58+
$baseOptions += @( "--include-toolset" )
5959
}
6060

6161
Write-Host "Generating standard dependency graph..."
62-
Invoke-Expression "& `"$darcExe`" $baseOptions --output-file $normalGraphFilePath"
62+
& "$darcExe" get-dependency-graph @baseOptions --output-file $normalGraphFilePath
6363
CheckExitCode "Generating normal dependency graph"
6464

6565
Write-Host "Generating flat dependency graph and graphviz file..."
66-
Invoke-Expression "& `"$darcExe`" $baseOptions --flat --coherency --graphviz $graphVizFilePath --output-file $flatGraphFilePath"
66+
& "$darcExe" get-dependency-graph @baseOptions --flat --coherency --graphviz $graphVizFilePath --output-file $flatGraphFilePath
6767
CheckExitCode "Generating flat and graphviz dependency graph"
6868

6969
Write-Host "Generating graph image $graphVizFilePath"
7070
$dotFilePath = Join-Path $installBin "graphviz\$graphvizVersion\release\bin\dot.exe"
71-
Invoke-Expression "& `"$dotFilePath`" -Tpng -o'$graphVizImageFilePath' `"$graphVizFilePath`""
71+
& "$dotFilePath" -Tpng -o"$graphVizImageFilePath" "$graphVizFilePath"
7272
CheckExitCode "Generating graphviz image"
73-
73+
7474
Write-Host "'$graphVizFilePath', '$flatGraphFilePath', '$normalGraphFilePath' and '$graphVizImageFilePath' created!"
7575
}
7676
catch {

0 commit comments

Comments
 (0)