dkurt / dotnet_riscv Goto Github PK
View Code? Open in Web Editor NEWBuild .NET SDK for RISC-V
Build .NET SDK for RISC-V
2024-01-12T12:17:21.3133546Z /__w/dotnet_riscv/dotnet_riscv/runtime/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets(138,5): error MSB6006: "dotnet" exited with code 134. [/__w/dotnet_riscv/dotnet_riscv/runtime/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj]
2024-01-12T12:17:21.3135316Z ##vso[task.logissue type=error;sourcepath=/__w/dotnet_riscv/dotnet_riscv/runtime/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets;linenumber=138;columnnumber=5;code=MSB6006;](NETCORE_ENGINEERING_TELEMETRY=Build) "dotnet" exited with code 134.
2024-01-12T12:17:21.3137867Z /__w/dotnet_riscv/dotnet_riscv/runtime/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets(91,5): error NETSDK1144: Optimizing assemblies for size failed. Optimization can be disabled by setting the PublishTrimmed property to false. [/__w/dotnet_riscv/dotnet_riscv/runtime/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj]
2024-01-12T12:17:21.3140308Z ##vso[task.logissue type=error;sourcepath=/__w/dotnet_riscv/dotnet_riscv/runtime/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets;linenumber=91;columnnumber=5;code=NETSDK1144;](NETCORE_ENGINEERING_TELEMETRY=Build) Optimizing assemblies for size failed. Optimization can be disabled by setting the PublishTrimmed property to false.
2024-01-12T12:17:21.3140329Z
2024-01-12T12:17:21.3140472Z Build FAILED.
2024-01-12T12:17:21.3140481Z
2024-01-12T12:17:21.3142309Z /__w/dotnet_riscv/dotnet_riscv/runtime/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets(138,5): error MSB6006: "dotnet" exited with code 134. [/__w/dotnet_riscv/dotnet_riscv/runtime/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj]
2024-01-12T12:17:21.3144905Z /__w/dotnet_riscv/dotnet_riscv/runtime/src/tools/illink/src/ILLink.Tasks/build/Microsoft.NET.ILLink.targets(91,5): error NETSDK1144: Optimizing assemblies for size failed. Optimization can be disabled by setting the PublishTrimmed property to false. [/__w/dotnet_riscv/dotnet_riscv/runtime/src/coreclr/tools/aot/crossgen2/crossgen2_publish.csproj]
2024-01-12T12:17:21.3145054Z 0 Warning(s)
2024-01-12T12:17:21.3145191Z 2 Error(s)
Some great work. Some feedback if its useful...
Installed 8.0.101 on a Beagle-V Fire running the latest Ubuntu 23.04 provided by BeagleBoard. Tried both gcc and non-gcc versions.
The following work:
dotnet
dotnet --list-sdks
dotnet --list-runtimes
The following give "Bus error"
dotnet --help
dotnet --version
dotnet --info
dotnet new console -n HelloWorld
I'm using following code to install the dotnet
DOTNET_FILE=dotnet-sdk-8.0.100-linux-riscv64.tar.gz
export DOTNET_ROOT=$(pwd)/.dotnet
mkdir -p "$DOTNET_ROOT" && tar zxf "$DOTNET_FILE" -C "$DOTNET_ROOT"
export PATH=$PATH:$DOTNET_ROOT:$DOTNET_ROOT/tools
and create new console project by
dotnet new console -n HelloWorld
it report
The command could not be loaded, possibly because:
* You intended to execute a .NET application:
The application 'new' does not exist.
* You intended to execute a .NET SDK command:
No .NET SDKs were found.
Download a .NET SDK:
https://aka.ms/dotnet/download
Learn about SDK resolution:
https://aka.ms/dotnet/sdk-not-found
it seems there is no sdk installed, but i think package dotnet-sdk-8.0.100-linux-riscv64.tar.gz
has include the sdk already. I don't know why it can't find that.
dotnet test
doesn't work. See microsoft/vstest#4837
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.