1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-08 03:27:04 +09:00
Commit graph

155 commits

Author SHA1 Message Date
github-actions[bot]
8109ace8f9
Update Azure Linux tag names (#110341)
Co-authored-by: Sven Boemer <sbomer@gmail.com>
2024-12-03 10:36:05 -08:00
github-actions[bot]
24889f9145
[release/9.0] Fix a case in MethodImpl overriding which wasn't handled as expected in ilc.exe for native aot (#107409)
* Fix a case in MethodImpl overriding which wasn't handled as expected in ilc.exe for native aot - This was causing real C# applications to fail to behave correctly on NativeAOT builds - Enable testing for covariant byref returns on nativeaot (split testing up so that the tests do not expect TypeLoadException, which NativeAOT doesn't reliably generate) - Fix implementation of SynthesizedPgoIncompatible project file flag for test script generation - Put copy of attributetesting.il test into the managed type system unit test suite - Add regression test of issue noted in #96175 into managed type system unit test suite - Update workflow documentation to include a better path to finding details on how to run CoreCLR and Libraries tests for Native AOT

Fixes #96175

* Fix test with incorrect IL

* Make the remaining TODO comments follow existing practice in this file for todo comments

* Fix test exclusion for mono llvmaot

* Address nits from code review

---------

Co-authored-by: David Wrighton <davidwr@microsoft.com>
Co-authored-by: Jeff Schwartz <jeffschw@microsoft.com>
2024-09-05 14:37:15 -07:00
Rich Lander
03c42135c6
Add more images to table (#106336)
* Add more images to table

* Split table into two
2024-08-14 13:13:30 -07:00
Jan Kotas
99e94ce55d
Replace net8 with net9 under docs (#104189)
Fixes #104088
2024-06-29 07:44:01 -04:00
Ken Dale
59f2833b98
Update docs.microsoft.com usages to learn.microsoft.com (#102881)
* Update https://docs.microsoft.com to https://learn.microsoft.com

* Update http://docs.microsoft.com/ to https://learn.microsoft.com (removes trailing slash)

* Update docs.microsoft.com to https://learn.microsoft.com

* Update docs.microsoft.com to learn.microsoft.com

* Replace learn.microsoft.com/en-us/ with learn.microsoft.com/ to remove locale from urls
2024-05-31 11:27:45 -07:00
Rich Lander
fcc2408188
Update build instructions table (#101706) 2024-04-29 22:18:15 -07:00
Rich Lander
6313ff8cee
Update build to net9.0 images (#101630)
* Update build to `net9.0` images

* Update docs/workflow/building/coreclr/linux-instructions.md

Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>

* Revert x86 build change

---------

Co-authored-by: Sven Boemer <sbomer@gmail.com>
Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>
2024-04-28 07:54:10 -07:00
Bruce Forstall
3515c7a8eb
Add build option to build Mac .dSYM debug symbol bundles (#100617)
This is a small workaround to allow developers working on Mac the
ability to generate .dSYM bundles as part of inner-loop development,
instead of the unsupported .dwarf files that are generated by default.

A full solution to use .dSYM bundles everywhere on Mac, including
packaging and symbol indexing, is tracked by
https://github.com/dotnet/runtime/issues/92911.

To build .dSYM bundles instead of .dwarf files, invoke build.sh as
follows:

```bash
./build.sh --subset clr --cmakeargs "-DCLR_CMAKE_APPLE_DSYM=TRUE"
```
2024-04-05 13:49:57 -07:00
Will Smith
5961ee1830
Removed legacy LLVM ObjWriter. Removed all mentions of LLVM ObjWriter. Removed all LLVM ObjWriter package references. (#99733) 2024-03-14 12:35:42 -07:00
Matous Kozak
5cf6892d8d
[mono][browser] Fix WASM README path (#96198) 2023-12-20 08:28:07 +01:00
Ilona Tomkowicz
076a51fda1
[docs][wasm] Merge duplicated wasm build instructions. (#93343)
* Merge duplicated wasm build instructions.

* feedback

* @pavelsavara's feedback

* @matouskozak feedback
2023-10-12 10:40:02 +02:00
Matous Kozak
c7586b9c7c
Correct naming of MonoEnableLLVM flag in Mono doc (#92265) 2023-09-19 12:40:32 -05:00
Fan Yang
867e185209
[WASM] Add ILStrip task to wasm app build process (#88926)
* Add ILStrip task to wasm app build process

* Make it work for wasm app building workflow

* Interp: stop inlining stripped methods. ILStrip: set code size to zero for tiny methods

* [mono][aot] Avoid adding some methods to the compiled method file.

* Methods which have 'deopt' set can enter the interpreter during EH.
* Methods which have 'interp_entry_only' set are AOTed, but the AOT
  code is only used to enter the interpreter.

* Only trim the methods that interpreter is able to call the aot'ed verion of it

* Add default value and documentation for WASMStripIL

* Move jit_call_can_be_supported to interp.c

* Minor format fix

* Add a test

* For testing

* Fix typo

* Skip TestUtilities Reference

* Address review feedback

* Change it to true

* Change name to trimming eligible

* Remove testing

* Address review feedback

* Address review feedback from Kate

* Add a var for llvm_only

---------

Co-authored-by: Zoltan Varga <vargaz@gmail.com>
2023-08-10 15:45:07 -04:00
Jeremy Koritzinsky
2811e7c755
Address Sanitizer support in CoreCLR (#74623)
* Enable AddressSanitizer in CoreCLR, Libs, and Host and update runtime-sanitized to run tests with ASAN on Linux and Mac

* Unify on HAS_ADDRESS_SANITIZER define name

Centralize setting up sanitizer flags.

Remove last usage of CLR_CMAKE_ENABLE_ASAN outside of eng/native

Remove unnecessary diffs

Use the cpuid intrinsic and enable ASAN on InitJitHelpers1.

Add comments for the places where we have ASAN disabled

Undo changes to src/coreclr/jit/CMakeLists.txt

Add docs and fix the docs in the build script.

Add docs for the SkipVCEnvInit hook

* Remove CRT runtime changes. We won't need this when we finally onboard to Windows with some changes they have coming down the pipeline, so remove them for now to reduce the diff of this PR.

* Remove suppression now that we've fixed the underlying issue.

* Remove some Windows-only sanitizer CMake that we won't need when ASAN is ready for us to consume on Windows.

* Set schedule for runtime-sanitized pipeline

* Remove workaround in JIT memory set/copy helpers now that the JIT bug has been fixed.

* Add missing helix queues setup template.

* Fix missing command to build nativeaot runtime tests as nativeaot.

* Add a scenario name to trigger the extended timeout in the libraries test helix configuration.

* Remove extraneous whitespace.

* Fix using the cross-targetting ILC when sanitizers are enabled. Also pass through our TargetOS and TargetArchitecture variables to the publish command for our native sanitizers targets to correctly do their extra logic.

* Disable LSAN on the CustomMain test.

* Disable some tests on sanitized runtimes.

* Copy the sanitizer runtime for OSX NativeAOT runtime tests.

* A little cleanup to try to get the build right now that we are always doing cross-builds on Linux.

* Fix crossgen-corelib.proj syntax.

* Fix cross-os dac builds to not include the host architecture in the output path.

* Split the debugger components into a separate component and make the "unsanitized cross components" build into an "unsanitized debugger components" build as it can't be part of the regular cross-components build

* Always write out the host-arch path on Windows and update the cross-dac build script to expect that.

* Change to use the dynamic runtime on Windows, as ASAN in VS is moving to a dynamic-only model.

* Update docker images to include the sanitizer runtimes in the crossrootfs images.

* Fix explicit image tags

* The unsanitized build should be of the target architecture, not the host architecture. As a result, we still need a cross-arch build for the cross-arch use cases when sanitized, as well as an unsanitized target arch build for the debugger tools.

* Turn off using the sigaltstack for NativeAOT tests that don't use the asansupport.cpp default options

* Make sure the shared ASAN runtime is present for the nativeaot/SmokeTests/SharedLibrary test.

* Disable crossgen2 tests with sanitizers as they don't get us interesting coverage.

* Fix custom default options and disable some more crossgen2-based tests.

* Simplify lookup of asan runtime on mac and fix copying the shared runtime for the SharedLibrary NativeAOT test.

* Disable test that's failing for weird reasons.

* Fix one more alloc-dealloc mismatch that only started to show up after test merging increased allocations in the runtime

* Disable the System.Text.Json test suite on sanitized builds as it causes SO failures on Mac

* Fix test exclusion

* PR feedback.

* Fix mac build

* Do review changes

* Add libbootstrapper object files to the platform manifest now that NativeAOT has

* Disable tests that check size on sanitized builds

* Use the built-in `include_guard` option

* Disable use-after-return checking in ASAN. CoreCLR doesn't do well with parallel stacks.

* Only pass the no UAR flag on C and CXX with Clang (not AppleClang).
2023-07-17 20:32:03 -07:00
skyoxZ
7edc4f2ba6
Fix example of building a library. (#87398) 2023-07-10 15:34:06 +02:00
Fan Yang
625edd9ff2
[Mono] Update Mono build README.md (#87517)
Added one more useful switch `-p:KeepNativeSymbols=true`
2023-06-14 15:58:14 -04:00
Jan Kotas
418aa8ab6b
Delete Windows arm32 support (#86065) 2023-05-10 20:02:38 -07:00
Sven Boemer
9fc6e6ff86
Update linux build instructions (#86062)
To reflect recent series of changes to our official build. This
updates the mentioned images to use floating tags, and clarifies
that the new official build containers all are designed for
cross-building.
2023-05-10 12:54:40 -07:00
Nicholas Orlowsky
1d2cd206f4
typo fix (#84485) 2023-04-07 18:17:30 -04:00
Jan Kotas
dba282642c
Add missing step to native AOT dev workflow instructions (#84381) 2023-04-05 14:55:43 -07:00
Andrii Kurdiumov
99815734ce
Fix path for packing (#83017)
* Fix path for packing

* Apply PR feedback

* Update docs/workflow/building/libraries/README.md

Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>

* Update docs/workflow/building/libraries/README.md

Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>

---------

Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>
2023-03-10 12:38:02 +01:00
Adeel Mujahid
3b63eb1346
Replace remaining instances of COMPlus with DOTNET (#82985)
* Replace remaining instances of COMPlus with DOTNET

* Fix heading in RyuJIT tutorial
2023-03-05 08:40:20 -08:00
Evgeniy
0aca23e9c9
Fix link to container image in linux instructions (#82409)
I suppose head of the URL was redondant — gave me "docker: invalid refence format" when I tried the original command, and worked fine when I removed the first "mcr.microsoft.com/dotnet-buildtools/prereqs:"
2023-02-20 16:28:36 -08:00
Austin Wise
be84df7642
Tweak NativeAOT repro instructions (#82018)
These work regardless where you copy of dotnet/runtime is checked out.
2023-02-13 12:34:57 +09:00
Viktor Hofer
2ca7cf7140
Lowercase TargetOS (#80164)
Follow-up on #32451
Follow-up on #80074

In #43651, the "Windows" OS name was lowercased to achieve target frameworks with RIDs in them. At that time, the original plan was to lowercase all TargetOS values but that had to be cut because of resources. This PR finishes that and updates build systems, YML, markdowns and managed components.

To not break existing developer workflows, the passed-in -os value is automatically lower-cased in the script entry points and validated in the msbuild entry point.
2023-01-11 17:58:32 +01:00
Gregg Miskelly
2f27364836
Add Visual Studio debugging note to libraries README (#80185)
This adds another section to docs/workflow/building/libraries/README.md to reference how to disable sign verification in Visual Studio.
2023-01-04 13:03:01 -05:00
Viktor Hofer
9166ee4384
Follow-up from NetCoreAppCurrent tfm update (#79218)
As mentioned in https://github.com/dotnet/runtime/pull/78354#discussion_r1039328223, this documentation refers to libraries tests and not `RunNativeAotTestApps` testing. Reverting the documentation change.
2022-12-05 18:03:11 -05:00
Viktor Hofer
5435aa8f72 Add KnownILCompilerPack entry to targetingpacks.targets 2022-12-02 12:16:52 +01:00
Viktor Hofer
46780fd365 Update 'net7.0' usages in the repo 2022-11-18 21:24:56 +01:00
Eriawan Kusumawardhono
689350960f
update instruction to build, test, and get code coverage result to use correct folder for .NET libraries incode-coverage.md (#77643) 2022-10-29 21:00:48 -04:00
Jan Kotas
3adbcf5ff9
Doc improvements (#76863)
- Use proper macOS capitalization
- Delete superfluous details

Co-authored-by: Theodore Tsirpanis <teo@tsirpanis.gr>
2022-10-11 13:35:53 -07:00
Ivan Diaz Sanchez
6811cc4dcb
Improvements to CoreCLR Building, Debugging, and Testing Documentation (#75569)
* Quality Week 2022: The First Step to a Better Documentation.

* Removed the Markdown Extension's additional development tags.

* Removed redundant stuff.

* Removed redundant stuff.

* Removed guide testing versions to avoid confusion that they would be the only supported versions.

* Addressed some Powershell comments, added a pointer to a yaml with links to other .NET sibling repos, and did a couple mini-corrections. Still got a few comments to address...

* Fixed a ';:' with Powershell's syntax.

* Addressed review comments: Redaction improvements, localization url's, improved code snippets, added info on individual subsets building configurations, changed COMPlus for DOTNET, and other misc improvements.

* Addressed remaining comments.

* Addressed some last comments regarding corerun, and the subset flags in the build scripts.

Co-authored-by: Ivan Diaz <bluehorizon186@gmail.com>
2022-10-10 13:39:22 -07:00
Jeremy Koritzinsky
3c99def0a5
Use AzDO Pipeline Resources to define our build Docker containers (#75473) 2022-10-07 10:47:28 -07:00
Gleb Balykov
835a133322
Update docs on libraries cross build (#76614)
* Update docs on libraries cross build

* Apply suggestions from code review

* Changes after review

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
2022-10-06 10:26:01 +02:00
Jan Kotas
32ac664fca
Replace net7 with net8 in dogfooding and workflow docs (#75453) 2022-09-12 20:40:44 -07:00
Jeff Handley
ad7feeb55b
Rename 'up-for-grabs' label to 'help wanted' (#73810) 2022-08-12 13:20:59 -06:00
Ivan Diaz Sanchez
cd24e183a1
Clarified documentation regarding building the Core_Root. (#72560)
* Added a note emphasizing Libraries have to be built in Release mode to generate the Core_Root.

* Corrected a statement regarding libraries' configuration.

Co-authored-by: Seeker186 <101211595+Seeker186@users.noreply.github.com>
2022-07-21 14:01:45 -07:00
Adeel Mujahid
3ea30ed321
Fix typos (#72314)
* Fix typos

* Cleanup trailing whitespaces in committed files

* Revert a macro for win32 compat

* Disambiguate test data method

* Revert XMLPath test which rely on external assets

* Revert whitespace change in Xml tests

* Revert ClrEtwAl and ILLink.Shared

* Revert crossgen2 props/targets and *.wxl
2022-07-16 22:11:11 -07:00
Andy Gocke
a60cc8fb89
Add clr.aot subset for convenience and document it (#72251)
You can now use `build.[cmd|sh] clr.aot` to build the components for the AOT workloads.
2022-07-16 14:10:28 -07:00
Juan Hoyos
964b260196
Add arm64 macOS cross-compilation instructions. (#71568) 2022-07-01 17:56:54 -07:00
Günther Foidl
f1cd5168b3
Update libraries' building docs for native components (#70284)
* Update libraries' building docs for native components

Also added a (short) ReadMe.md to src/native/libs.

* Removed trailing whitespace

* Update src/native/libs/ReadMe.md

Co-authored-by: Jan Kotas <jkotas@microsoft.com>

Co-authored-by: Jan Kotas <jkotas@microsoft.com>
2022-06-06 22:56:03 +02:00
Andy Gocke
18b73db9b8
Move comments about different form factors to the top (#70102) 2022-06-01 15:04:48 -07:00
Lakshan Fernando
c9742b32ba
CI fix for native aot tests (#69571)
* CI fix for native aot tests

* parse notrait commandline args

* try a different platform

* FB

* Remove unnecessary whitespace change

These make `git blame` harder to follow. Plus the consistent thing in this file is no extra newline here.

Co-authored-by: Michal Strehovský <MichalStrehovsky@users.noreply.github.com>
2022-05-31 03:47:41 -07:00
Adeel Mujahid
f8f6c057e6
Update libraries build instructions on Unix (#69553)
Delete platform specific ones which are no longer relavant to this
repository.
2022-05-19 08:16:52 -07:00
Lakshan Fernando
3f0c2cc88d
Fix for GetMemberWithSameMetadataDefinitionAs (#69284)
* Test fix for GetMemberWithSameMetadataDefinitionAs

* get reflection tests clean

* add doc info to test a library in native aot
2022-05-17 07:28:28 -07:00
Jan Kotas
d58efd1f78
Add more details to NativeAOT workflow doc (#68308)
Fixes #68257
2022-04-21 05:37:36 -07:00
Andrii Kurdiumov
c798915996
Add links to docs (#68211)
That hopefully simplify path for brave person willing to add new target
2022-04-19 12:18:55 +02:00
Stephen Toub
50335b1ac7
Add CoverageIncludeTests mention to coverage.md (#67779) 2022-04-11 15:43:29 +02:00
Jeremy Koritzinsky
7d562f9d2a
Make the cross-component build just another invocation of the build-runtime script (#67108) 2022-04-01 10:08:23 -07:00
Layomi Akinrinade
8c97244d57
Fix emscripten-version.txt link (#66778) 2022-03-18 00:20:19 +01:00