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
* Add option to bootstrap previously source-built packages
This option modifies the previously source-built archive
to include portable packages that are downloaded from
a microsoft official feed rather than source-built.
* Remove working directory
* Add newlines
* Add additional comment about feeds
* Update source-build prebuilts
* Remove original archive rather than backup
Co-authored-by: MichaelSimons <msimons@microsoft.com>