Tragetaschen / meta-aspnet

Yocto layer for ASP.NET with a focus on VNext
MIT License
11 stars 10 forks source link

Updated dotnet-source-build for all platforms and -native support. #10

Open pauldotknopf opened 6 years ago

pauldotknopf commented 6 years ago

I'm working on a meta-layer for .NET Core, and I hope to merge my new dotnet-source-build into your repo when it is completed.

https://github.com/pauldotknopf/meta-dotnet

I've sent @Tragetaschen a private email on the matter, but I'm creating this issue to track any on-going discussions for public posterity.

Note, I am not using yocto patches at the moment, I am using forks.

https://github.com/qmlnet/source-build/commits/yocto-v2.1.401

Once things are completed/tested, I will point to official SRCREVs with patches properly applied in Yocto.

Tragetaschen commented 6 years ago

That's awesome! By all means, go ahead with this.

thalionath commented 6 years ago

Hi @pauldotknopf. How is the progress of your effort?

fidergo-stephane-gourichon commented 5 years ago

@thalionath no reply from @pauldotknopf but there are new commits regularly on https://github.com/pauldotknopf/meta-dotnet/commits/master which I guess is a hint.

pauldotknopf commented 5 years ago

Hey, sorry about that. Didn't mean to ignore.

Yeah, I gave up on passing the build flags from Yocto directly to dotnet/clang. It was proving difficult.

For my purposes (at the moment), I am using pre-compiled .NET Core binaries (see here). I have both dotnet and dotnet-native working (with a few hacks).

  1. I had to surgically remove the libcoreclrtraceptprovider. .NET Core works fine without it. It was causing hangs.
  2. For the dotnet-native package, I created a custom dotnet script that runs the real dotnet without pseudo, which again, was causing hangs.

Side note, the build system for .NET Core is a mess...