-
Notifications
You must be signed in to change notification settings - Fork 206
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2092 from yowl/NativeAOT-final-merge
NativeAOT-LLVM: Merge up to feature/NativeAOT-final tag
- Loading branch information
Showing
16,062 changed files
with
826,683 additions
and
298,154 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
DisableFormat: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.192.0/containers/dotnet/.devcontainer/base.Dockerfile | ||
|
||
# [Choice] .NET version: 5.0, 3.1, 2.1 | ||
ARG VARIANT="5.0" | ||
FROM mcr.microsoft.com/vscode/devcontainers/dotnet:0-${VARIANT} | ||
|
||
# Set up machine requirements to build the repo | ||
RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \ | ||
&& apt-get -y install --no-install-recommends cmake llvm-9 clang-9 \ | ||
build-essential python curl git lldb-6.0 liblldb-6.0-dev \ | ||
libunwind8 libunwind8-dev gettext libicu-dev liblttng-ust-dev \ | ||
libssl-dev libnuma-dev libkrb5-dev zlib1g-dev ninja-build |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at: | ||
// https://github.com/microsoft/vscode-dev-containers/tree/v0.192.0/containers/dotnet | ||
{ | ||
"name": "C# (.NET)", | ||
"build": { | ||
"dockerfile": "Dockerfile", | ||
"args": { | ||
// Update 'VARIANT' to pick a .NET Core version: 2.1, 3.1, 5.0 | ||
"VARIANT": "5.0", | ||
} | ||
}, | ||
|
||
"settings": { | ||
// Loading projects on demand is better for larger codebases | ||
"omnisharp.enableMsBuildLoadProjectsOnDemand": true, | ||
"omnisharp.enableRoslynAnalyzers": true, | ||
"omnisharp.enableEditorConfigSupport": true, | ||
"omnisharp.enableAsyncCompletion": true, | ||
"omnisharp.testRunSettings": "${containerWorkspaceFolder}/artifacts/obj/vscode/.runsettings" | ||
}, | ||
|
||
// Add the IDs of extensions you want installed when the container is created. | ||
"extensions": [ | ||
"ms-dotnettools.csharp" | ||
], | ||
|
||
// Use 'onCreateCommand' to run pre-build commands inside the codespace | ||
"onCreateCommand": "${containerWorkspaceFolder}/.devcontainer/scripts/onCreateCommand.sh", | ||
|
||
// Use 'postCreateCommand' to run commands after the container is created. | ||
"postCreateCommand": "${containerWorkspaceFolder}/.devcontainer/scripts/postCreateCommand.sh", | ||
|
||
// Add the locally installed dotnet to the path to ensure that it is activated | ||
// This allows developers to just use 'dotnet build' on the command-line, and the local dotnet version will be used. | ||
"remoteEnv": { | ||
"PATH": "${containerWorkspaceFolder}/.dotnet:${containerEnv:PATH}", | ||
"DOTNET_MULTILEVEL_LOOKUP": "0" | ||
}, | ||
|
||
// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root. | ||
"remoteUser": "vscode" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
# prebuild the repo, so it is ready for development | ||
./build.sh libs+clr -rc Release | ||
# restore libs tests so that the project is ready to be loaded by OmniSharp | ||
./build.sh libs.tests -restore | ||
|
||
# save the commit hash of the currently built assemblies, so developers know which version was built | ||
git rev-parse HEAD > ./artifacts/prebuild.sha |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
#!/usr/bin/env bash | ||
|
||
set -e | ||
|
||
# reset the repo to the commit hash that was used to build the prebuilt Codespace | ||
git reset --hard $(cat ./artifacts/prebuild.sha) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -190,3 +190,4 @@ indent_size = 2 | |
end_of_line = lf | ||
[*.{cmd,bat}] | ||
end_of_line = crlf | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,84 @@ | ||
name: Bug Report | ||
description: Create a report to help us improve | ||
labels: [] | ||
body: | ||
- type: markdown | ||
attributes: | ||
value: | | ||
We welcome bug reports! Please see our [contribution guidelines](https://github.com/dotnet/runtime/blob/main/CONTRIBUTING.md#writing-a-good-bug-report) for more information on writing a good bug report. This template will help us gather the information we need to start the triage process. | ||
- type: textarea | ||
id: background | ||
attributes: | ||
label: Description | ||
description: Please share a clear and concise description of the problem. | ||
placeholder: Description | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: repro-steps | ||
attributes: | ||
label: Reproduction Steps | ||
description: | | ||
Please include minimal steps to reproduce the problem if possible. E.g.: the smallest possible code snippet; or a small project, with steps to run it. If possible include text as text rather than screenshots (so it shows up in searches). | ||
placeholder: Minimal Reproduction | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: expected-behavior | ||
attributes: | ||
label: Expected behavior | ||
description: | | ||
Provide a description of the expected behavior. | ||
placeholder: Expected behavior | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: actual-behavior | ||
attributes: | ||
label: Actual behavior | ||
description: | | ||
Provide a description of the actual behavior observed. If applicable please include any error messages, exception stacktraces or memory dumps. | ||
placeholder: Actual behavior | ||
validations: | ||
required: true | ||
- type: textarea | ||
id: regression | ||
attributes: | ||
label: Regression? | ||
description: | | ||
Did this work in a previous build or release of .NET Core, or from .NET Framework? If you can try a previous release or build to find out, that can help us narrow down the problem. If you don't know, that's OK. | ||
placeholder: Regression? | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: known-workarounds | ||
attributes: | ||
label: Known Workarounds | ||
description: | | ||
Please provide a description of any known workarounds. | ||
placeholder: Known Workarounds | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: configuration | ||
attributes: | ||
label: Configuration | ||
description: | | ||
Please provide more information on your .NET configuration: | ||
* Which version of .NET is the code running on? | ||
* What OS and version, and what distro if applicable? | ||
* What is the architecture (x64, x86, ARM, ARM64)? | ||
* Do you know whether it is specific to that configuration? | ||
* If you're using Blazor, which web browser(s) do you see this issue in? | ||
placeholder: Configuration | ||
validations: | ||
required: false | ||
- type: textarea | ||
id: other-info | ||
attributes: | ||
label: Other information | ||
description: | | ||
If you have an idea where the problem might lie, let us know that here. Please include any pointers to code, relevant changes, or related issues you know of. | ||
placeholder: Other information | ||
validations: | ||
required: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.