-
Notifications
You must be signed in to change notification settings - Fork 2k
Correcting docs for building in Linux #58
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
Changes from 4 commits
b6fb2d4
70a5cd7
6f95b01
921ec5d
846e5e7
8ea572f
27790ff
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -13,29 +13,53 @@ For more information about the different options when building, run `build.sh -? | |
|
|
||
| ## Minimum Hardware Requirements | ||
| - 2GB RAM | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Recommend adding |
||
| - x64 | ||
|
|
||
| ## Prerequisites (native build) | ||
| ## Prerequisites | ||
|
|
||
| ### Linux | ||
|
|
||
| First, the package lists might need to be updated | ||
| For Ubuntu, the following components are needed: | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We get pretty heavily into Ubuntu here, but no other distro. It almost makes it sound like we only support building on Ubuntu, which isn't the case. Can we just list our direct dependencies (git, cmake with minimum version, clang with minimum version), and then say
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree with you, my intention though was to spell out the commands and to be consistent with corefx (there is also only instructions for ubuntu). I'll push up another commit to address this feedback. |
||
|
|
||
| `sudo apt-get update` | ||
| * git | ||
| * clang-3.9 | ||
| * cmake 2.8.12 | ||
| * libunwind8 | ||
| * curl | ||
|
|
||
| ```sh | ||
| sudo apt-get update | ||
| sudo apt-get install git clang-3.9 cmake libunwind8 curl | ||
| ``` | ||
|
|
||
| On Linux, the following components are needed | ||
| And all the requirements necessary to run .NET Core 2.0 applications: libssl and libcu5x: | ||
|
|
||
| * CMake on the PATH | ||
| * Clang 3.5+ (same requirements as coreclr/corefx) | ||
| * All the requirements necessary to run .NET Core 2.0 applications | ||
| * libunwind | ||
| * curl | ||
| * For 14.x | ||
|
|
||
| ```sh | ||
| sudo apt-get install libssl1.0.0 libcu52 | ||
| ``` | ||
|
|
||
| * For 16.x | ||
|
|
||
| ```sh | ||
| sudo apt-get install libssl1.0.0 libcu55 | ||
| ``` | ||
|
|
||
| * For 17.x | ||
|
|
||
| ```sh | ||
| sudo apt-get install libssl1.0.0 libcu57 | ||
| ``` | ||
|
|
||
| For more info on prerequisites for .NET Core on Linux click [here](https://docs.microsoft.com/en-us/dotnet/core/linux-prerequisites?tabs=netcore2x). | ||
|
|
||
| ### macOS | ||
|
|
||
| macOS 10.12 or higher is needed to build dotnet/machinelearning. | ||
|
|
||
| On macOS a few components are needed which are not provided by a default developer setup: | ||
| * CMake | ||
| * cmake 3.10.3 | ||
|
|
||
| One way of obtaining CMake is via [Homebrew](http://brew.sh): | ||
| ```sh | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you add
x64here as well? We only support building on anx64machine.