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

382 commits

Author SHA1 Message Date
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
Kevin Jones
22e2db1228
Update the macOS CoreCLR building documentation. (#63932)
This updates the documentation to refer to the up-to-date location of
requirements and prerequisites.
2022-01-20 23:26:05 -08:00
Andrii Kurdiumov
4e2102b73b
Add dependency analysis documentation from CoreRT (#63665) 2022-01-12 16:52:01 +09:00
Thefrank
bc7f6c2754
Add Running on FreeBSD Instructions (#63417) 2022-01-07 20:45:32 -08:00
Eric Erhardt
8ce1c54005
Update Codespaces instructions for latest (#63376) 2022-01-04 17:58:26 -06:00
Michal Strehovský
046cbf0c41
Unify threading between crossgen2 and ilc (#63282)
They don't have to differ in the `--parallelism` vs `--singlethreaded` argument.
2022-01-04 05:00:43 +09:00
Michal Strehovský
07ed923f57
Switch to objwriter from the dotnet/llvm-project repo (#63177) 2021-12-31 13:34:33 +09:00
Maxim Lipnin
0b17270554
Update the apple testing doc (#63119) 2021-12-24 15:33:24 +03:00
Pavel Savara
a73d44f100
[wasm] Testing with NodeJs on CI (#62779)
* enable testing with NodeJS on CI
* Fix task marshal tests.
Co-authored-by: Marek Fišera <mara@neptuo.com>
2021-12-18 10:14:01 +01:00
Michal Strehovský
f44b0ba183
Add docs around NativeAOT workflows (#62837) 2021-12-16 10:35:54 +09:00
Tomáš Rylek
c3683b06b0
Rename 'excludemonofailures' to 'mono' (#62749) 2021-12-14 07:38:55 +01:00
Fan Yang
8965454989
Add instructions to skip restoring nuget packages (#62634)
Add build instructions to skip restoring nuget packages, when you only made change to mono.
2021-12-10 16:38:15 +01:00
Nathan Ricci
1d4b5f684c
Updated testing document; patching and various mono-specific msbuild targets are no longer needed. (#62588) 2021-12-09 13:40:03 -05:00
Simon Rozsival
6cf785d9fb
Support Process.Start() on MacCatalyst (#61507)
* Modify existing tests

* Enable process start and kill on MacCatalyst

* Typo

* Temporarily enable ProcessTests for MacCatalyst

* Temporarily enable ProcessTests for MacCatalyst - attempt 2

* Allow running Mac Catalyst builds in App Sandbox

* Allow enabling app sandbox for the other Mac Catalyst sample

* Add missing parameter to XCode project generator

* Remove unnecessary MacCatalyst detection

* Enable App Sandbox for Mac Catalyst tests

* Create a separate test branch for App Sandbox

* Remove the restriction to enable app sandbox just for Mac Catalyst apps

* Do not throw PNSE for Mac Catalyst

* Clean-up platform-specific conditions

* Build correct Process implementation for MacCatalyst

* Try to get more information from CI for further investigation of the failing build

* Revert "Try to get more information from CI for further investigation of the failing build"

This reverts commit fc63a370d688aa0d1dc890e6928a8d031d148e56.

* Add MacCatalyst target framework for System.Diagnostics.Process

* Add supported platform annotations for Mac Catalyst

* Fix annotations

* Remove incorrectly placed attributes

* Update attributes including the reference file

* Change platform attributes

* Generate app.entitlements in the BuildAppleAppBundles test build target

* Revert "Generate app.entitlements in the BuildAppleAppBundles test build target"

This reverts commit abbe2241586e3469c3d3e9d4ecd2cea2e09d3641.

* Enable AppSandbox when generating CMakeLists.txt for libraries tests

* Try implementing a workaround for app sandbox mode

* Fix app sandbox detection bug

* Add explanation comment

* Enable more tests for MacCatalyst

* Add apple app builder input validation

* Add Mac Catalyst w/ App Sandbox enabled to runtime-manual test pipeline

* Enable networking in App Sandbox mode

* Skip test which won't work on Mac Catalyst

* Skip some tests in app sandbox mode

* Update src/tasks/AppleAppBuilder/AppleAppBuilder.cs

Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>

* Add a clarification comment for a networking entitlement

* Simplify supported platform condition

* Remove temporarily enabled test

* Remove unnecessary attributes

* Replace checking env variable with checking errno in libproc

* Update docs

* Remove unnecessary changes

* Temporarily enable running System.Diagnostics.Process.Tests for this PR

This reverts commit 02d370c2cf730bf67a3cf6fca8fcb8c5e4ff1ccd.

* Revert "Temporarily enable running System.Diagnostics.Process.Tests for this PR"

This reverts commit dc72f0f1d068314317d088d33ec87f9aa6447854.

* Fix job suffix in runtime-manual

* Remove attributes

* Revert "Remove attributes"

This reverts commit 704e9fa73cd40854d1becc2889569bab3c47d62d.

* Try changing the order of attributes to please CI

* Update ApiCompat baseline

* ApiCompat step 1: remove all attributes for MaxWorkingSet setter

* Revert "Update ApiCompat baseline"

This reverts commit a2ad03207c5f9f40b9dd2c335a1b0f31c37a0ac5.

* Revert "ApiCompat step 1: remove all attributes for MaxWorkingSet setter"

This reverts commit be72a3d2564afb89a83198ef010b3d4622799601.

* Update ApiCompat baseline

* Update ApiCompat baseline after pulling upstream main

* Remove trailing whitespace

Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
2021-12-07 20:33:38 +01:00
Steve Dunn
9872424ada
Update windows-requirements.md (#62476)
* Update windows-requirements.md

* Update docs/workflow/requirements/windows-requirements.md

Co-authored-by: Stephen Toub <stoub@microsoft.com>

Co-authored-by: Dan Moseley <danmose@microsoft.com>
Co-authored-by: Stephen Toub <stoub@microsoft.com>
2021-12-07 07:46:42 -07:00
Eric Erhardt
f53075c582
Update creating codespace instructions (#62213) 2021-11-30 15:13:21 -06:00
Adeel Mujahid
7414af2a5f
Reorganize libs.native (#61958)
* Reorganize libs.native

* Fix darwin build

* Fix wasm-win32 build

* Fix pipelines path evaluation
2021-11-24 14:47:45 -08:00
Jeremy Koritzinsky
7099f4b12a
Use reflection or a compile-time only shim assembly to reference unexposed corelib types. (#61802)
Co-authored-by: Aaron Robinson <arobins@microsoft.com>
2021-11-19 19:28:42 -08:00
Kevin Jones
a888829fc6
Update workflow docs to indicate ARM64 macOS works (#61575) 2021-11-15 09:09:02 -08:00
Eric Erhardt
3dfdcb918b
Add instructions for using Codespaces (#60996)
* Add instructions for using Codespaces

* Automate resetting the HEAD to the same commit ID used to build the pre-built container

* - Add notes about testing changes.

- Add 4-core machines

* Revert 4-core change since prebuild doesn't support multiple sku_names.
2021-11-08 20:18:05 -06:00
Maxim Lipnin
b9a2c48aa8
Clean up the documentation for the library testing (#59401) 2021-11-08 12:11:54 +03:00
Steve Dunn
5c8ea45eda
Removed two unused packages from .vsconfig (#60798)
These packages are unused as described in #60794

Co-authored-by: Santiago Fernandez Madero <safern@microsoft.com>
2021-11-02 17:40:45 +01:00
Jeremy Koritzinsky
4682098d3a
Move optdata and version file generation up to MSBuild from build-runtime (#58674)
* Move optdata and version file generation from the native build scripts up into the managed scripts. The native build scripts will now by default copy a fallback version file in place if the version files do not exist and will disable PGO if no pgo file path is passed in to the build-runtime scripts.

This removes all cases of build-runtime calling into MSBuild.

* Update CI to use the new prereqs model.

* Remove some old MSBuild arg pass-through that's no longer needed as build-runtime no longer calls into any MSBuild processes.

* Apply suggestions from code review

Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
Co-authored-by: Jan Kotas <jkotas@microsoft.com>

* Move some targets around based on feedback.

* Output version files in the artifacts/obj dir so they can be easily shared.

* Move native pgo into a targets file instead of being a separate project to be more static-graph friendly.

* Fix subsets.

* Share version file path by default

* Fix VER_FILEDESCRIPTION_STR

* Fix version fallback copies.

* Fix include path for the version headers.

* Update src/coreclr/dlls/mscordac/CMakeLists.txt

Co-authored-by: Juan Hoyos <19413848+hoyosjs@users.noreply.github.com>

* Enable easily sharing the fallback version files between all components of the repo.

* Remove some now-unused command-line options from our build scripts.

* Bump importance output to pass the pgo path between steps.

* Add eval statement to run copy_version_files script

* Rename some files and and standardize on a _version.c file name for Linux.

* Remove temp proj ref.

* Fix permissions

* Reference targets to produce version file in libraries native build.

* Fix CoreCLR build breaks

* Generate the version files for Mono

* include configurepaths.cmake on the Windows CoreFX build.

* Restore mono.proj when building it through monoaotcross.proj.

* Update copy script to work on macos.

* Make sure mono pulls in the shared version files.

* Add artifcats/obj dir as include dir for CoreCLR diagonstic components included in Mono

* Add artifacts/obj include for the whole mono build.

* Update CMakeLists.txt

* Fix NativeVersion.rc path on Windows.

* Fix linux version parsing to point at the right file.

* Fix mono version parsing (apparently the quotes make a difference here)

* Update src/coreclr/build-runtime.sh

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

* Update eng/native/version/copy_version_files.sh

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

* Update copy_version_files.sh to insert the current commit hash into _version.c.

* Apply suggestions from code review

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

* Update the _version.c writing script to only update the placeholder version file if it actually is a placeholder (not a real generated file).

* Generate the version files for wasm/browser as well.

* Fix Mono WASM cross build.

* Update eng/nativepgo.targets

Co-authored-by: Juan Hoyos <19413848+hoyosjs@users.noreply.github.com>

* Fix comparison for NativeOptimizationDataSupported.

Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
Co-authored-by: Jan Kotas <jkotas@microsoft.com>
Co-authored-by: Juan Hoyos <19413848+hoyosjs@users.noreply.github.com>
Co-authored-by: Adeel Mujahid <3840695+am11@users.noreply.github.com>
2021-10-27 10:03:34 -07:00
Elinor Fung
760a76bf4d
Add configureonly option to host native build (#60889) 2021-10-26 20:28:48 -07:00
Aleksey Kliger (λgeek)
72bcf2f77a
[tests] In test wrapper scripts if -debug is gdb or lldb, add separator before corerun and args (#60416)
* [tests] If -debug is LLDB, add separator before corerun and args

   For runtime test shell scripts, if a debugger is specified with `-debug=/usr/bin/lddb` or the like, add a separator so that `lldb` doesn't try to interpret `-p` as a PID argument.

   Also update mono workflow doc

* Also support gdb as the debugger
2021-10-20 10:17:54 -04:00
Aleksey Kliger (λgeek)
10d8964fb0
[docs] Add LLDB debugging instructions for Mono running a runtime test (#60410)
* [docs] Add LLDB debugging instructions for Mono running a runtime test

* Also add a note about building a single test
2021-10-14 12:54:31 -04:00
Stephen Toub
e118d3fc71
Update Microsoft.CodeAnalysis.CSharp.CodeStyle version (#59783) 2021-10-03 10:14:02 -04:00
Jason Pugsley
dff742a06b
FreeBSD12 version cleanup and process and thread enhancements (#59339)
* Set FreeBSD 12 as minimum version

This is a small clean-up to remove reliance on FreeBSD versions
prior to 12 and more specifically 12.2 which is the lowest currently
supported version of FreeBSD. 11.4 becomes unsupported as of
October 2021. See https://www.freebsd.org/releases/

* Add functionality for FreeBSD process and threads

Added support for naming native threads, the process disambiguation
key and detecting if the process is running under a debugger.

Changed references to thr_self to pthread_getthreadid_np already
used elsewhere - it returns the same value.
2021-09-25 22:37:11 -07:00
Aleksey Kliger (λgeek)
7e67f8763d
[docs] macOS: add note about Xcode command line tools (#59477) 2021-09-23 14:54:23 -04:00
Aleksey Kliger (λgeek)
89cea2e659
[docs] Add instructions for debugging native runtime code on Android (#59183) 2021-09-17 09:01:13 -04:00