1
0
Fork 0
mirror of https://github.com/VSadov/Satori.git synced 2025-06-10 01:50:53 +09:00
Commit graph

311 commits

Author SHA1 Message Date
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
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
Jan Kotas
0f75a0269c
Rename nightly to daily in the dogfood instructions (#71383)
Consistency with runtime and SDK download urls and other docs.
2022-06-28 09:27:58 -04:00
Filip Navara
2f38fb55e9
Fix unit test example (#70457) 2022-06-08 14:59:38 -07:00
Thays Grazia
fd0a8e4b3b
Update testing-android.md (#70362) 2022-06-07 13:15:13 -03: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
Fan Yang
2fbc50fe92
[mono][doc] Update Android NDK version to r23c (#69913) 2022-05-31 09:39:51 -04: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
Jerry King
f14aa5d03e
Correct MSVC version in requirements documentation (#68078)
* Correct MSVC version in requirements documentation

* Fix version constraint
2022-05-19 08:03:41 -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
Viktor Hofer
daca034cc6
Update minimum required version of VS to 17.3 (#69162)
Fixes https://github.com/dotnet/runtime/issues/68764

The in the above issue mentioned warnings are resolved by using VS 17.3 (currently Preview1).
2022-05-10 19:50:22 -04:00
Elinor Fung
e5f284401c
Add doc about using local build of apphost (#69097) 2022-05-10 14:24:38 -07:00
Adeel Mujahid
4141913109
Fix typos (#69011) 2022-05-07 11:55:53 -07:00
Bruce Forstall
6c294a340c
Add a document describing how to triage CI test failures (#68682)
* Add a document describing how to triage CI test failures

* Updated for feedback

1. Added a section about "finding the most general failure configuration"
2. Moved Kusto section up, to suggest using that to determine breadth of
failures
3. Added more about GCStress, crossgen2, ilasm round-trip testing modes
2022-05-03 10:58:05 -07:00
Bruce Forstall
0f3f7ea4d9
Add document describing how to disable tests (#68727)
* Add document describing how to disable tests

Update libraries "filtering tests" doc with information and examples for
using `SkipOnCoreClrAttribute`

* Update for feedback

Added SkipOnMonoAttribute, CollectionAttribute, an example
of using multiple SkipOnCoreClrAttribute, and how the xunit
attributes for test disabling apply to the "converted"
src/tests tree.
2022-05-03 10:56:34 -07:00
Jan Kotas
d58efd1f78
Add more details to NativeAOT workflow doc (#68308)
Fixes #68257
2022-04-21 05:37:36 -07:00
Kevin Jones
7fd3c9293c
Use and support OpenSSL 3 on macOS (#68045)
* Use OpenSSL 3 on macOS

* Update documentation

* Restart CI
2022-04-20 11:10:53 -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
Drew Kersnar
3b6b8123ec
Update VSCode library debugging documentation (#67925) 2022-04-18 14:00:32 -05:00
Andrew Au
3c7c9fb773
Make it easier to enable FEATURE_AUTO_TRACE (#63478) 2022-04-13 15:59:13 -07: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
Andy Gocke
9047692595
Update Ubuntu version names in the workflow docs (#67169)
16.04 and 18.04 are out of support, but we always support the latest Ubuntu LTS
2022-03-25 15:24:32 -07:00
Andy Gocke
c3e1d21c2f
Delete create-codespaces-prebuild.yml (#67015)
* Delete create-codespaces-prebuild.yml

* Remove reference to the prebuild action and link to the codespaces doc instead.

Co-authored-by: Eric Erhardt <eric.erhardt@microsoft.com>
2022-03-22 21:44:24 -06:00
Layomi Akinrinade
8c97244d57
Fix emscripten-version.txt link (#66778) 2022-03-18 00:20:19 +01:00
Dan Moseley
ac20efd2a2
fix pal test (#66636) 2022-03-16 14:56:01 -06:00
Elinor Fung
78083e7dd0
Add test for comhost with managed host (#66360) 2022-03-09 20:52:18 -08:00
Elinor Fung
627851323f
Add tests for ijwhost (#66308) 2022-03-08 09:14:43 -08:00
Aaron Robinson
6fe1a80959
Use CMakeProjectReference instead of ProjectReference (#66202)
* Use CMakeProjectReference instead of ProjectReference

Changing this permits usage of "\runtime\dotnet.cmd build" as opposed
  to forcing users to use "\runtime\dotnet.cmd msbuild".
2022-03-04 19:40:27 -08:00
Andrew Wang
acbd20e673
Update linux-instructions.md for .NET 6/7 (#65160)
* Update linux build instructions for .NET 6/7
* Add linux musl arm to the list

Co-authored-by: Juan Hoyos <juan.hoyos@microsoft.com>
2022-02-10 14:56:09 -08:00
Marek Fišera
1ac45f5161
[wasm] Fix WebSocket tests on NodeJS (#64330)
- Move all SetScriptCommands to a target, so they are placed after scenario in the generated script.
- Add WasmXHarnessArgsCli as an alternative variable that can be used from cli.
- Fix NodeJS symbolic links on Helix.
- Copy TestEchoMiddleware and RemoteLoopMiddleware even for Scenario=NodeJS.
- Enable System.Net.WebSockets.Client.Tests on NodeJS.
2022-02-09 10:27:24 +01:00
Michal Strehovský
87777b624b
Change the way we build CoreCLR tests for NativeAOT (#64738)
* Remove NativeAOT testing added in dotnet/runtime#62704 to make room for the different strategy.
* Build NativeAOT as part of test build, not test run
2022-02-09 07:23:13 +09:00
Michal Strehovský
b11469f658
NativeAOT ARM64 libraries testing (#64373)
Enable ARM64 libraries testing for NativeAOT.

* Copy the crosstargeting build approach from crossgen2. We'll now build two ILC compilers when targeting ARM64 from x64: an arm64-hosted one that is useless on the build machine, and a x64-hosted one, that will work on the build machine. The `ILCompiler.csproj/props/_crossarch.csproj` projects mirror crossgen's approach.
* Limit the number of libraries tests to one. Hopefully it avoids the build races that we'd see until we can update the repo build to .NET 7 Preview 1.
* Create an ARM64 NativeAOT CI leg that sends the libraries tests to Helix to run.
2022-02-08 13:33:47 +09:00
Michał Zegan
e836ce548a
Fix test build command in docs/workflow/building/coreclr/nativeaot.md (#64690)
The command `src/tests/build[.cmd|.sh] nativeaot [Debug|Release] tree nativeaot` seems not to work as expected.
Namely it seems to build not only the nativeaot smoke tests.
Fixed to be `src\tests\build[.cmd|.sh] -nativeaot [Debug|Release] -tree:nativeaot`
2022-02-03 20:35:43 +09:00
Fan Yang
bccc18bb6c
[Mono] Add incremental build instructions when ... (#64396)
... you need to need to run library tests or run HelloWorld sample with your change to mono.
2022-02-01 16:01:19 -05:00
Michal Strehovský
e824d399a6
Fix NativeAOT official build (#64432)
Official builds are currently not building NativeAOT CoreLib.

For unknown reasons the official build splits native build and managed build of the CoreCLR partition.

We had a convenient clr.nativeaotlibs subset that built both the native part and managed part. Managed part can't be built without the native part, so it makes sense.

To satisfy official build's weirdness, we need to split this into two subsets so that we can tell the official build to build the managed part. (Official builds already build everything in the native part, so we're good there.)
2022-01-28 21:26:43 +09:00
Aleksey Kliger (λgeek)
fe0d9200f4
[docs] Collecting stack traces with native symbols on WebAssembly (#64383)
* [docs] Collecting stack traces with native symbols on WebAssembly

* Apply suggestions from code review

Co-authored-by: Larry Ewing <lewing@microsoft.com>
Co-authored-by: Ankit Jain <radical@gmail.com>

Co-authored-by: Larry Ewing <lewing@microsoft.com>
Co-authored-by: Ankit Jain <radical@gmail.com>
2022-01-27 14:16:21 -05:00
Mitchell Hwang
1c50993492
[Android][libs] Enable Internal.Console.Write in System.Private.CoreLib (#63949)
* [Android][libs] Enable Internal.Console.Write in System.Private.CoreLib

* [docs] Add debugging System.Private.CoreLib Internal.Console.Write

* Elaborate on debugging corelib log

* Address feedback
2022-01-24 15:06:56 -05:00