1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-09 17:44:48 +09:00
Commit graph

352 commits

Author SHA1 Message Date
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
Bruce Forstall
7de1c0771f
Remove dead link (#82972) 2023-03-04 05:33:03 -05:00
Craig Johnson
f91d1d4dfa
Fix juxtaposed command - correct value is noted in eng\build.ps1 (#81572) 2023-02-27 09:48:40 +01: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
Ivan Diaz Sanchez
bf0608f48f
[Continuation] - Enable the fundamentals behind libraries tests compiled via Crossgen2 (#80946)
* Added the documentation regarding the new libraries test modes.

* Enable the fundamentals behind libraries tests compiled via crossgen2.

* Fixed a typo with SINGLE_FILE_TEST_RUNNER.

* Addressed review comments.

* Restored an accidentally deleted comment.

* Fixed wrong Crossgen2 path and added comment with link to an important tracking SDK bug.
2023-02-20 15:07:30 -08:00
Thays Grazia
9fcbeee2e4
The path of androd_sdk was changed. (#82256) 2023-02-17 12:19:35 -03: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
Jeff Handley
1166bba6d1
Refine corerun instructions. Improve argument parsing in src/tests/build. (#81733)
* Refine corerun instructions. Improve arg parsing in src/tests/build.

* Revert the libraries configuration default. Refine usage and docs.

* Exit argument processing at first unrecognized arg per existing pipeline usage
2023-02-08 13:41:21 -08:00
Michal Strehovský
b6d18292a4
WarningsAsErrors -> TreatWarningsAsErrors (#81508) 2023-02-01 17:54:52 -05:00
Michal Strehovský
9459ac64f1
Add note on WarningsAsErrors (#81451) 2023-02-01 17:22:59 +09:00
Ilona Tomkowicz
f8ab555409
[wasm][debugger][libs] Documentation: How to debug library tests (#77368)
* Draft.

* DevTools as IDE instructions.

* VS Code as IDE instructions.

* Correction: `WebRoot` is not required.

* Added: expect long wait & new pic without webRoot

* Renamed as suggested by @pavelsavara.

* The first bp is not automatic, user has to set it on their own.
2023-01-31 14:54:46 +01:00
Šimon Rozsíval
828edfb2e4
[Android] Bump target SDK version in Android manifest (#80923)
* Set target SDK version

* Update Android docs

* Disable tests that do not pass with target API 31

* Check if the installed Android SDK is up-to-date

* Update skip explanation

* Use latest SDK

* Disable failing System.Net.Security test
2023-01-24 19:51:17 +01:00
Tlakaelel Axayakatl Ceja
657f6654e5
Change github illink links (#80407)
Change github illink links to point from dotnet/linker to dotnet/runtime
Delete scripts that clone illink into runtime since illink now lives in runtime
Create a forward link for error 1012 in illink, that leads users to open an issue in runtime
2023-01-11 11:59:14 -08: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
Eric Erhardt
7c212d2f0d
Update Libraries Feature Switches for DynamicCodeSupport (#80397) 2023-01-09 18:29:19 -08: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
Gregg Miskelly
a92c5bc9d5
Add instructions for disabling VS signature validation (#79777)
In Visual Studio 17.5, Visual Studio will start enforcing signature validation for DAC and DBI. This adds documentation on how to disable this for folks using daily or private builds.
2022-12-18 21:29:18 -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
b0c8d0b03e
Merge branch 'main' into Net8ChangesSecondAttempt 2022-11-29 15:21:43 +01:00
Anton Firszov
ac03fbd184
linux-requirements.md: add missing line-continuation (#78476) 2022-11-24 12:37:24 -05:00
Viktor Hofer
46780fd365 Update 'net7.0' usages in the repo 2022-11-18 21:24:56 +01:00
David Wrighton
939f050e32
Improve coreclr test infra (#77929)
These fixes were built for PR #74886; however, as that PR is so utterly large and unreviewable, I've pulled out the test infra changes for separate review

Changes
- Increase the number of trampolines in the llvm aot compilation process to 20,000 from 10,000 (This avoids running out of them in some of the hardware intrinsics tests
- Add a concept of striping tests when running under GC stress
  - To use this new feature, specify <NumberOfStripesToUseInStress>N</NumberOfStripesToUseInStress> within the merged test assembly. If this value is set, then the tests within that merged test assembly will be run across N different work items instead of 1 when running under any form of GC stress based scenario. At this moment the largest supported value of N is 99
- Emit the testresults.xml file as a file which is exported from the tests. This is useful for debugging testresult.xml parsing failures
- Fix the testresults summary generator to never emit an empty CDATA string. If one is present the parser may fail the parse.
- In the XUnitWrapperGenerator fix the implementation of the Outerloop and ActiveIssue when used with a conditional member.
- Add PlatformDetection.IsMonoLLVMAOT, PlatformDetection.IsMonoLLVMFULLAOT, and PlatformDetection.IsMonoInterpreter boolean properties to the PlatformDetection type for use with the ActiveIssue attribute
- Add some documentation about project files for coreclr tests, as well as some documentation on the command line parameters for merged test runner assemblies
2022-11-07 16:19:53 -08:00
Kevin Jones
705babd93b
Improve WoA workflow documentation (#77691)
* Recommend using Visual Studio's ninja
2022-11-01 09:17:48 -07:00
Jakob Botsch Nielsen
86254ee842
Update some documentation (#77711)
* Update references to Ngen variants of JIT environment variables
* Update crossgen to crossgen2
* SPC instead of mscorlib
2022-11-01 09:15:55 -07: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
Armin Shoeibi
f4a6849783
Retire .NET 5 (#69911) 2022-10-27 11:53:40 -07:00
Jan Kotas
76c960bd11
Fix link (#77297) 2022-10-20 16:55:54 -07:00
Jeff Handley
fce911783f
Update .vsconfig file (#77189)
* Update .vsconfig; remove outdated and add new/missing components

* Update .vsconfig to sort the components

* Remove Blend component from .vsconfig
2022-10-20 10:09:19 -07: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
Will Smith
331dc3a0bb
Update disasm-checks documentation (#76286)
* Update disasm-checks documentation with limitations and future improvements

* Include not about anchors

* Update disasm-checks.md
2022-09-28 07:51:36 -07:00
Will Smith
7681692bdc
[JIT] CodeGen verification testing (#75102)
* Add test

* Add CHECKs

* Build scripts and test settings

* COMPlus -> DOTNET

* Fix filenames

* Missing >

* Missing quotes

* use %scriptPath%

* Rework properties, start two examples

* Arch demo

* Cleanup

* Remove tab

* Easier environment variables.  Undo precommand changes.

* undo blank line

* clean CHECKs

* Draft of bash

* Bash, conditionals

* More variables, start on run.cmd/sh/py

* another output

* Support in cmd/bash for RunningDisasmChecks

* copy, factor, formatting

* Initial work to include FileCheck. Added SuperFileCheck.

* Able to build SuperFileCheck

* Do not DisasmCheck TypeEquality_r for now. Update some FileChecks to follow SuperFileCheck rules.

* Partially wiring up SuperFileCheck to tests

* Piping list of method names from SuperFileCheck to JitDisasm

* Handling bash a little bit

* Moving SuperFileCheck to tests/Common

* Few tweaks

* Building SuperFileCheck as part of the test build

* Tweaking a few things

* Fixed a bug

* Moving SuperFileCheck back to src\coreclr\tools. Removed checks from TypeEquality_r.

* Restore original logic in Runtime_73681

* Trying to add CI leg for disasmchecks

* Use x64 package if x86 platform detected for JIT tools package

* Remove innerloop for disasmchecks

* Trying to fix build. Only run in Windows for now.

* Update Runtime_73681.cs

Trying to fail test

* Trying to fix build

* Update Runtime_73681.cs

* Update Runtime_73681.cs

* Fixing a few issues

* Trying to run disasmchecks as part of CI

* Trying to run disasmchecks

* Trying to run disasmchecks

* Trying to run disasmchecks

* Revert a change

* Trying to run disasmchecks

* Trying to run disasmchecks

* build SuperFileCheck on non-windows

* few tweaks

* Trying to fix CI

* Including SuperFileCheck for tests

* Cleanup

* More cleanup

* Cleanup

* Changed SuperFileCheck to not publish everything. Changed SuperFileCheck's lookup for FileCheck.

* Invoking SuperFileCheck using dotnet

* Making the test pass

* Only run disasm checks for coreclr and not mono

* Using HasBatchDisasmCheck and HasBashDisasmCheck to determine to run the check

* Enabling filecheck on linux and osx

* Added more comments

* Added ARM64 specific test. Do not run SuperFileCheck if no methods were found.

* Added documentation. Changed disasm-output.

* Minor doc tweak

* Minor doc tweak

* Minor doc tweak

* Minor doc tweak

* Minor doc tweak

* Cleanup. Trying to fix linux

* Fixing test

* Add information on additional functionality

* cleanup

* Add FileCheck snippet

* Undo environment variable changes

* Feedback from Mark

* Cleanup

* Trying to fix linux test run

* Trying to fix linux test run

* A few missing changes from the original branch

* Enable OSX for disasm checks

* cleanup / comment

* Force test failure

* Update Runtime_73681.cs

* Set env vars after errorlevel check

* Reverting back on setting environment variables in test. Added new FileCheck test for mod optimization

* Force a failure by changing the register

* Ignore native binaries for superpmi collect

* Update Runtime_34937.cs

* Force the correct failure

* Update Runtime_34937.cs

* Update Runtime_34937.cs

* Adding specific OS check prefixes. Changed dump-input context amount

* Added getting fully qualified method names with wildcards for SuperFileCheck

* More tests. Fixed a few issues with generics.

* Disabling generic support

* Error if it cannot find enclosing type declaration

* Fixing build

* Remove namespac

* Bring generics back, but in a limited form

Co-authored-by: Mark Plesko <markples@microsoft.com>
2022-09-23 15:31:05 -07:00
Eric Erhardt
55060ebf68
Split Codespaces configuration based on development scenarios (#74683)
* Split libraries and wasm devcontainers

Codespaces allows for monorepo support now. So we can have different pre-builds for different dev environments.

Creating a "libraries" pre-build and a "wasm" pre-build devcontainer.

* Move devcontainer files into separate folders

* Path up a directory to the Dockerfile

* Split the Dockerfile so it can be customized per devcontainer

* Update Codespaces docs

* Respond to PR feedback

* Use the new open devcontainers path.

* Use the GH CLI feature instead of installing it ourselves

* Set hostRequirements for Codespaces

Developing in dotnet/runtime with a 2-core / 4GB ram machine doesn't work very well. Add a minimum of 4-core machine to the devcontainer spec.

Fix #75680
2022-09-20 11:24:04 -05:00
Nathan Ricci
4b1840b700
Updated test doc. (#75736) 2022-09-16 12:46:16 -05:00
Zoltan Varga
2bc4f61536
[wasm] Automate patching the emsdk installation to add controlled indeterminism. (#75532) 2022-09-13 15:46:32 -04:00
Jan Kotas
32ac664fca
Replace net7 with net8 in dogfooding and workflow docs (#75453) 2022-09-12 20:40:44 -07:00
Jan Kotas
c43a30c573
Use current version of clang and llvm in Linux prereqs (#74811)
Fixes #74790
2022-08-30 10:13:38 -07:00
Ankit Jain
ba3ee97687
[wasm] Move src/tests/BuildWasmApps/* to src/mono/wasm (#74698)
- This will help simplifying the path subsets in
`eng/pipelines/common/evaluate-default-paths.yml`, which would then help
to avoid a lot of unrelated non-wasm builds on PRs
2022-08-29 17:34:35 -04:00
N0D4N
126045ca05
Repoint urls in docs (#73766) 2022-08-14 18:56:07 -06:00
Jeff Handley
ad7feeb55b
Rename 'up-for-grabs' label to 'help wanted' (#73810) 2022-08-12 13:20:59 -06:00
Jan Kotas
f49851cad9
Delete NGen flavor of JIT configs (#73383)
* Delete NGen flavor of JIT configs

We do not need them anymore since the JIT configs are specified on AOT tool command line now.

* Update docs
2022-08-04 13:17:18 -07:00
Aleksey Kliger (λgeek)
4f835ae440
[docs] Debugging Libraries tests on Mono using VS Code (#73393)
* [docs] Debugging Libraries tests on Mono using VS Code

* markdown lint fixes

* A note about windows
2022-08-04 15:43:21 -04:00
Huo Yaoyuan
cd7db356a8
CMake support in VS open folder for coreclr (#70285)
* Basic building support

* Add windows platform matrix

* Add open folder debug instructions
2022-07-27 14:39:30 -07:00
Steve Pfister
d7d0e421d7
[wasm] Modify workload to pick threading runtime packs (#72412)
* [wasm] Modify workload to pick threading runtime packs

This change adds the 2 wasm threading runtime packs to the wasm workload. In order for a threading runtime pack to be chosen, WorkloadManifest.targets is also modified to override the runtime pack name when the following props are set:

WasmEnableThreads - full threading support and will load Microsoft.NETCore.App.Runtime.multithread.Mono.browser-wasm

WasmEnablePerfTrace - runtime only threading support and will load Microsoft.NETCore.App.Runtime.perftrace.Mono.browser-wasm

* Add error condition when both WasmEnableThreading and WasmEnablePerfTrace are true

* [wasm] Set default value for MonoWasmBuildVariant, for runtime pack nuget

* [wasm] Wasm.Build.Tests: build runtime pack nugets with different names

- The earlier approach of simply making copies of the existing runtime
pack nuget with different names doesn't work, and `dotnet workload
install` rejects it.

```
  Installing pack Microsoft.NETCore.App.Runtime.Mono.multithread.browser-wasm version 7.0.0-ci...
  Workload installation failed. Rolling back installed packs...
```

Instead, now we build the missing nugets from the project with different
values for `$(MonoWasmBuildVariant)`.

- this handles local builds, and incremental builds also
- To skip building the missing nugets, for example, when you have all of
them available, then set `WasmSkipMissingRuntimePackBuild=true`.

* fix comment

Co-authored-by: Steve Pfister <steve.pfister@microsoft.com>
Co-authored-by: Ankit Jain <radical@gmail.com>
2022-07-27 12:08:59 -04:00
Adeel Mujahid
9d6396deb0
Fix typos (#72709) 2022-07-23 20:24:28 -07: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