1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-09 17:44:48 +09:00
Experimenting with dotnet runtime.
Find a file
Steve Pfister 52638488c4
[wasm] Use source built emsdk packages for the runtime build (#100266)
* Use the emsdk transport packages to build wasm instead of a cloned emsdk

Works for the most part out of the box, but fails on the part where we npm install after
the libraries build. The reason for the failure is our node transport package is incomplete. If
you replace it with a legit node, the build works fully.

* Pull in node transport package as opposed to the one packaged in emsdk. Streamline package deps

* Make paths friendly for windows

* Work in windows transport packages, copy python to its own directory, and adjust a bunch of paths

* Bump to latest version of node that contains icu

* Add windows deps and add DOTNET_EMSCRIPTEN_NODE_PATH because windows can't see npm without it

* Bump emscripten packages to the latest

* Fix typos in Version.Details.xml

* Switch out to the plain mariner container to ensure no EMSDK already exists

* Revert back to the browser-wasm docker image and bump to the latest

* Container type-o

* Fix condition where the node path isn't set properly

* Provision even when building offsets

* Fix goofy paths

* Update new template to use the latest browser-wasm container

* Don't put python.exe on the path for windows, but the folder instead

* So that was a bad idea. May have to have emsdk_env.cmd have two entries

* Fix offsets generation for browser

* Fix emsdk's python path

It is not versioned anymore as we use the content of our nugets

* Fix EMSDK_PATH on non-windows platforms

* Do not add link flags to compile flags

To avoid:

    C:\helix\work\correlation\build\wasm-shared\WasmApp.Common.targets(825,5): error : emcc: warning: linker setting ignored during compilation: 'EXPORT_ES6' [-Wunused-command-line-argument] [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj]
    C:\helix\work\correlation\build\wasm-shared\WasmApp.Common.targets(825,5): error : emcc: warning: linker setting ignored during compilation: 'EXPORT_EXCEPTION_HANDLING_HELPERS' [-Wunused-command-line-argument] [C:\helix\work\workitem\e\publish\ProxyProjectForAOTOnHelix.proj]

* Set the emsdk paths relative to the script location

* Escape few characters and fix the added script

* Fix .emscripten script

* Use EM_CONFIG intead of __file__

* Fix emsdk_env.cmd script

* Revert "Do not add link flags to compile flags"

This reverts commit eb19ade3ef901669a7e6bcc944703837f26f5173.

* Revert changes in package-lock.json

* Feedback + cleaning

* More cleaning

* Try not to use the replace in the EMSDK_PATH

* Better property names

* Use package and emsdk version properties

Co-authored-by: Larry Ewing <lewing@microsoft.com>

* Use the updated properties

* Fix emsdk version

* Use a single version of emsdk and take node version from flow

* Update eng/Version.Details.xml

Co-authored-by: Larry Ewing <lewing@microsoft.com>

---------

Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
Co-authored-by: Radek Doulik <radek.doulik@gmail.com>
Co-authored-by: Radek Doulik <radekdoulik@gmail.com>
Co-authored-by: Larry Ewing <lewing@microsoft.com>
2024-05-09 16:31:41 +02:00
.config [main] Update dependencies from dotnet/runtime, dotnet/runtime-assets, dotnet/sdk, dotnet/xharness (#101843) 2024-05-06 12:28:30 -05:00
.devcontainer [wasm] Codespaces need more disc to succeed building on container creation (#99803) 2024-03-16 11:59:18 +01:00
.github Bump actions/checkout v4 and set dependabot to only bump its major versions (#101585) 2024-04-29 13:02:06 -07:00
docs Update area owners (#102022) 2024-05-08 12:42:57 -05:00
eng [wasm] Use source built emsdk packages for the runtime build (#100266) 2024-05-09 16:31:41 +02:00
src [wasm] Use source built emsdk packages for the runtime build (#100266) 2024-05-09 16:31:41 +02:00
.clang-format Move clang-format download into dotnet/runtime and add docs for setting up auto-formatting in the repository (#59374) 2021-09-23 14:34:00 -07:00
.clang-tidy Move JIT's clang-tidy flags into configuration files and add a root clang-tidy config that disables all checks. (#93951) 2023-10-25 15:16:22 -07:00
.CodeQL.yml Move CodeQL config file to root (#99575) 2024-03-11 21:31:02 -07:00
.dockerignore [HTTP/SSL] Fix stress (#93135) 2023-10-09 11:54:41 +02:00
.editorconfig Avoid IDE030X suggestions for collection expressions that would catch semantics/perf (#100250) 2024-03-25 18:14:55 -04:00
.gitattributes [browser][MT] Use auto thread dispatch in HTTP (#95370) 2024-01-21 11:39:46 +01:00
.gitignore [browser] introduce JSProxyContext (#95959) 2023-12-20 08:57:32 +01:00
.markdownlint.json Enable markdownlint rule (MD009) (#40887) 2021-02-08 10:43:40 -08:00
.vsconfig Update VS install requirements to bump Windows 10 SDK version (#100170) 2024-03-24 19:22:49 -07:00
build.cmd Print help for -? and /? cross-plat (#42396) 2020-09-24 14:27:24 +02:00
Build.proj Update unified build controls (#98330) 2024-02-15 18:48:18 +01:00
build.sh Add windows support for build.sh (#94) 2019-11-18 16:41:36 +01:00
CODE-OF-CONDUCT.md Initial runtime repository structure 2019-11-14 01:26:19 +01:00
CONTRIBUTING.md Fix maui link (#97509) 2024-01-25 09:51:34 -06:00
Directory.Build.props [WASI] update WASI SDK to 22 and wasmtime to 19.0.2 (#101392) 2024-04-25 14:59:01 +02:00
Directory.Build.rsp Disable msbuild terminal logger (#97309) 2024-01-22 13:08:28 -05:00
Directory.Build.targets Keep our System.Text.Json version used in HostModel in sync with MSBuild (#101199) 2024-04-17 13:33:40 -07:00
Directory.Solution.props Fix solution restore in libraries (#38294) 2020-06-23 22:35:40 +02:00
dotnet.cmd Move dotnet.cmd/sh helper scripts into the repo root (#672) 2019-12-11 21:01:58 +01:00
dotnet.sh Move dotnet.cmd/sh helper scripts into the repo root (#672) 2019-12-11 21:01:58 +01:00
global.json [main] Update dependencies from dotnet/runtime, dotnet/runtime-assets, dotnet/sdk, dotnet/xharness (#101843) 2024-05-06 12:28:30 -05:00
LICENSE.TXT Revert "Update "LICENSE.txt" so that it's recognized as MIT" (#37626) 2020-06-08 22:22:27 -04:00
NuGet.config Remove dotnet8 feeds from NuGet.config (#95860) 2023-12-15 23:25:08 +01:00
PATENTS.TXT Update repo link to dotnet/runtime (#1781) 2020-01-15 21:16:56 -05:00
README.md Update README.md and replace .NET Cores with .NET (#97197) 2024-01-19 03:24:10 -08:00
SECURITY.md Fix trailing whitespaces (#40891) 2020-08-19 17:29:01 -07:00
THIRD-PARTY-NOTICES.TXT Upgrade zlib to 1.3.1 (#99472) 2024-03-11 13:15:43 -07:00

.NET Runtime

Build Status Help Wanted Good First Issue Gitter Discord

This repo contains the code to build the .NET runtime, libraries and shared host (dotnet) installers for all supported platforms, as well as the sources to .NET runtime and libraries.

What is .NET?

Official Starting Page: https://dotnet.microsoft.com

How can I contribute?

We welcome contributions! Many people all over the world have helped make this project better.

Reporting security issues and security bugs

Security issues and bugs should be reported privately, via email, to the Microsoft Security Response Center (MSRC) secure@microsoft.com. You should receive a response within 24 hours. If for some reason you do not, please follow up via email to ensure we received your original message. Further information, including the MSRC PGP key, can be found in the Security TechCenter. You can also find these instructions in this repo's Security doc.

Also see info about related Microsoft .NET Bounty Program.

Filing issues

This repo should contain issues that are tied to the runtime, the class libraries and frameworks, the installation of the dotnet binary (sometimes known as the muxer) and the installation of the .NET runtime and libraries.

For other issues, please file them to their appropriate sibling repos. We have links to many of them on our new issue page.

.NET Foundation

.NET Runtime is a .NET Foundation project.

There are many .NET related projects on GitHub.

  • .NET home repo - links to 100s of .NET projects, from Microsoft and the community.
  • ASP.NET Core home - the best place to start learning about ASP.NET Core.

This project has adopted the code of conduct defined by the Contributor Covenant to clarify expected behavior in our community. For more information, see the .NET Foundation Code of Conduct.

General .NET OSS discussions: .NET Foundation Discussions

License

.NET (including the runtime repo) is licensed under the MIT license.