-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Add toolchain instructions for Fedora #104859
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
6714d76
c412854
23d0fc2
79e53f4
47a6f93
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 |
|---|---|---|
|
|
@@ -16,11 +16,14 @@ Install Docker. For further installation instructions, see [here](https://docs.d | |
|
|
||
| ## Environment | ||
|
|
||
| These instructions are written assuming the current Ubuntu LTS. Pull Requests are welcome to address other environments. | ||
| Below are the requirements for toolchain setup, depending on your environment. Pull Requests are welcome to address other environments. | ||
|
|
||
| Minimum RAM required to build is 1GB. The build is known to fail on 512 MB VMs ([dotnet/runtime#4069](https://github.com/dotnet/runtime/issues/4069)). | ||
|
|
||
| ### Toolchain Setup | ||
|
|
||
| ### Debian-based / Ubuntu | ||
|
|
||
| These instructions are written assuming the current Ubuntu LTS. | ||
|
|
||
| Install the following packages for the toolchain: | ||
|
|
||
|
|
@@ -71,7 +74,33 @@ If you are planning to use your Linux environment to do cross-building for other | |
|
|
||
| **NOTE**: These dependencies are used to build the `crossrootfs`, not the runtime itself. | ||
|
|
||
| ### Gentoo Special Case | ||
| ### Fedora | ||
|
|
||
| These instructions are written assuming Fedora 40. | ||
|
|
||
| Install the following packages for the toolchain: | ||
|
|
||
| * cmake | ||
| * llvm | ||
| * lld | ||
| * lldb | ||
| * clang | ||
| * python | ||
| * curl | ||
| * git | ||
| * libicu-devel | ||
| * openssl-devel | ||
| * krb5-devel | ||
| * zlib-devel | ||
| * lttng-ust-devel | ||
| * ninja-build (optional, enables building native code with ninja instead of make) | ||
|
|
||
| ```bash | ||
| sudo dnf install -y cmake llvm lld lldb clang python curl git libicu-devel openssl-devel \ | ||
|
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 can add it in install script as well while at it: am11@500300e (in the script, we assume git was already installed, since user cloned the repo, and ninja is optional; least required deps doesn't hurt to add them as you see fit 🙂) 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. Sounds good to me. @am11 Would you like to submit a PR? (Also, |
||
| krb5-devel zlib-devel lttng-ust-devel ninja-build | ||
| ``` | ||
|
|
||
| ### Gentoo | ||
|
|
||
| In case you have Gentoo you can run following command: | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.