Skip to content

How to build for netcoreapp3.0 #1011

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
danmoseley opened this issue Sep 24, 2018 · 2 comments
Closed

How to build for netcoreapp3.0 #1011

danmoseley opened this issue Sep 24, 2018 · 2 comments
Assignees
Milestone

Comments

@danmoseley
Copy link
Member

We should document how to build to run on .NET Core 3.0 (so as to use the .NET hardware intrinsics)

I tried various ideas such as build -- /p:targetframework=netcoreapp3.0 but didn't succeed yet.

@eerhardt ?

@helloguo
Copy link

From https://github.com/dotnet/machinelearning/blob/master/Directory.Build.props#L106 and https://github.com/dotnet/machinelearning/blob/master/src/Microsoft.ML.CpuMath/Microsoft.ML.CpuMath.csproj#L6, it seems UseIntrinsics needs to be set as true so that the .net core 3 will be used. But I could not make it work by setting Configuration=Release-Intrinsics :(

@eerhardt
Copy link
Member

Yes, there's a few fixes I am making as part of writing these instructions. Hope to have them out by EOD.

@eerhardt eerhardt self-assigned this Sep 25, 2018
eerhardt added a commit to eerhardt/machinelearning that referenced this issue Sep 25, 2018
@shauheen shauheen added this to the 1018 milestone Oct 2, 2018
eerhardt added a commit that referenced this issue Oct 2, 2018
…1032)

* Add instructions for building for .NET Core 3.0, and make them work.

Fix #1011

* Add config specific properties for the Intrinsics configs.

* Allow tests to be run against .NET Core 3.0
@ghost ghost locked as resolved and limited conversation to collaborators Mar 28, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants