From 176600a2351d25788d0ed3f3d331758a73fed58d Mon Sep 17 00:00:00 2001 From: Omair Majid Date: Thu, 3 Feb 2022 09:02:14 -0500 Subject: [PATCH] Add arm64 packages to source-build bootstrap (#13157) Currently, source-build is failing out-of-the-box on arm64 because ilasm and friends are missing on arm64. The errors look like this: src/source-build-reference-packages.4643b750ccc93ca151eed888da70b67f0198d1fd/artifacts/source-build/self/src/src/targetPacks/ILsrc/microsoft.netframework.referenceassemblies/1.0.2/microsoft.netframework.referenceassemblies.1.0.2.csproj: error NU1101: Unable to find package runtime.linux-arm64.microsoft.netcore.ilasm. No packages exist with this id in source(s): prebuilt, previously-source-built, reference-packages, source-built [.dotnet/sdk/6.0.101/NuGet.targets] Fix this and related errors by ading arm64 artifacts to the bootstrap step. This change is sufficient to make source-build work out-of-the-box on arm64 now using the normal steps: ./build.sh /p:ArcadeBuildTarball=true /p:TarballDir=/some/dir cd /some/dir ./prep.sh --bootstrap && ./build.sh --- .../scripts/bootstrap/buildBootstrapPreviouslySB.csproj | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/SourceBuild/tarball/content/scripts/bootstrap/buildBootstrapPreviouslySB.csproj b/src/SourceBuild/tarball/content/scripts/bootstrap/buildBootstrapPreviouslySB.csproj index 14c42e128..14921a48f 100644 --- a/src/SourceBuild/tarball/content/scripts/bootstrap/buildBootstrapPreviouslySB.csproj +++ b/src/SourceBuild/tarball/content/scripts/bootstrap/buildBootstrapPreviouslySB.csproj @@ -19,6 +19,10 @@ + + + +