Skip to content

Commit 86bd2f9

Browse files
[main] Update dependencies from dotnet/arcade (#40063)
[main] Update dependencies from dotnet/arcade
1 parent 5ace356 commit 86bd2f9

File tree

4 files changed

+56
-42
lines changed

4 files changed

+56
-42
lines changed

eng/Version.Details.xml

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -471,30 +471,30 @@
471471
</Dependency>
472472
</ProductDependencies>
473473
<ToolsetDependencies>
474-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="9.0.0-beta.24207.1">
474+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="9.0.0-beta.24208.8">
475475
<Uri>https://github.com/dotnet/arcade</Uri>
476-
<Sha>9e3b333509ec2990dd20fbf01f50fd42d7f23d56</Sha>
476+
<Sha>a4f367bfa9602e4c24f509902285176fa3153a64</Sha>
477477
</Dependency>
478-
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="9.0.0-beta.24207.1">
478+
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="9.0.0-beta.24208.8">
479479
<Uri>https://github.com/dotnet/arcade</Uri>
480-
<Sha>9e3b333509ec2990dd20fbf01f50fd42d7f23d56</Sha>
480+
<Sha>a4f367bfa9602e4c24f509902285176fa3153a64</Sha>
481481
</Dependency>
482-
<Dependency Name="Microsoft.DotNet.SignTool" Version="9.0.0-beta.24207.1">
482+
<Dependency Name="Microsoft.DotNet.SignTool" Version="9.0.0-beta.24208.8">
483483
<Uri>https://github.com/dotnet/arcade</Uri>
484-
<Sha>9e3b333509ec2990dd20fbf01f50fd42d7f23d56</Sha>
484+
<Sha>a4f367bfa9602e4c24f509902285176fa3153a64</Sha>
485485
</Dependency>
486-
<Dependency Name="Microsoft.DotNet.XUnitExtensions" Version="9.0.0-beta.24207.1">
486+
<Dependency Name="Microsoft.DotNet.XUnitExtensions" Version="9.0.0-beta.24208.8">
487487
<Uri>https://github.com/dotnet/arcade</Uri>
488-
<Sha>9e3b333509ec2990dd20fbf01f50fd42d7f23d56</Sha>
488+
<Sha>a4f367bfa9602e4c24f509902285176fa3153a64</Sha>
489489
</Dependency>
490-
<Dependency Name="Microsoft.DotNet.XliffTasks" Version="9.0.0-beta.24207.1">
490+
<Dependency Name="Microsoft.DotNet.XliffTasks" Version="9.0.0-beta.24208.8">
491491
<Uri>https://github.com/dotnet/arcade</Uri>
492-
<Sha>9e3b333509ec2990dd20fbf01f50fd42d7f23d56</Sha>
492+
<Sha>a4f367bfa9602e4c24f509902285176fa3153a64</Sha>
493493
</Dependency>
494494
<!-- Intermediate is necessary for source build. -->
495-
<Dependency Name="Microsoft.SourceBuild.Intermediate.arcade" Version="9.0.0-beta.24207.1">
495+
<Dependency Name="Microsoft.SourceBuild.Intermediate.arcade" Version="9.0.0-beta.24208.8">
496496
<Uri>https://github.com/dotnet/arcade</Uri>
497-
<Sha>9e3b333509ec2990dd20fbf01f50fd42d7f23d56</Sha>
497+
<Sha>a4f367bfa9602e4c24f509902285176fa3153a64</Sha>
498498
<SourceBuild RepoName="arcade" ManagedOnly="true" />
499499
</Dependency>
500500
<Dependency Name="System.Reflection.MetadataLoadContext" Version="9.0.0-preview.4.24209.1">

eng/Versions.props

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -167,8 +167,8 @@
167167
</PropertyGroup>
168168
<PropertyGroup>
169169
<!-- Dependencies from https://github.com/dotnet/arcade -->
170-
<MicrosoftDotNetSignToolVersion>9.0.0-beta.24207.1</MicrosoftDotNetSignToolVersion>
171-
<MicrosoftDotNetXliffTasksVersion>9.0.0-beta.24207.1</MicrosoftDotNetXliffTasksVersion>
170+
<MicrosoftDotNetSignToolVersion>9.0.0-beta.24208.8</MicrosoftDotNetSignToolVersion>
171+
<MicrosoftDotNetXliffTasksVersion>9.0.0-beta.24208.8</MicrosoftDotNetXliffTasksVersion>
172172
</PropertyGroup>
173173
<PropertyGroup>
174174
<!-- Dependencies from https://github.com/dotnet/sourcelink -->
@@ -187,7 +187,7 @@
187187
<PropertyGroup>
188188
<FluentAssertionsVersion>6.12.0</FluentAssertionsVersion>
189189
<FluentAssertionsJsonVersion>6.1.0</FluentAssertionsJsonVersion>
190-
<MicrosoftDotNetXUnitExtensionsVersion>9.0.0-beta.24207.1</MicrosoftDotNetXUnitExtensionsVersion>
190+
<MicrosoftDotNetXUnitExtensionsVersion>9.0.0-beta.24208.8</MicrosoftDotNetXUnitExtensionsVersion>
191191
<MoqPackageVersion>4.18.4</MoqPackageVersion>
192192
<XunitCombinatorialVersion>1.3.2</XunitCombinatorialVersion>
193193
<MicrosoftDotNetInstallerWindowsSecurityTestDataPackageVersion>8.0.0-beta.23607.1</MicrosoftDotNetInstallerWindowsSecurityTestDataPackageVersion>

eng/common/cross/build-rootfs.sh

Lines changed: 39 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -142,7 +142,6 @@ while :; do
142142
case $lowerI in
143143
-\?|-h|--help)
144144
usage
145-
exit 1
146145
;;
147146
arm)
148147
__BuildArch=arm
@@ -229,12 +228,19 @@ while :; do
229228
__UbuntuRepo="http://archive.ubuntu.com/ubuntu/"
230229
;;
231230
lldb*)
232-
version="${lowerI/lldb/}"
233-
parts=(${version//./ })
231+
version="$(echo "$lowerI" | tr -d '[:alpha:]-=')"
232+
majorVersion="${version%%.*}"
233+
234+
[ -z "${version##*.*}" ] && minorVersion="${version#*.}"
235+
if [ -z "$minorVersion" ]; then
236+
minorVersion=0
237+
fi
234238

235239
# for versions > 6.0, lldb has dropped the minor version
236-
if [[ "${parts[0]}" -gt 6 ]]; then
237-
version="${parts[0]}"
240+
if [ "$majorVersion" -le 6 ]; then
241+
version="$majorVersion.$minorVersion"
242+
else
243+
version="$majorVersion"
238244
fi
239245

240246
__LLDB_Package="liblldb-${version}-dev"
@@ -243,15 +249,19 @@ while :; do
243249
unset __LLDB_Package
244250
;;
245251
llvm*)
246-
version="${lowerI/llvm/}"
247-
parts=(${version//./ })
248-
__LLVM_MajorVersion="${parts[0]}"
249-
__LLVM_MinorVersion="${parts[1]}"
250-
251-
# for versions > 6.0, llvm has dropped the minor version
252-
if [[ -z "$__LLVM_MinorVersion" && "$__LLVM_MajorVersion" -le 6 ]]; then
253-
__LLVM_MinorVersion=0;
252+
version="$(echo "$lowerI" | tr -d '[:alpha:]-=')"
253+
__LLVM_MajorVersion="${version%%.*}"
254+
255+
[ -z "${version##*.*}" ] && __LLVM_MinorVersion="${version#*.}"
256+
if [ -z "$__LLVM_MinorVersion" ]; then
257+
__LLVM_MinorVersion=0
254258
fi
259+
260+
# for versions > 6.0, lldb has dropped the minor version
261+
if [ "$__LLVM_MajorVersion" -gt 6 ]; then
262+
__LLVM_MinorVersion=
263+
fi
264+
255265
;;
256266
xenial) # Ubuntu 16.04
257267
if [[ "$__CodeName" != "jessie" ]]; then
@@ -323,15 +333,14 @@ while :; do
323333
alpine*)
324334
__CodeName=alpine
325335
__UbuntuRepo=
326-
version="${lowerI/alpine/}"
327336

328-
if [[ "$version" == "edge" ]]; then
337+
if [[ "$lowerI" == "alpineedge" ]]; then
329338
__AlpineVersion=edge
330339
else
331-
parts=(${version//./ })
332-
__AlpineMajorVersion="${parts[0]}"
333-
__AlpineMinoVersion="${parts[1]}"
334-
__AlpineVersion="$__AlpineMajorVersion.$__AlpineMinoVersion"
340+
version="$(echo "$lowerI" | tr -d '[:alpha:]-=')"
341+
__AlpineMajorVersion="${version%%.*}"
342+
__AlpineMinorVersion="${version#*.}"
343+
__AlpineVersion="$__AlpineMajorVersion.$__AlpineMinorVersion"
335344
fi
336345
;;
337346
freebsd13)
@@ -454,7 +463,7 @@ if [[ "$__CodeName" == "alpine" ]]; then
454463
elif [[ "$arch" == "aarch64" ]]; then
455464
__ApkToolsSHA512SUM="9e2b37ecb2b56c05dad23d379be84fd494c14bd730b620d0d576bda760588e1f2f59a7fcb2f2080577e0085f23a0ca8eadd993b4e61c2ab29549fdb71969afd0"
456465
else
457-
echo "WARNING: add missing hash for your host architecture. To find the value, use: `find /tmp -name apk.static -exec sha512sum {} \;`"
466+
echo "WARNING: add missing hash for your host architecture. To find the value, use: 'find /tmp -name apk.static -exec sha512sum {} \;'"
458467
fi
459468
echo "$__ApkToolsSHA512SUM $__ApkToolsDir/apk.static" | sha512sum -c
460469
chmod +x "$__ApkToolsDir/apk.static"
@@ -484,12 +493,14 @@ if [[ "$__CodeName" == "alpine" ]]; then
484493
fi
485494

486495
# initialize DB
496+
# shellcheck disable=SC2086
487497
"$__ApkToolsDir/apk.static" \
488498
-X "http://dl-cdn.alpinelinux.org/alpine/$version/main" \
489499
-X "http://dl-cdn.alpinelinux.org/alpine/$version/community" \
490500
-U $__ApkSignatureArg --root "$__RootfsDir" --arch "$__AlpineArch" --initdb add
491501

492502
if [[ "$__AlpineLlvmLibsLookup" == 1 ]]; then
503+
# shellcheck disable=SC2086
493504
__AlpinePackages+=" $("$__ApkToolsDir/apk.static" \
494505
-X "http://dl-cdn.alpinelinux.org/alpine/$version/main" \
495506
-X "http://dl-cdn.alpinelinux.org/alpine/$version/community" \
@@ -498,6 +509,7 @@ if [[ "$__CodeName" == "alpine" ]]; then
498509
fi
499510

500511
# install all packages in one go
512+
# shellcheck disable=SC2086
501513
"$__ApkToolsDir/apk.static" \
502514
-X "http://dl-cdn.alpinelinux.org/alpine/$version/main" \
503515
-X "http://dl-cdn.alpinelinux.org/alpine/$version/community" \
@@ -521,6 +533,7 @@ elif [[ "$__CodeName" == "freebsd" ]]; then
521533
rm -rf "$__RootfsDir/tmp/pkg-${__FreeBSDPkg}"
522534
# install packages we need.
523535
INSTALL_AS_USER=$(whoami) "$__RootfsDir"/host/sbin/pkg -r "$__RootfsDir" -C "$__RootfsDir"/usr/local/etc/pkg.conf update
536+
# shellcheck disable=SC2086
524537
INSTALL_AS_USER=$(whoami) "$__RootfsDir"/host/sbin/pkg -r "$__RootfsDir" -C "$__RootfsDir"/usr/local/etc/pkg.conf install --yes $__FreeBSDPackages
525538
elif [[ "$__CodeName" == "illumos" ]]; then
526539
mkdir "$__RootfsDir/tmp"
@@ -582,8 +595,8 @@ elif [[ "$__CodeName" == "haiku" ]]; then
582595
mkdir "$__RootfsDir/tmp/download"
583596

584597
echo "Downloading Haiku package tool"
585-
git clone https://github.com/haiku/haiku-toolchains-ubuntu --depth 1 $__RootfsDir/tmp/script
586-
wget -O "$__RootfsDir/tmp/download/hosttools.zip" $($__RootfsDir/tmp/script/fetch.sh --hosttools)
598+
git clone https://github.com/haiku/haiku-toolchains-ubuntu --depth 1 "$__RootfsDir/tmp/script"
599+
wget -O "$__RootfsDir/tmp/download/hosttools.zip" "$("$__RootfsDir/tmp/script/fetch.sh" --hosttools)"
587600
unzip -o "$__RootfsDir/tmp/download/hosttools.zip" -d "$__RootfsDir/tmp/bin"
588601

589602
DepotBaseUrl="https://depot.haiku-os.org/__api/v2/pkg/get-pkg"
@@ -616,7 +629,7 @@ elif [[ "$__CodeName" == "haiku" ]]; then
616629

617630
# Download buildtools
618631
echo "Downloading Haiku buildtools"
619-
wget -O "$__RootfsDir/tmp/download/buildtools.zip" $($__RootfsDir/tmp/script/fetch.sh --buildtools --arch=$__HaikuArch)
632+
wget -O "$__RootfsDir/tmp/download/buildtools.zip" "$("$__RootfsDir/tmp/script/fetch.sh" --buildtools --arch=$__HaikuArch)"
620633
unzip -o "$__RootfsDir/tmp/download/buildtools.zip" -d "$__RootfsDir"
621634

622635
# Cleaning up temporary files
@@ -629,10 +642,12 @@ elif [[ -n "$__CodeName" ]]; then
629642
__Keyring="$__Keyring --force-check-gpg"
630643
fi
631644

645+
# shellcheck disable=SC2086
632646
debootstrap "--variant=minbase" $__Keyring --arch "$__UbuntuArch" "$__CodeName" "$__RootfsDir" "$__UbuntuRepo"
633647
cp "$__CrossDir/$__BuildArch/sources.list.$__CodeName" "$__RootfsDir/etc/apt/sources.list"
634648
chroot "$__RootfsDir" apt-get update
635649
chroot "$__RootfsDir" apt-get -f -y install
650+
# shellcheck disable=SC2086
636651
chroot "$__RootfsDir" apt-get -y install $__UbuntuPackages
637652
chroot "$__RootfsDir" symlinks -cr /usr
638653
chroot "$__RootfsDir" apt-get clean
@@ -650,6 +665,5 @@ elif [[ "$__Tizen" == "tizen" ]]; then
650665
ROOTFS_DIR="$__RootfsDir" "$__CrossDir/tizen-build-rootfs.sh" "$__BuildArch"
651666
else
652667
echo "Unsupported target platform."
653-
usage;
654-
exit 1
668+
usage
655669
fi

global.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
}
1515
},
1616
"msbuild-sdks": {
17-
"Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.24207.1",
18-
"Microsoft.DotNet.Helix.Sdk": "9.0.0-beta.24207.1",
17+
"Microsoft.DotNet.Arcade.Sdk": "9.0.0-beta.24208.8",
18+
"Microsoft.DotNet.Helix.Sdk": "9.0.0-beta.24208.8",
1919
"Microsoft.Build.NoTargets": "3.7.0"
2020
}
2121
}

0 commit comments

Comments
 (0)