Skip to content
This repository has been archived by the owner on Nov 20, 2023. It is now read-only.

[main] Update dependencies from dotnet/arcade #1598

Open
wants to merge 117 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
117 commits
Select commit Hold shift + click to select a range
18f1ba0
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jun 22, 2023
85d6371
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jun 24, 2023
146c94b
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jun 27, 2023
d633189
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jun 28, 2023
b265b2b
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jun 29, 2023
2961aa7
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jun 30, 2023
84ceab0
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jul 1, 2023
2aa2674
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jul 4, 2023
ea1d990
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jul 7, 2023
ad0dc8b
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jul 8, 2023
d3d9c0c
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jul 10, 2023
1f43723
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jul 11, 2023
c65adf8
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jul 12, 2023
33dd6dd
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jul 13, 2023
6d4acbc
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jul 14, 2023
fe45d58
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jul 15, 2023
3d014ef
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jul 20, 2023
e980cf5
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jul 21, 2023
e111024
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jul 22, 2023
9246fbe
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jul 27, 2023
9226c20
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jul 28, 2023
174fc6d
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Jul 29, 2023
8851c78
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Aug 1, 2023
37ea18a
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Aug 2, 2023
50ab0ea
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Aug 3, 2023
17846e0
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Aug 4, 2023
1eb6bff
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Aug 5, 2023
6a281c3
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Aug 8, 2023
3812b47
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Aug 9, 2023
586714f
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Aug 10, 2023
4ed8c59
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Aug 12, 2023
ade39b1
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Aug 15, 2023
cff168a
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Aug 16, 2023
ced2009
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Aug 18, 2023
4fa5347
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Aug 20, 2023
b0219a6
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Aug 23, 2023
09bfd4a
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Aug 26, 2023
8bbf4f9
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Aug 29, 2023
0932ae1
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Aug 30, 2023
8bc2a4d
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 1, 2023
cc3f8e1
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 2, 2023
e225eed
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 6, 2023
3fe1d9d
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 7, 2023
6e9b46b
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 8, 2023
b9c5161
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 9, 2023
8a95193
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 10, 2023
4d4ca31
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 11, 2023
fc8282c
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 12, 2023
a1e598b
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 13, 2023
a659800
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 14, 2023
3d2c938
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 15, 2023
9dcbf54
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 16, 2023
e7073f7
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 17, 2023
39568d1
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 18, 2023
ea1334d
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 19, 2023
5a348ab
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 20, 2023
b89f8a3
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 21, 2023
cb910e2
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 22, 2023
5b259c1
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 23, 2023
2c895fb
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 24, 2023
ff7437e
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 25, 2023
68ad1ad
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 26, 2023
7d34eaa
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 27, 2023
9cdac97
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 28, 2023
310abae
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 29, 2023
76fec24
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Sep 30, 2023
6f7c57f
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Oct 1, 2023
0a9e9e6
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Oct 2, 2023
5b87ce8
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Oct 3, 2023
841f26f
Update dependencies from https://github.com/dotnet/arcade build 20230…
dotnet-maestro[bot] Oct 4, 2023
6e2d766
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 5, 2023
27df9a9
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 6, 2023
c4d2245
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 7, 2023
b4a188c
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 8, 2023
3efda36
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 9, 2023
389a016
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 10, 2023
a4ecf79
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 11, 2023
18dc874
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 12, 2023
4ecd8f5
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 13, 2023
70ccca9
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 14, 2023
358dd29
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 15, 2023
5fca15c
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 16, 2023
3113452
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 17, 2023
b50ec9a
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 18, 2023
fb42112
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 19, 2023
14c3277
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 20, 2023
6e6d937
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 21, 2023
89ba573
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 22, 2023
95b98c3
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 23, 2023
d11b96a
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 24, 2023
ec4a63c
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 25, 2023
57f426f
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 26, 2023
40b59c1
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 27, 2023
839c93e
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 28, 2023
6249121
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 29, 2023
bbf26a6
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 30, 2023
161aa3a
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Oct 31, 2023
9155693
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Nov 1, 2023
5a3e996
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Nov 2, 2023
7c69068
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Nov 3, 2023
d3186cd
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Nov 4, 2023
49658e9
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Nov 5, 2023
26051b2
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Nov 6, 2023
26aa360
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Nov 7, 2023
e3d402e
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Nov 8, 2023
ebecdb7
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Nov 9, 2023
cfa57c0
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Nov 10, 2023
a7a85aa
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Nov 11, 2023
5de069f
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Nov 12, 2023
6ce9dc4
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Nov 13, 2023
720b48b
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Nov 14, 2023
5342c95
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Nov 15, 2023
6a28dca
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Nov 16, 2023
1a40053
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Nov 17, 2023
9ffacd4
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Nov 18, 2023
b60dd8f
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Nov 19, 2023
5714d52
Update dependencies from https://github.com/dotnet/arcade build 20231…
dotnet-maestro[bot] Nov 20, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
20 changes: 10 additions & 10 deletions eng/Version.Details.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@
<ProductDependencies>
</ProductDependencies>
<ToolsetDependencies>
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="8.0.0-beta.23265.1">
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="9.0.0-beta.23567.1">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>2d8d59065b5e090584a8e90c4371fc06ed60bdc5</Sha>
<Sha>b6801170e6ca8bf12bdff1f10d410c5e01660681</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="8.0.0-beta.23265.1">
<Dependency Name="Microsoft.DotNet.Build.Tasks.Feed" Version="9.0.0-beta.23567.1">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>2d8d59065b5e090584a8e90c4371fc06ed60bdc5</Sha>
<Sha>b6801170e6ca8bf12bdff1f10d410c5e01660681</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.SignTool" Version="8.0.0-beta.23265.1">
<Dependency Name="Microsoft.DotNet.SignTool" Version="9.0.0-beta.23567.1">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>2d8d59065b5e090584a8e90c4371fc06ed60bdc5</Sha>
<Sha>b6801170e6ca8bf12bdff1f10d410c5e01660681</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="8.0.0-beta.23265.1">
<Dependency Name="Microsoft.DotNet.Helix.Sdk" Version="9.0.0-beta.23567.1">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>2d8d59065b5e090584a8e90c4371fc06ed60bdc5</Sha>
<Sha>b6801170e6ca8bf12bdff1f10d410c5e01660681</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.SwaggerGenerator.MSBuild" Version="8.0.0-beta.23265.1">
<Dependency Name="Microsoft.DotNet.SwaggerGenerator.MSBuild" Version="9.0.0-beta.23567.1">
<Uri>https://github.com/dotnet/arcade</Uri>
<Sha>2d8d59065b5e090584a8e90c4371fc06ed60bdc5</Sha>
<Sha>b6801170e6ca8bf12bdff1f10d410c5e01660681</Sha>
</Dependency>
<Dependency Name="Microsoft.DotNet.Maestro.Client" Version="1.1.0-beta.19556.4">
<Uri>https://github.com/dotnet/arcade-services</Uri>
Expand Down
2 changes: 1 addition & 1 deletion eng/common/SetupNugetSources.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ if ($dotnet31Source -ne $null) {
AddPackageSource -Sources $sources -SourceName "dotnet3.1-internal-transport" -SourceEndPoint "https://pkgs.dev.azure.com/dnceng/_packaging/dotnet3.1-internal-transport/nuget/v2" -Creds $creds -Username $userName -Password $Password
}

$dotnetVersions = @('5','6','7')
$dotnetVersions = @('5','6','7','8')

foreach ($dotnetVersion in $dotnetVersions) {
$feedPrefix = "dotnet" + $dotnetVersion;
Expand Down
2 changes: 1 addition & 1 deletion eng/common/SetupNugetSources.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ if [ "$?" == "0" ]; then
PackageSources+=('dotnet3.1-internal-transport')
fi

DotNetVersions=('5' '6' '7')
DotNetVersions=('5' '6' '7' '8')

for DotNetVersion in ${DotNetVersions[@]} ; do
FeedPrefix="dotnet${DotNetVersion}";
Expand Down
2 changes: 1 addition & 1 deletion eng/common/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ while [[ $# > 0 ]]; do
-binarylog|-bl)
binary_log=true
;;
-excludeCIBinarylog|-nobl)
-excludecibinarylog|-nobl)
exclude_ci_binary_log=true
;;
-pipelineslog|-pl)
Expand Down
2 changes: 1 addition & 1 deletion eng/common/cross/build-rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -487,7 +487,7 @@ if [[ "$__CodeName" == "alpine" ]]; then
-X "http://dl-cdn.alpinelinux.org/alpine/$version/main" \
-X "http://dl-cdn.alpinelinux.org/alpine/$version/community" \
-U $__ApkSignatureArg --root "$__RootfsDir" --arch "$__AlpineArch" \
search 'llvm*-libs' | sort | tail -1 | sed 's/-[^-]*//2g')"
search 'llvm*-libs' | grep -E '^llvm' | sort | tail -1 | sed 's/-[^-]*//2g')"
fi

# install all packages in one go
Expand Down
9 changes: 9 additions & 0 deletions eng/common/cross/riscv64/tizen/tizen.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
diff -u -r a/usr/lib/libc.so b/usr/lib/libc.so
--- a/usr/lib64/libc.so 2016-12-30 23:00:08.284951863 +0900
+++ b/usr/lib64/libc.so 2016-12-30 23:00:32.140951815 +0900
@@ -2,4 +2,4 @@
Use the shared library, but some functions are only in
the static library, so try that secondarily. */
OUTPUT_FORMAT(elf64-littleriscv)
-GROUP ( /lib64/libc.so.6 /usr/lib64/libc_nonshared.a AS_NEEDED ( /lib64/ld-linux-riscv64-lp64d.so.1 ) )
+GROUP ( libc.so.6 libc_nonshared.a AS_NEEDED ( ld-linux-riscv64-lp64d.so.1 ) )
21 changes: 21 additions & 0 deletions eng/common/cross/tizen-build-rootfs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ case "$ARCH" in
TIZEN_ARCH="x86_64"
LINK_ARCH="x86"
;;
riscv64)
TIZEN_ARCH="riscv64"
LINK_ARCH="riscv"
;;
*)
echo "Unsupported architecture for tizen: $ARCH"
exit 1
Expand Down Expand Up @@ -58,4 +62,21 @@ rm -rf $TIZEN_TMP_DIR
echo ">>Start configuring Tizen rootfs"
ln -sfn asm-${LINK_ARCH} ./usr/include/asm
patch -p1 < $__TIZEN_CROSSDIR/tizen.patch
if [[ "$TIZEN_ARCH" == "riscv64" ]]; then
echo "Fixing broken symlinks in $PWD"
rm ./usr/lib64/libresolv.so
ln -s ../../lib64/libresolv.so.2 ./usr/lib64/libresolv.so
rm ./usr/lib64/libpthread.so
ln -s ../../lib64/libpthread.so.0 ./usr/lib64/libpthread.so
rm ./usr/lib64/libdl.so
ln -s ../../lib64/libdl.so.2 ./usr/lib64/libdl.so
rm ./usr/lib64/libutil.so
ln -s ../../lib64/libutil.so.1 ./usr/lib64/libutil.so
rm ./usr/lib64/libm.so
ln -s ../../lib64/libm.so.6 ./usr/lib64/libm.so
rm ./usr/lib64/librt.so
ln -s ../../lib64/librt.so.1 ./usr/lib64/librt.so
rm ./lib/ld-linux-riscv64-lp64d.so.1
ln -s ../lib64/ld-linux-riscv64-lp64d.so.1 ./lib/ld-linux-riscv64-lp64d.so.1
fi
echo "<<Finish configuring Tizen rootfs"
17 changes: 14 additions & 3 deletions eng/common/cross/tizen-fetch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -156,17 +156,28 @@ fetch_tizen_pkgs()
done
}

if [ "$TIZEN_ARCH" == "riscv64" ]; then
BASE="Tizen-Base-RISCV"
UNIFIED="Tizen-Unified-RISCV"
else
BASE="Tizen-Base"
UNIFIED="Tizen-Unified"
fi

Inform "Initialize ${TIZEN_ARCH} base"
fetch_tizen_pkgs_init standard Tizen-Base
fetch_tizen_pkgs_init standard $BASE
Inform "fetch common packages"
fetch_tizen_pkgs ${TIZEN_ARCH} gcc gcc-devel-static glibc glibc-devel libicu libicu-devel libatomic linux-glibc-devel keyutils keyutils-devel libkeyutils
Inform "fetch coreclr packages"
fetch_tizen_pkgs ${TIZEN_ARCH} lldb lldb-devel libgcc libstdc++ libstdc++-devel libunwind libunwind-devel lttng-ust-devel lttng-ust userspace-rcu-devel userspace-rcu
fetch_tizen_pkgs ${TIZEN_ARCH} libgcc libstdc++ libstdc++-devel libunwind libunwind-devel lttng-ust-devel lttng-ust userspace-rcu-devel userspace-rcu
if [ "$TIZEN_ARCH" != "riscv64" ]; then
fetch_tizen_pkgs ${TIZEN_ARCH} lldb lldb-devel
fi
Inform "fetch corefx packages"
fetch_tizen_pkgs ${TIZEN_ARCH} libcom_err libcom_err-devel zlib zlib-devel libopenssl11 libopenssl1.1-devel krb5 krb5-devel

Inform "Initialize standard unified"
fetch_tizen_pkgs_init standard Tizen-Unified
fetch_tizen_pkgs_init standard $UNIFIED
Inform "fetch corefx packages"
fetch_tizen_pkgs ${TIZEN_ARCH} gssdp gssdp-devel tizen-release

15 changes: 13 additions & 2 deletions eng/common/cross/toolchain.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ elseif(TARGET_ARCH_NAME STREQUAL "riscv64")
set(TOOLCHAIN "riscv64-alpine-linux-musl")
else()
set(TOOLCHAIN "riscv64-linux-gnu")
if(TIZEN)
set(TIZEN_TOOLCHAIN "riscv64-tizen-linux-gnu/13.1.0")
endif()
endif()
elseif(TARGET_ARCH_NAME STREQUAL "s390x")
set(CMAKE_SYSTEM_PROCESSOR s390x)
Expand Down Expand Up @@ -144,6 +147,10 @@ if(TIZEN)
include_directories(SYSTEM ${CROSS_ROOTFS}/usr/lib64/gcc/${TIZEN_TOOLCHAIN}/include/c++/)
include_directories(SYSTEM ${CROSS_ROOTFS}/usr/lib64/gcc/${TIZEN_TOOLCHAIN}/include/c++/x86_64-tizen-linux-gnu)
endif()
if(TARGET_ARCH_NAME STREQUAL "riscv64")
include_directories(SYSTEM ${CROSS_ROOTFS}/usr/lib64/gcc/${TIZEN_TOOLCHAIN}/include/c++/)
include_directories(SYSTEM ${CROSS_ROOTFS}/usr/lib64/gcc/${TIZEN_TOOLCHAIN}/include/c++/riscv64-tizen-linux-gnu)
endif()
endif()

if(ANDROID)
Expand Down Expand Up @@ -207,6 +214,7 @@ elseif(ILLUMOS)
set(CMAKE_CXX_STANDARD_LIBRARIES "${CMAKE_CXX_STANDARD_LIBRARIES} -lssp")
elseif(HAIKU)
set(CMAKE_SYSROOT "${CROSS_ROOTFS}")
set(CMAKE_PROGRAM_PATH "${CMAKE_PROGRAM_PATH};${CROSS_ROOTFS}/cross-tools-x86_64/bin")

set(TOOLSET_PREFIX ${TOOLCHAIN}-)
function(locate_toolchain_exec exec var)
Expand All @@ -217,7 +225,6 @@ elseif(HAIKU)
endif()

find_program(EXEC_LOCATION_${exec}
PATHS "${CROSS_ROOTFS}/cross-tools-x86_64/bin"
NAMES
"${TOOLSET_PREFIX}${exec}${CLR_CMAKE_COMPILER_FILE_NAME_VERSION}"
"${TOOLSET_PREFIX}${exec}")
Expand Down Expand Up @@ -270,7 +277,7 @@ if(TARGET_ARCH_NAME MATCHES "^(arm|armel)$")
add_toolchain_linker_flag("-L${CROSS_ROOTFS}/usr/lib")
add_toolchain_linker_flag("-L${CROSS_ROOTFS}/usr/lib/gcc/${TIZEN_TOOLCHAIN}")
endif()
elseif(TARGET_ARCH_NAME MATCHES "^(arm64|x64)$")
elseif(TARGET_ARCH_NAME MATCHES "^(arm64|x64|riscv64)$")
if(TIZEN)
add_toolchain_linker_flag("-B${CROSS_ROOTFS}/usr/lib64/gcc/${TIZEN_TOOLCHAIN}")
add_toolchain_linker_flag("-L${CROSS_ROOTFS}/lib64")
Expand All @@ -281,6 +288,8 @@ elseif(TARGET_ARCH_NAME MATCHES "^(arm64|x64)$")
add_toolchain_linker_flag("-Wl,--rpath-link=${CROSS_ROOTFS}/usr/lib64")
add_toolchain_linker_flag("-Wl,--rpath-link=${CROSS_ROOTFS}/usr/lib64/gcc/${TIZEN_TOOLCHAIN}")
endif()
elseif(TARGET_ARCH_NAME STREQUAL "s390x")
add_toolchain_linker_flag("--target=${TOOLCHAIN}")
elseif(TARGET_ARCH_NAME STREQUAL "x86")
if(EXISTS ${CROSS_ROOTFS}/usr/lib/gcc/i586-alpine-linux-musl)
add_toolchain_linker_flag("--target=${TOOLCHAIN}")
Expand Down Expand Up @@ -328,6 +337,8 @@ if(TARGET_ARCH_NAME MATCHES "^(arm|armel)$")
if(TARGET_ARCH_NAME STREQUAL "armel")
add_compile_options(-mfloat-abi=softfp)
endif()
elseif(TARGET_ARCH_NAME STREQUAL "s390x")
add_compile_options("--target=${TOOLCHAIN}")
elseif(TARGET_ARCH_NAME STREQUAL "x86")
if(EXISTS ${CROSS_ROOTFS}/usr/lib/gcc/i586-alpine-linux-musl)
add_compile_options(--target=${TOOLCHAIN})
Expand Down
4 changes: 4 additions & 0 deletions eng/common/dotnet-install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,10 @@ cpuname=$(uname -m)
case $cpuname in
arm64|aarch64)
buildarch=arm64
if [ "$(getconf LONG_BIT)" -lt 64 ]; then
# This is 32-bit OS running on 64-bit CPU (for example Raspberry Pi OS)
buildarch=arm
fi
;;
loongarch64)
buildarch=loongarch64
Expand Down
Binary file modified eng/common/loc/P22DotNetHtmlLocalization.lss
Binary file not shown.
2 changes: 1 addition & 1 deletion eng/common/native/init-compiler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ if [ -z "$CLR_CC" ]; then
# Set default versions
if [ -z "$majorVersion" ]; then
# note: gcc (all versions) and clang versions higher than 6 do not have minor version in file name, if it is zero.
if [ "$compiler" = "clang" ]; then versions="16 15 14 13 12 11 10 9 8 7 6.0 5.0 4.0 3.9 3.8 3.7 3.6 3.5"
if [ "$compiler" = "clang" ]; then versions="17 16 15 14 13 12 11 10 9 8 7 6.0 5.0 4.0 3.9 3.8 3.7 3.6 3.5"
elif [ "$compiler" = "gcc" ]; then versions="13 12 11 10 9 8 7 6 5 4.9"; fi

for version in $versions; do
Expand Down
130 changes: 130 additions & 0 deletions eng/common/native/init-distro-rid.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
#!/usr/bin/env bash

# getNonPortableDistroRid
#
# Input:
# targetOs: (str)
# targetArch: (str)
# rootfsDir: (str)
#
# Return:
# non-portable rid
getNonPortableDistroRid()
{
local targetOs="$1"
local targetArch="$2"
local rootfsDir="$3"
local nonPortableRid=""

if [ "$targetOs" = "linux" ]; then
if [ -e "${rootfsDir}/etc/os-release" ]; then
source "${rootfsDir}/etc/os-release"

if [[ "${ID}" == "rhel" || "${ID}" == "rocky" || "${ID}" == "alpine" ]]; then
# remove the last version digit
VERSION_ID="${VERSION_ID%.*}"
fi

if [[ "${VERSION_ID:-}" =~ ^([[:digit:]]|\.)+$ ]]; then
nonPortableRid="${ID}.${VERSION_ID}-${targetArch}"
else
# Rolling release distros either do not set VERSION_ID, set it as blank or
# set it to non-version looking string (such as TEMPLATE_VERSION_ID on ArchLinux);
# so omit it here to be consistent with everything else.
nonPortableRid="${ID}-${targetArch}"
fi

elif [ -e "${rootfsDir}/android_platform" ]; then
source "$rootfsDir"/android_platform
nonPortableRid="$RID"
fi
fi

if [ "$targetOs" = "freebsd" ]; then
# $rootfsDir can be empty. freebsd-version is shell script and it should always work.
__freebsd_major_version=$($rootfsDir/bin/freebsd-version | { read v; echo "${v%%.*}"; })
nonPortableRid="freebsd.$__freebsd_major_version-${targetArch}"
elif command -v getprop && getprop ro.product.system.model 2>&1 | grep -qi android; then
__android_sdk_version=$(getprop ro.build.version.sdk)
nonPortableRid="android.$__android_sdk_version-${targetArch}"
elif [ "$targetOs" = "illumos" ]; then
__uname_version=$(uname -v)
case "$__uname_version" in
omnios-*)
__omnios_major_version=$(echo "${__uname_version:8:2}")
nonPortableRid=omnios."$__omnios_major_version"-"$targetArch"
;;
joyent_*)
__smartos_major_version=$(echo "${__uname_version:7:4}")
nonPortableRid=smartos."$__smartos_major_version"-"$targetArch"
;;
illumos_*)
nonPortableRid=openindiana-"$targetArch"
;;
esac
elif [ "$targetOs" = "solaris" ]; then
__uname_version=$(uname -v)
__solaris_major_version=$(echo "${__uname_version%.*}")
nonPortableRid=solaris."$__solaris_major_version"-"$targetArch"
elif [ "$targetOs" = "haiku" ]; then
__uname_release=$(uname -r)
nonPortableRid=haiku.r"$__uname_release"-"$targetArch"
fi

echo "$(echo $nonPortableRid | tr '[:upper:]' '[:lower:]')"
}

# initDistroRidGlobal
#
# Input:
# os: (str)
# arch: (str)
# rootfsDir?: (nullable:string)
#
# Return:
# None
#
# Notes:
#
# It is important to note that the function does not return anything, but it
# exports the following variables on success:
#
# __DistroRid : Non-portable rid of the target platform.
# __PortableTargetOS : OS-part of the portable rid that corresponds to the target platform.
#
initDistroRidGlobal()
{
local targetOs="$1"
local targetArch="$2"
local rootfsDir=""
if [ "$#" -ge 3 ]; then
rootfsDir="$3"
fi

if [ -n "${rootfsDir}" ]; then
# We may have a cross build. Check for the existence of the rootfsDir
if [ ! -e "${rootfsDir}" ]; then
echo "Error rootfsDir has been passed, but the location is not valid."
exit 1
fi
fi

__DistroRid=$(getNonPortableDistroRid "${targetOs}" "${targetArch}" "${rootfsDir}")

if [ -z "${__PortableTargetOS:-}" ]; then
__PortableTargetOS="$targetOs"

STRINGS="$(command -v strings || true)"
if [ -z "$STRINGS" ]; then
STRINGS="$(command -v llvm-strings || true)"
fi

# Check for musl-based distros (e.g Alpine Linux, Void Linux).
if "${rootfsDir}/usr/bin/ldd" --version 2>&1 | grep -q musl ||
( [ -n "$STRINGS" ] && "$STRINGS" "${rootfsDir}/usr/bin/ldd" 2>&1 | grep -q musl ); then
__PortableTargetOS="linux-musl"
fi
fi

export __DistroRid __PortableTargetOS
}
Loading
Loading