Skip to content

Commit 51b963f

Browse files
committed
Solving merge conflict and updating S.CL version
2 parents d442f76 + 1297f6f commit 51b963f

File tree

13 files changed

+215
-91
lines changed

13 files changed

+215
-91
lines changed

Directory.Packages.props

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,14 @@
1111
<PackageVersion Include="Microsoft.Build.Locator" Version="$(MicrosoftBuildLocatorVersion)" />
1212
<PackageVersion Include="Microsoft.Build" Version="$(MicrosoftBuildVersion)"/>
1313
<PackageVersion Include="Microsoft.CodeAnalysis.Analyzer.Testing" Version="$(MicrosoftCodeAnalysisAnalzerTestingVersion)" />
14-
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Features" Version="$(MicrosoftNetCompilersToolsetPackageVersion)" />
15-
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="$(MicrosoftNetCompilersToolsetPackageVersion)" />
16-
<PackageVersion Include="Microsoft.CodeAnalysis.Features" Version="$(MicrosoftNetCompilersToolsetPackageVersion)" />
17-
<PackageVersion Include="Microsoft.CodeAnalysis.VisualBasic.Features" Version="$(MicrosoftNetCompilersToolsetPackageVersion)" />
18-
<PackageVersion Include="Microsoft.CodeAnalysis.VisualBasic.Workspaces" Version="$(MicrosoftNetCompilersToolsetPackageVersion)" />
19-
<PackageVersion Include="Microsoft.CodeAnalysis.VisualBasic" Version="$(MicrosoftNetCompilersToolsetPackageVersion)" />
20-
<PackageVersion Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="$(MicrosoftNetCompilersToolsetPackageVersion)" />
21-
<PackageVersion Include="Microsoft.CodeAnalysis" Version="$(MicrosoftNetCompilersToolsetPackageVersion)" />
14+
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp.Features" Version="$(MicrosoftCodeAnalysisVersion)" />
15+
<PackageVersion Include="Microsoft.CodeAnalysis.CSharp" Version="$(MicrosoftCodeAnalysisVersion)" />
16+
<PackageVersion Include="Microsoft.CodeAnalysis.Features" Version="$(MicrosoftCodeAnalysisVersion)" />
17+
<PackageVersion Include="Microsoft.CodeAnalysis.VisualBasic.Features" Version="$(MicrosoftCodeAnalysisVersion)" />
18+
<PackageVersion Include="Microsoft.CodeAnalysis.VisualBasic.Workspaces" Version="$(MicrosoftCodeAnalysisVersion)" />
19+
<PackageVersion Include="Microsoft.CodeAnalysis.VisualBasic" Version="$(MicrosoftCodeAnalysisVersion)" />
20+
<PackageVersion Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="$(MicrosoftCodeAnalysisVersion)" />
21+
<PackageVersion Include="Microsoft.CodeAnalysis" Version="$(MicrosoftCodeAnalysisVersion)" />
2222
<PackageVersion Include="Microsoft.DiaSymReader" Version="$(MicrosoftDiaSymReaderVersion)" />
2323
<PackageVersion Include="Microsoft.Extensions.FileSystemGlobbing" Version="$(MicrosoftExtensionsFileSystemGlobbingVersion)" />
2424
<PackageVersion Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsLoggingVersion)" />

NuGet.config

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44
<clear />
55
<add key="dotnet-eng" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-eng/nuget/v3/index.json" />
66
<add key="dotnet-libraries" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries/nuget/v3/index.json" />
7+
<add key="dotnet-libraries-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-libraries-transport/nuget/v3/index.json" />
8+
<add key="dotnet8" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8/nuget/v3/index.json" />
9+
<add key="dotnet8-transport" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet8-transport/nuget/v3/index.json" />
710
<add key="dotnet-tools" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-tools/nuget/v3/index.json" />
811
<add key="dotnet-public" value="https://pkgs.dev.azure.com/dnceng/public/_packaging/dotnet-public/nuget/v3/index.json" />
912
</packageSources>
@@ -18,6 +21,16 @@
1821
</packageSource>
1922
<packageSource key="dotnet-libraries">
2023
<package pattern="System.*" />
24+
<package pattern="Microsoft.*" />
25+
</packageSource>
26+
<packageSource key="dotnet-libraries-transport">
27+
<package pattern="Microsoft.*" />
28+
</packageSource>
29+
<packageSource key="dotnet8">
30+
<package pattern="Microsoft.*" />
31+
</packageSource>
32+
<packageSource key="dotnet8-transport">
33+
<package pattern="Microsoft.*" />
2134
</packageSource>
2235
<packageSource key="dotnet-tools">
2336
<package pattern="Microsoft.*" />

azure-pipelines-official.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ stages:
2626
displayName: Official Build
2727

2828
steps:
29-
- task: ms-vseng.MicroBuildTasks.30666190-6959-11e5-9f96-f56098202fef.MicroBuildSigningPlugin@1
29+
- task: ms-vseng.MicroBuildTasks.30666190-6959-11e5-9f96-f56098202fef.MicroBuildSigningPlugin@3
3030
displayName: Install Signing Plugin
3131
inputs:
3232
signType: $(SignType)
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
<UsageData>
22
<IgnorePatterns>
3-
<UsagePattern IdentityGlob="*/*" />
3+
<UsagePattern IdentityGlob="Microsoft.SourceBuild.Intermediate.*/*" />
4+
5+
<!-- This is a transitive dependency from Microsoft.CodeAnalysis.
6+
This version does not have source build intermediate.
7+
When a newer version is picked up, the intermediate should be utilized. -->
8+
<UsagePattern IdentityGlob="Microsoft.CodeAnalysis.AnalyzerUtilities/*3.3.0*" />
49
</IgnorePatterns>
510
</UsageData>

eng/Version.Details.xml

Lines changed: 44 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,59 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<Dependencies>
33
<ProductDependencies>
4-
<Dependency Name="Microsoft.Net.Compilers.Toolset" Version="4.7.0-1.23205.4">
4+
<Dependency Name="Microsoft.CodeAnalysis" Version="4.7.0-2.23271.1">
55
<Uri>https://github.com/dotnet/roslyn</Uri>
6-
<Sha>d7a4cad21c39e18f3d5e1f7fa7dd3f93668066b4</Sha>
6+
<Sha>687921ffae8ad91a5464473cb1759fd463c345f2</Sha>
7+
<SourceBuild RepoName="roslyn" ManagedOnly="true" />
78
</Dependency>
8-
<Dependency Name="System.CommandLine" Version="2.0.0-beta4.23219.2">
9+
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-externals" Version="8.0.0-alpha.1.23221.1">
10+
<Uri>https://github.com/dotnet/source-build-externals</Uri>
11+
<Sha>834923aef31d157aec19a2b99d5494cea29dcc9e</Sha>
12+
<SourceBuild RepoName="source-build-externals" ManagedOnly="true" />
13+
</Dependency>
14+
<Dependency Name="Microsoft.SourceBuild.Intermediate.source-build-reference-packages" Version="8.0.0-alpha.1.23253.2">
15+
<Uri>https://github.com/dotnet/source-build-reference-packages</Uri>
16+
<Sha>c65b02aef21850de618d37a5304d3bbd829c2733</Sha>
17+
<SourceBuild RepoName="source-build-reference-packages" ManagedOnly="true" />
18+
</Dependency>
19+
<Dependency Name="Microsoft.SourceBuild.Intermediate.symreader" Version="2.0.0-beta-23228-04">
20+
<Uri>https://github.com/dotnet/symreader</Uri>
21+
<Sha>27e584661980ee6d82c419a2a471ae505b7d122e</Sha>
22+
<SourceBuild RepoName="symreader" ManagedOnly="true" />
23+
</Dependency>
24+
<Dependency Name="Microsoft.DiaSymReader" Version="2.0.0">
25+
<Uri>https://github.com/dotnet/symreader</Uri>
26+
<Sha>27e584661980ee6d82c419a2a471ae505b7d122e</Sha>
27+
</Dependency>
28+
<Dependency Name="Microsoft.SourceBuild.Intermediate.command-line-api" Version="0.1.356401">
929
<Uri>https://github.com/dotnet/command-line-api</Uri>
10-
<Sha>87704ce036fb23a4174b8290f249706aa35ab255</Sha>
30+
<Sha>8374d5fca634a93458c84414b1604c12f765d1ab</Sha>
31+
<SourceBuild RepoName="command-line-api" ManagedOnly="true" />
1132
</Dependency>
12-
<Dependency Name="System.CommandLine.Rendering" Version="0.4.0-alpha.23219.2">
33+
<Dependency Name="System.CommandLine" Version="2.0.0-beta4.23307.1">
1334
<Uri>https://github.com/dotnet/command-line-api</Uri>
14-
<Sha>87704ce036fb23a4174b8290f249706aa35ab255</Sha>
35+
<Sha>02fe27cd6a9b001c8feb7938e6ef4b3799745759</Sha>
36+
</Dependency>
37+
<Dependency Name="System.CommandLine.Rendering" Version="0.4.0-alpha.23307.1">
38+
<Uri>https://github.com/dotnet/command-line-api</Uri>
39+
<Sha>02fe27cd6a9b001c8feb7938e6ef4b3799745759</Sha>
1540
</Dependency>
1641
</ProductDependencies>
1742
<ToolsetDependencies>
18-
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="8.0.0-beta.23224.5">
43+
<Dependency Name="Microsoft.DotNet.Arcade.Sdk" Version="8.0.0-beta.23269.2">
1944
<Uri>https://github.com/dotnet/arcade</Uri>
20-
<Sha>092ad720c43c79eb081a52e129399b1980f6de41</Sha>
45+
<Sha>792c346a52b2388152c2fad6f626b88ed8736d6f</Sha>
46+
<SourceBuild RepoName="arcade" ManagedOnly="true" />
47+
</Dependency>
48+
<Dependency Name="Microsoft.SourceLink.GitHub" Version="8.0.0-beta.23252.2" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
49+
<Uri>https://github.com/dotnet/sourcelink</Uri>
50+
<Sha>54eb3b811c57f5e94617d31a102fc9cb664ccdd5</Sha>
51+
<SourceBuild RepoName="sourcelink" ManagedOnly="true" />
52+
</Dependency>
53+
<Dependency Name="Microsoft.DotNet.XliffTasks" Version="1.0.0-beta.23266.1" CoherentParentDependency="Microsoft.DotNet.Arcade.Sdk">
54+
<Uri>https://github.com/dotnet/xliff-tasks</Uri>
55+
<Sha>9e7fbcab4e5275f63c0cd37553ba426de9194309</Sha>
56+
<SourceBuild RepoName="xliff-tasks" ManagedOnly="true" />
2157
</Dependency>
2258
</ToolsetDependencies>
2359
</Dependencies>

eng/Versions.props

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
</PropertyGroup>
1818
<PropertyGroup>
1919
<!-- command-line-api -->
20-
<SystemCommandLineVersion>2.0.0-beta4.23219.2</SystemCommandLineVersion>
21-
<SystemCommandLineRenderingVersion>0.4.0-alpha.23219.2</SystemCommandLineRenderingVersion>
20+
<SystemCommandLineVersion>2.0.0-beta4.23307.1</SystemCommandLineVersion>
21+
<SystemCommandLineRenderingVersion>0.4.0-alpha.23307.1</SystemCommandLineRenderingVersion>
2222
<!-- corefx -->
2323
<MicrosoftVisualBasicVersion>10.3.0</MicrosoftVisualBasicVersion>
2424
<!-- msbuild -->
@@ -29,14 +29,14 @@
2929
<!-- In order tests against the same version of NuGet as the SDK. We have to set this to match. -->
3030
<NuGetVersion>6.6.0-preview.3.61</NuGetVersion>
3131
<!-- roslyn -->
32-
<MicrosoftNetCompilersToolsetPackageVersion>4.5.0-3.22602.7</MicrosoftNetCompilersToolsetPackageVersion>
32+
<MicrosoftCodeAnalysisVersion>4.7.0-2.23271.1</MicrosoftCodeAnalysisVersion>
3333
<!-- roslyn-sdk -->
3434
<MicrosoftCodeAnalysisAnalzerTestingVersion>1.1.2-beta1.22216.1</MicrosoftCodeAnalysisAnalzerTestingVersion>
3535
<!-- runtime -->
3636
<MicrosoftExtensionsFileSystemGlobbingVersion>7.0.0</MicrosoftExtensionsFileSystemGlobbingVersion>
3737
<MicrosoftExtensionsLoggingVersion>7.0.0</MicrosoftExtensionsLoggingVersion>
3838
<!-- symreader -->
39-
<MicrosoftDiaSymReaderVersion>2.0.0-beta-22503-02</MicrosoftDiaSymReaderVersion>
39+
<MicrosoftDiaSymReaderVersion>2.0.0</MicrosoftDiaSymReaderVersion>
4040
<!-- external -->
4141
<BenchmarkDotNetVersion>0.13.5</BenchmarkDotNetVersion>
4242
<BenchmarkDotNetAnnotationsVersion>0.13.5</BenchmarkDotNetAnnotationsVersion>

eng/common/cross/build-rootfs.sh

Lines changed: 46 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ __AlpineArch=armv7
2727
__FreeBSDArch=arm
2828
__FreeBSDMachineArch=armv7
2929
__IllumosArch=arm7
30+
__HaikuArch=arm
3031
__QEMUArch=arm
3132
__UbuntuArch=armhf
3233
__UbuntuRepo="http://ports.ubuntu.com/"
@@ -85,8 +86,12 @@ __IllumosPackages+=" mit-krb5"
8586
__IllumosPackages+=" openssl"
8687
__IllumosPackages+=" zlib"
8788

88-
__HaikuPackages="gmp"
89+
__HaikuPackages="gcc_syslibs"
90+
__HaikuPackages+=" gcc_syslibs_devel"
91+
__HaikuPackages+=" gmp"
8992
__HaikuPackages+=" gmp_devel"
93+
__HaikuPackages+=" icu66"
94+
__HaikuPackages+=" icu66_devel"
9095
__HaikuPackages+=" krb5"
9196
__HaikuPackages+=" krb5_devel"
9297
__HaikuPackages+=" libiconv"
@@ -95,6 +100,10 @@ __HaikuPackages+=" llvm12_libunwind"
95100
__HaikuPackages+=" llvm12_libunwind_devel"
96101
__HaikuPackages+=" mpfr"
97102
__HaikuPackages+=" mpfr_devel"
103+
__HaikuPackages+=" openssl"
104+
__HaikuPackages+=" openssl_devel"
105+
__HaikuPackages+=" zlib"
106+
__HaikuPackages+=" zlib_devel"
98107

99108
# ML.NET dependencies
100109
__UbuntuPackages+=" libomp5"
@@ -210,6 +219,7 @@ while :; do
210219
__FreeBSDArch=amd64
211220
__FreeBSDMachineArch=amd64
212221
__illumosArch=x86_64
222+
__HaikuArch=x86_64
213223
__UbuntuRepo="http://archive.ubuntu.com/ubuntu/"
214224
;;
215225
x86)
@@ -330,7 +340,7 @@ while :; do
330340
;;
331341
freebsd13)
332342
__CodeName=freebsd
333-
__FreeBSDBase="13.0-RELEASE"
343+
__FreeBSDBase="13.2-RELEASE"
334344
__FreeBSDABI="13"
335345
__SkipUnmount=1
336346
;;
@@ -340,7 +350,6 @@ while :; do
340350
;;
341351
haiku)
342352
__CodeName=haiku
343-
__BuildArch=x64
344353
__SkipUnmount=1
345354
;;
346355
--skipunmount)
@@ -559,67 +568,54 @@ elif [[ "$__CodeName" == "illumos" ]]; then
559568
elif [[ "$__CodeName" == "haiku" ]]; then
560569
JOBS=${MAXJOBS:="$(getconf _NPROCESSORS_ONLN)"}
561570

562-
echo "Building Haiku sysroot for x86_64"
571+
echo "Building Haiku sysroot for $__HaikuArch"
563572
mkdir -p "$__RootfsDir/tmp"
564-
cd "$__RootfsDir/tmp"
565-
git clone -b hrev56235 https://review.haiku-os.org/haiku
566-
git clone -b btrev43195 https://review.haiku-os.org/buildtools
567-
cd "$__RootfsDir/tmp/buildtools" && git checkout 7487388f5110021d400b9f3b88e1a7f310dc066d
568-
569-
# Fetch some unmerged patches
570-
cd "$__RootfsDir/tmp/haiku"
571-
## Add development build profile (slimmer than nightly)
572-
git fetch origin refs/changes/64/4164/1 && git -c commit.gpgsign=false cherry-pick FETCH_HEAD
573-
574-
# Build jam
575-
cd "$__RootfsDir/tmp/buildtools/jam"
576-
make
577-
578-
# Configure cross tools
579-
echo "Building cross-compiler"
580-
mkdir -p "$__RootfsDir/generated"
581-
cd "$__RootfsDir/generated"
582-
"$__RootfsDir/tmp/haiku/configure" -j"$JOBS" --sysroot "$__RootfsDir" --cross-tools-source "$__RootfsDir/tmp/buildtools" --build-cross-tools x86_64
583-
584-
# Build Haiku packages
585-
echo "Building Haiku"
586-
echo 'HAIKU_BUILD_PROFILE = "development-raw" ;' > UserProfileConfig
587-
"$__RootfsDir/tmp/buildtools/jam/jam0" -j"$JOBS" -q '<build>package' '<repository>Haiku'
588-
589-
BaseUrl="https://depot.haiku-os.org/__api/v2/pkg/get-pkg"
590-
591-
# Download additional packages
592-
echo "Downloading additional required packages"
573+
pushd "$__RootfsDir/tmp"
574+
575+
mkdir "$__RootfsDir/tmp/download"
576+
577+
echo "Downloading Haiku package tool"
578+
git clone https://github.com/haiku/haiku-toolchains-ubuntu --depth 1 $__RootfsDir/tmp/script
579+
wget -O "$__RootfsDir/tmp/download/hosttools.zip" $($__RootfsDir/tmp/script/fetch.sh --hosttools)
580+
unzip -o "$__RootfsDir/tmp/download/hosttools.zip" -d "$__RootfsDir/tmp/bin"
581+
582+
DepotBaseUrl="https://depot.haiku-os.org/__api/v2/pkg/get-pkg"
583+
HpkgBaseUrl="https://eu.hpkg.haiku-os.org/haiku/master/$__HaikuArch/current"
584+
585+
# Download Haiku packages
586+
echo "Downloading Haiku packages"
593587
read -ra array <<<"$__HaikuPackages"
594588
for package in "${array[@]}"; do
595589
echo "Downloading $package..."
596590
# API documented here: https://github.com/haiku/haikudepotserver/blob/master/haikudepotserver-api2/src/main/resources/api2/pkg.yaml#L60
597591
# The schema here: https://github.com/haiku/haikudepotserver/blob/master/haikudepotserver-api2/src/main/resources/api2/pkg.yaml#L598
598-
hpkgDownloadUrl="$(wget -qO- --post-data='{"name":"'"$package"'","repositorySourceCode":"haikuports_x86_64","versionType":"LATEST","naturalLanguageCode":"en"}' \
599-
--header='Content-Type:application/json' "$BaseUrl" | jq -r '.result.versions[].hpkgDownloadURL')"
600-
wget -P "$__RootfsDir/generated/download" "$hpkgDownloadUrl"
592+
hpkgDownloadUrl="$(wget -qO- --post-data='{"name":"'"$package"'","repositorySourceCode":"haikuports_'$__HaikuArch'","versionType":"LATEST","naturalLanguageCode":"en"}' \
593+
--header='Content-Type:application/json' "$DepotBaseUrl" | jq -r '.result.versions[].hpkgDownloadURL')"
594+
wget -P "$__RootfsDir/tmp/download" "$hpkgDownloadUrl"
595+
done
596+
for package in haiku haiku_devel; do
597+
echo "Downloading $package..."
598+
hpkgVersion="$(wget -qO- $HpkgBaseUrl | sed -n 's/^.*version: "\([^"]*\)".*$/\1/p')"
599+
wget -P "$__RootfsDir/tmp/download" "$HpkgBaseUrl/packages/$package-$hpkgVersion-1-$__HaikuArch.hpkg"
601600
done
602601

603-
# Setup the sysroot
604-
echo "Setting up sysroot and extracting needed packages"
602+
# Set up the sysroot
603+
echo "Setting up sysroot and extracting required packages"
605604
mkdir -p "$__RootfsDir/boot/system"
606-
for file in "$__RootfsDir/generated/objects/haiku/x86_64/packaging/packages/"*.hpkg; do
607-
"$__RootfsDir/generated/objects/linux/x86_64/release/tools/package/package" extract -C "$__RootfsDir/boot/system" "$file"
608-
done
609-
for file in "$__RootfsDir/generated/download/"*.hpkg; do
610-
"$__RootfsDir/generated/objects/linux/x86_64/release/tools/package/package" extract -C "$__RootfsDir/boot/system" "$file"
605+
for file in "$__RootfsDir/tmp/download/"*.hpkg; do
606+
echo "Extracting $file..."
607+
LD_LIBRARY_PATH="$__RootfsDir/tmp/bin" "$__RootfsDir/tmp/bin/package" extract -C "$__RootfsDir/boot/system" "$file"
611608
done
612609

610+
# Download buildtools
611+
echo "Downloading Haiku buildtools"
612+
wget -O "$__RootfsDir/tmp/download/buildtools.zip" $($__RootfsDir/tmp/script/fetch.sh --buildtools --arch=$__HaikuArch)
613+
unzip -o "$__RootfsDir/tmp/download/buildtools.zip" -d "$__RootfsDir"
614+
613615
# Cleaning up temporary files
614616
echo "Cleaning up temporary files"
617+
popd
615618
rm -rf "$__RootfsDir/tmp"
616-
for name in "$__RootfsDir/generated/"*; do
617-
if [[ "$name" =~ "cross-tools-" ]]; then
618-
: # Keep the cross-compiler
619-
else
620-
rm -rf "$name"
621-
fi
622-
done
623619
elif [[ -n "$__CodeName" ]]; then
624620

625621
if [[ "$__SkipSigCheck" == "0" ]]; then

0 commit comments

Comments
 (0)