Skip to content

Commit 5b686d5

Browse files
dotnet-maestro[bot]jonsequitur
authored andcommitted
Update dependencies from https://github.com/dotnet/arcade build 20200321.1
- Microsoft.DotNet.Arcade.Sdk - 5.0.0-beta.20171.1
1 parent 9d494eb commit 5b686d5

File tree

5 files changed

+41
-17
lines changed

5 files changed

+41
-17
lines changed

eng/Version.Details.xml

+2-2
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.20162.3">
6+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="5.0.0-beta.20171.1">
77
<Uri>https://github.com/dotnet/arcade</Uri>
8-
<Sha>16d4350184cf362cd59807b589d1c93803025abc</Sha>
8+
<Sha>7dbc907fa03eacf4c57f827cb4235d77b7ed4fcd</Sha>
99
</Dependency>
1010
</ToolsetDependencies>
1111
</Dependencies>

eng/common/cross/build-android-rootfs.sh

+25-14
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,20 @@ for i in "$@"
5353
done
5454

5555
# Obtain the location of the bash script to figure out where the root of the repo is.
56-
__CrossDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
57-
__Android_Cross_Dir="$(cd "$__CrossDir/../../../.tools/android-rootfs" && pwd)"
56+
__ScriptBaseDir="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
5857

59-
__NDK_Dir="$__Android_Cross_Dir/android-ndk-$__NDK_Version"
60-
__lldb_Dir="$__Android_Cross_Dir/lldb"
61-
__ToolchainDir="$__Android_Cross_Dir/android-ndk-$__NDK_Version"
58+
__CrossDir="$__ScriptBaseDir/../../../.tools/android-rootfs"
59+
60+
if [[ ! -f "$__CrossDir" ]]; then
61+
mkdir -p "$__CrossDir"
62+
fi
63+
64+
# Resolve absolute path to avoid `../` in build logs
65+
__CrossDir="$( cd "$__CrossDir" && pwd )"
66+
67+
__NDK_Dir="$__CrossDir/android-ndk-$__NDK_Version"
68+
__lldb_Dir="$__CrossDir/lldb"
69+
__ToolchainDir="$__CrossDir/android-ndk-$__NDK_Version"
6270

6371
if [[ -n "$TOOLCHAIN_DIR" ]]; then
6472
__ToolchainDir=$TOOLCHAIN_DIR
@@ -77,19 +85,20 @@ echo "Target Toolchain location: $__ToolchainDir"
7785
if [ ! -d $__NDK_Dir ]; then
7886
echo Downloading the NDK into $__NDK_Dir
7987
mkdir -p $__NDK_Dir
80-
wget -nv -nc --show-progress https://dl.google.com/android/repository/android-ndk-$__NDK_Version-linux-x86_64.zip -O $__Android_Cross_Dir/android-ndk-$__NDK_Version-linux-x86_64.zip
81-
unzip -q $__Android_Cross_Dir/android-ndk-$__NDK_Version-linux-x86_64.zip -d $__Android_Cross_Dir
88+
wget -q --progress=bar:force:noscroll --show-progress https://dl.google.com/android/repository/android-ndk-$__NDK_Version-linux-x86_64.zip -O $__CrossDir/android-ndk-$__NDK_Version-linux-x86_64.zip
89+
unzip -q $__CrossDir/android-ndk-$__NDK_Version-linux-x86_64.zip -d $__CrossDir
8290
fi
8391

8492
if [ ! -d $__lldb_Dir ]; then
8593
mkdir -p $__lldb_Dir
8694
echo Downloading LLDB into $__lldb_Dir
87-
wget -nv -nc --show-progress https://dl.google.com/android/repository/lldb-2.3.3614996-linux-x86_64.zip -O $__Android_Cross_Dir/lldb-2.3.3614996-linux-x86_64.zip
88-
unzip -q $__Android_Cross_Dir/lldb-2.3.3614996-linux-x86_64.zip -d $__lldb_Dir
95+
wget -q --progress=bar:force:noscroll --show-progress https://dl.google.com/android/repository/lldb-2.3.3614996-linux-x86_64.zip -O $__CrossDir/lldb-2.3.3614996-linux-x86_64.zip
96+
unzip -q $__CrossDir/lldb-2.3.3614996-linux-x86_64.zip -d $__lldb_Dir
8997
fi
9098

9199
echo "Download dependencies..."
92-
mkdir -p $__Android_Cross_Dir/tmp/$arch/
100+
__TmpDir=$__CrossDir/tmp/$__BuildArch/
101+
mkdir -p "$__TmpDir"
93102

94103
# combined dependencies for coreclr, installer and libraries
95104
__AndroidPackages="libicu"
@@ -103,18 +112,20 @@ for path in $(wget -qO- http://termux.net/dists/stable/main/binary-$__AndroidArc
103112

104113
if [[ "$path" != "Filename:" ]]; then
105114
echo "Working on: $path"
106-
wget -qO- http://termux.net/$path | dpkg -x - $__Android_Cross_Dir/tmp/$__AndroidArch/
115+
wget -qO- http://termux.net/$path | dpkg -x - "$__TmpDir"
107116
fi
108117
done
109118

110-
cp -R $__Android_Cross_Dir/tmp/$__AndroidArch/data/data/com.termux/files/usr/* $__ToolchainDir/sysroot/usr/
119+
cp -R "$__TmpDir/data/data/com.termux/files/usr/"* "$__ToolchainDir/sysroot/usr/"
111120

112121
# Generate platform file for build.sh script to assign to __DistroRid
113122
echo "Generating platform file..."
114123
echo "RID=android.${__ApiLevel}-${__BuildArch}" > $__ToolchainDir/sysroot/android_platform
115124

116125
echo "Now to build coreclr, libraries and installers; run:"
117126
echo ROOTFS_DIR=\$\(realpath $__ToolchainDir/sysroot\) ./build.sh --cross --arch $__BuildArch \
118-
--subsetCategory coreclr \
119-
--subsetCategory libraries \
127+
--subsetCategory coreclr
128+
echo ROOTFS_DIR=\$\(realpath $__ToolchainDir/sysroot\) ./build.sh --cross --arch $__BuildArch \
129+
--subsetCategory libraries
130+
echo ROOTFS_DIR=\$\(realpath $__ToolchainDir/sysroot\) ./build.sh --cross --arch $__BuildArch \
120131
--subsetCategory installer

eng/common/templates/job/publish-build-assets.yml

+6
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,12 @@ jobs:
3737
- name: _BuildConfig
3838
value: ${{ parameters.configuration }}
3939
- group: Publish-Build-Assets
40+
# Skip component governance and codesign validation for SDL. These jobs
41+
# create no content.
42+
- name: skipComponentGovernanceDetection
43+
value: true
44+
- name: runCodesignValidationInjection
45+
value: false
4046

4147
steps:
4248
- ${{ if and(eq(parameters.runAsPublic, 'false'), ne(variables['System.TeamProject'], 'public'), notin(variables['Build.Reason'], 'PullRequest')) }}:

eng/common/templates/post-build/common-variables.yml

+7
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,10 @@ variables:
9090
value: https://dotnetclimsrc.blob.core.windows.net/dotnet/index.json
9191
- name: InternalInstallersBlobFeedKey
9292
value: $(dotnetclimsrc-access-key)
93+
94+
# Skip component governance and codesign validation for SDL. These jobs
95+
# create no content.
96+
- name: skipComponentGovernanceDetection
97+
value: true
98+
- name: runCodesignValidationInjection
99+
value: false

global.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,6 @@
66
}
77
},
88
"msbuild-sdks": {
9-
"Microsoft.DotNet.Arcade.Sdk": "5.0.0-beta.20162.3"
9+
"Microsoft.DotNet.Arcade.Sdk": "5.0.0-beta.20171.1"
1010
}
1111
}

0 commit comments

Comments
 (0)