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

134 commits

Author SHA1 Message Date
Santiago Fernandez Madero
df8e2d751e
Update testing.md (#36286) 2020-05-12 12:49:05 -04:00
Sean Hall
5f884ba5fb
Fix vs testing link (#36261) 2020-05-12 08:24:02 +02:00
Viktor Hofer
2cd041bbee
Document F5 and Test Explorer prerequisites (#36117)
* Document F5 and Test Explorer prerequisites

* Update docs/workflow/testing/visualstudio.md

Co-authored-by: Alexander Köplinger <alex.koeplinger@outlook.com>
2020-05-08 21:03:17 +02:00
Tomas Weinfurt
0ec974709e
add requirement doc for FreeBSD (#35704)
* add freebsd requirements

* corrections

* format

* feedback from review

* more cleanup

Co-authored-by: Tomas Weinfurt <furt@Shining.local>
2020-05-07 13:47:41 -07:00
Cédric Luthi
f6aad636c9
Simplify build on macOS (#35570)
* Check for OpenSSL (and pkg-config) in the check_prereqs() function
* Simplify OpenSSL installation instructions
* Automatically pick the OpenSSL version installed by Homebrew by exporting the proper PKG_CONFIG_PATH environment variable
* Improve the error message if cmake can't find OpenSSL

The previous instructions were asking the user to add symbolic links inside  /usr/local/lib/ and /usr/local/lib/pkgconfig/ for OpenSSL related files. There is no need for a complicated setup with symbolic links when the PKG_CONFIG_PATH environment variable points to the right pkgconfig, which is now done in build-commons.sh.

Co-Authored-By: Jan Kotas <jkotas@microsoft.com>
Co-Authored-By: Jeremy Barton <jbarton@microsoft.com>
2020-05-07 11:12:29 +02:00
Viktor Hofer
85bfbfcf54
Re-enable xunit.console code coverage (#35894)
Re-enable xunit console code coverage measurement until
https://github.com/coverlet-coverage/coverlet/issues/834 is fixed.
2020-05-06 19:03:55 +02:00
Viktor Hofer
000046f6c8
Change netcoreapp5.0 to net5.0 (#35176)
* Change netcoreapp5.0 to net5.0

* Remove tfm downgrades

* Rename S.R.CS.Unsfae include folder
2020-05-06 13:53:21 +02:00
Viktor Hofer
200b197559
Enable dotnet test in libraries (#35285)
* Enable dotnet test

* Update docs

* Use vstest in F5 scenarios

* Make dotnet test without framework switch work

* Code cleanup

* Only run code coverage conditionally

* Fix F5 condition for netcoreapp

* Downgrade sdk to check for helix submission failures

* Fix wrong conditions

* Add blame data collector
2020-05-04 11:57:51 +02:00
Jan Jahoda
efc260cada
Add zlib-dev to linux requirement (#35571)
On Ubuntu, the build fails on missing zlib.
2020-04-28 16:27:06 +02:00
Kenneth Pouncey
6004f18244 [docs] Helpful links when building the first time.
- Add requirements link to the mono build README.md
- Add a link to the requirements document when missing openssl.
2020-04-22 07:23:46 +02:00
Viktor Hofer
3b42a9a1d4
Update VS minimum dependency (#35114)
With the net5.0 TFM change and the nuget static graph restore, we require VS >= 16.6 Preview2.
2020-04-17 20:00:49 +02:00
mrj001
9be23bada7
updated output folder from 'aforementioned' to the folder where the single library output is found. (#34340) 2020-04-17 16:45:54 +02:00
Tomas Weinfurt
90e090553f
use curl with OpenSSL backend on 16.04-cross based containers (#34909)
* use curl with OpenSSL backend

* update docs
2020-04-14 09:51:39 -07:00
Adeel
2e0039ac6b Add note about building PAL tests in docs 2020-04-09 22:11:35 +03:00
Santiago Fernandez Madero
e298818e7c
Update libraries running tests broken link. (#34704) 2020-04-08 11:39:25 -07:00
Aaron Robinson
174f13637c
Update documentation for CoreCLR testing. (#34674)
* Update documentation for CoreCLR testing.
2020-04-08 09:07:47 -07:00
Viktor Hofer
8e0147ecdf
Redesign the subset feature (#34663)
* Redesign subset feature and remove subsetcategory

Implement proposal from https://github.com/dotnet/runtime/issues/34403.
Remove subsetcategory and allow all subsets to specified via the -subset
switch.
2020-04-08 03:09:31 +02:00
Viktor Hofer
62112b0abb
Remove entry point helper scripts (#33756)
* Remove entry point helper scripts

The entry point helper scripts were useful during the consolidation of
the repositories. This work is mostly done and the build.cmd/sh script
should be used, going forward.
2020-04-06 15:38:04 +02:00
Viktor Hofer
42183b1b86
Enable restore for ref and src projects in libs (#33553)
- Use RestoreUseStaticGraphEvaluation which improves no-op restore by 10-15x down to 10-20 seconds.
- .builds msbuild files renamed to .proj as RestoreUseStaticGraphEvaluation throws for non .proj files without an env var set.
- Introducing subsets for libraries and mono and replacing -buildtests switch which was only working for libraries in favor of the subset switch -subset tests which works consistently.
- Fixing the Microsoft.DotNet.CodeAnalysis analyzer which wasn't running and adding missing exclusions.
- Separating restore and build phases in different parts in the repo (ie for installer.tasks) as generated props and targets need to be imported which requires a reevaluation in the build phase.
- Fix eng/docker/build-docker-sdk.ps1 by using the official build entrypoints (cc @alnikola)
- Remove a few depprojs in favor of project restore (faster restore :))
- Fix root code coverage measurement not working correctly
- Traversal support instead of dir.traversal.targets or manual build target defines.
- Introduce a root Build.proj entrypoint which is responsible for building and restoring the repository. This is necessary to enable the new NuGet fast restore which works best and fastest with a single entrypoint.
- Avoid binclashes in libraries and between libraries and installer (netstandard.depproj vs netstandard.csproj)
- Upgrading the SDK to 5.0 latest
- Code cleanup
2020-04-06 11:54:10 +02:00
nietras
39db2a834e
Fix subsetCategory is just one - not two -- (#34498)
Otherwise fails with:
```
MSBUILD : error MSB1001: Unknown switch.
Switch: --subsetCategory
```
on Windows
2020-04-03 15:20:10 +02:00
Andrey Kurdyumov
394561095a
Fix ordering of the instructions (#34447)
Command for opening Visual Studio works from root folder,
but not inside library folder as was implied by ordering in the instructions.
2020-04-02 13:55:41 +02:00
Egor Bogatov
564a5d6b68
[mono] Fix LLVM JIT build on arm64 host (#34332) 2020-04-01 11:25:08 +03:00
Tomas Weinfurt
595a95c05b
add support for FreeBSD cross-compilation (#34000)
* add support for FreeBSD cross-compilation

* feedback from review

* update detection

* add openssl to docs

* feedback from reviews

* feedback from reviews

* final cleanup

* feedback from reviews

* simplify detection of route.h

* correct __CrossBuild detection

* use TargetOS for installer
2020-03-31 13:36:32 -07:00
Jan Kotas
59be94b698
Unifying duplicate msbuild properties in CoreCLR build (#34261)
- __TargetOS -> TargetOS
- __BuildType, BuildType -> Configuration
- __BuildArch, BuildArch -> TargetArchitecture
2020-03-30 10:06:24 -07:00
Jan Kotas
19c7f5a704
Rename ArchGroup -> TargetArchitecture (#34260)
Most places use TargetArchitecture already. These two properties seems to be always set to the same value.
2020-03-29 17:20:20 -07:00
Jan Kotas
479067315a
.NET Core to .NET branding changes (#33694)
Contributes to #33680
2020-03-28 07:00:19 -07:00
Karel Zikmund
cee4eca178
Add how to run outer loop libraries tests (#32940)
* Add how to run outer loop libraries tests
2020-03-27 09:55:14 -07:00
Jarret Shook
7d67d17a9f
Use 16.04 to build the x64-arm crossgen (#34171)
* Use 16.04 to build the x64-arm crossgen

* Update docs
2020-03-26 21:58:50 -07:00
Jarret Shook
96560599c3
Run crossgen in parallel in crossgen_comparison.py (#33175)
* Run crossgen in parallel

* Change container to python:3.7

* Undo python3.7 container

* Update the arm build image and address feedback

* Default to python 3.x

* Force python3

* Small python changes

* Define asyncio

* Update to run arm 18.04 cross

* Remove dup core_root generation

* Update arm container

* Use 3.6 for crossgen_comparison

* Finish adding async defintions

* Fix spacing in file

* Update docker image used in linux-requirements
2020-03-25 17:29:19 -07:00
Next Turn
465669de88
Update docs to point to new build scripts (#33325)
* Update docs to point to build-runtime scripts

* Fix CoreLib build command

* Reference the root script, use documented syntax
2020-03-25 06:38:43 -07:00
Jan Kotas
a1aedd5034
Minor doc updates (#34003) 2020-03-24 08:47:28 -04:00
Robert Henry
b124e9b3e0
Update README.md (#33999)
Add missing back-ticks to quote a path name.
2020-03-23 21:42:23 -07:00
Robert Henry
7f7251d1fe
Update README.md (#33995)
Add missing articles ("the") to README.md
2020-03-23 21:40:13 -07:00
Johan Lorensson
8722e7a761
Correct subsetCategory parameter passed to build.cmd on Windows. (#33713) 2020-03-18 06:35:08 -07:00
Bruce Forstall
a21da8f6d9
Move JIT documentation to new docs/design/coreclr/jit directory (#33321)
Reduce clutter in the shared directory, and make it easier to find
all the JIT-related documentation.
2020-03-10 08:53:57 -07:00
Mattias Karlsson
6ef9af19c2
ms-vscode.csharp to ms-dotnettools.csharp (#33354)
C# extension has changed its name from "ms-vscode.csharp" to "ms-dotnettools.csharp".
2020-03-09 14:00:22 +01:00
Next Turn
dc655c1a6c
Fix artifact paths in doc (#33324) 2020-03-06 20:50:42 -08:00
Anirudh Agnihotry
fef9ca70f6
Replacing OSGroup with TargetOS for coreclr, libraries and installer (#32833)
* Remove OSGroup from coreclr and corefx

* remove from installer

* fixing coreclr tests

* Some documentation changes

Co-Authored-By: Viktor Hofer <viktor.hofer@microsoft.com>

* moving buildos calculation to config.props

* BuildOS -> TargetOS

* remove osgroup suffix

* removing comment and correcting typo

* dotnet msbuild -> dotnet build at relevant places in docs

* moving more properties to configuration.props

* refactoring properties

* moving TargetArchitecture property to loveBuildd.Targets

* adding configuration.props to signing

* Fix installer build

* BuildOS -> Target os and removing slash

Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2020-03-05 07:51:06 -08:00
Viktor Hofer
33f2807fc6
Remove BuildAndTest and RebuildAndTest target in favor of Test (#33151)
* Implicitly build when invoking the test target

To get closer to the VSTest behavior this changes the Test target to
implicitly invoke the Build target unless /p:TestNoBuild is passed in.
(VSTest uses VSTestNoBuild which is controlled by the
dotnet test --no-build flag)

* Fix error logging for test outputs

* Update dotnet msbuild to build docs

* Update ReportGenerator global tool version

Updating ReportGenerator's version to 4.5.0 which removes unnecessary
logging (args passed in).
2020-03-04 19:40:19 +01:00
Jeremy Koritzinsky
389835b159
Move MSBuild projects out of the native build scripts (#31701)
* Move coreclr managed tools that don't need to be published and System.Private.CoreLib into their own subsets in Subsets.props and drive their builds via Arcade instead of the coreclr scripts.

* Remove building System.Private.CoreLib from build scripts. Eventing sources TBD.

* Build packages via an Arcade subset instead of within build.cmd/build.sh

* Remove packages and test build from build.cmd. Clean up options on build.cmd and build.sh

* Generate eventing sources for System.Private.CoreLib within MSBuild instead of in the build.cmd/sh scripts. Clean up the build.sh usage documentation (lots of copy-paste errors).

* Remove check-definitions.py script and supporting goo.

* Fix eventing generation.

* Wire up  TargetArchitecture and OSGroup to coreclr's BuildArch and BuildOS to enable building System.Private.CoreLib for the correct output given the script parameters.

* Stop passing down now non-existent skiptests parameter.

* Fix coreclr .nuget rid parsing to account for linux-musl correctly.

* Update build scripts to use Arcade to build packages.

* Convert from Properties to AdditionalProperties.

* Build crossgen as part of Arcade (self-contained publish TBD).

* Pull down .NET runtime CLI for helix runs with crossgen2.

* Output crossgen2 to the BinDir/crossgen when built from the project file. Enable the test shell scripts to either resolve the dotnet CLI from the path or from relative to Core_Root if the __DotNet variable is undefined.

* Generate distro rid during windows build.

* Various fixes to get files binplaced correctly and builds to work on Linux.

* Fix search for dotnet in repo on bash.

* Remove __BuildTest variable and fix up the script.

* Fix steps in build-job to build S.P.CL before the runtime and build managed tools after the runtime.

* Fix casing typo.

* Refactor detecting system OS and Architecture.

* Fix wasm rid calculation.

* Run crossgen2 on corerun so we run it on the runtime we're going to ship it with.

* Assemble a live self-contained publish in the crossgen2 package.

* Fix init-os-and-arch resolution.

* Ensure that the runtime files we package in crossgen2 are the crossgened ones.

* Remove extraneous /bl

* Build R2RDump to a subfolder instead of the product dir.

* Seperate out the crosssgening corelib step into a separate script.

* Fix permissions on crossgen-corelib.sh

* Rename build.cmd/sh to build-runtime.cmd/sh

* Fix parameters in crossgen2determinism test.

* Run crossgen on System.Private.CoreLib in CI.

* Restore original build.cmd/sh scripts with a deprecation warning and update instructions.

* Initialize developer prompt in crossgen-corelib.cmd script so we can find DIA on CI machines.

* Make sure vs tools are enabled so we can resolve DiaSymReader.

* Call build-native instead of build.

* Fix build-native -> build-runtime.

* Fix permissions.

* Remove dead MSBuild code.

* Factor out python locating targets to make them available to the whole repo.

* PR Feedback/simplification.

* Create a self-contained deps.json for crossgen2 and add it to the package.

* Pass runtimeconfiguration as configuration for crossgen2 deps file generation.

* Try specifying rids directly in crossgen2 project to get the restore correct for the live-build pipeline.

* Run crossgen2 via corerun in R2R.SuperILC.

* Add binlogs to build-runtime.cmd

* Combine non build-runtime steps into a single step so we get one binlog that doesn't get overwritten.

* Add reference to issue describing new workflow.

* Quote python path

* Set arch default.

* PR Feedback and clean up crossgen-corelib's argument list.

* Fix subset name matching to work when one subset name is a substring of another.

* Pass the official build id as an msbuild arg at all times.
Additional cleanup for crossgen-corelib step.

* PR Feedback.

* Fix default subset list construction.

* Add deprecation warnings at beginning and end of build.cmd and build.sh.

* Setup dirs in crossgen-corelib.sh

* Move enforcepgo argument to before the official build arg so that it gets consumed correctly.

* Add cross-os DAC builds as subsets.
Clean up build-runtime parameters and passing the official build ID from runtime.proj.

* Update script usage docs.

* Skip the cross-os dac on x86.

* Build windows->linux cross dac on PR and CI.

* Don't build the cross-OS linux dac on Windows x86.
2020-03-04 02:19:03 +00:00
Karel Zikmund
6b4feb0860
Update libraries workflow (#32939)
* Update README.md

Minor readability improvements
Unified camelCasing

* Update README.md
2020-02-29 05:40:43 -05:00
Dan Moseley
8497763bbf
Fix another 58 URL's (#33003) 2020-02-28 18:54:32 -08:00
Karel Zikmund
356fb92d9f
Update windows-requirements.md (#32938)
Clarify few minor things in initial setup workflow.
2020-02-27 16:11:33 -08:00
Jared Parsons
01d0cd3e9d
Enable workflow of building Mono and Libraries without CoreCLR (#32881)
* Build libraries against Mono runtime

This change allows you to build libraries against the Mono runtime
without having to first build CoreCLR. There isn't a specifically
supported build option for this but can be forced with the following
command line:

```
.\build.cmd -subsetcategory libraries /p:RuntimeFlavor=mono
```
2020-02-27 12:48:27 -08:00
Kunal Pathak
d76ef042f8
Make JitDump label output multi-thread safe (#32578)
* Make JitDump label output multi-thread safe

`s_compMethodsCount` is a static variable and incrementing it when
two JITs are running at the same time can result in inconsistent labels. This PR fixes it by adding an instance variable `compMethodID` on `Compiler` object and setting it to the value of `s_compMethodsCount` after incrementing it using `InterlockedIncrement()`.

Changed the type of `s_compMethodID` to `LONG` to match the signature of `InterlockedIncrement()` and made it private.

Fixes #10984
2020-02-27 09:19:23 -08:00
Anirudh Agnihotry
6a33d96168
removing $(OS) using from the libraries (#32673) 2020-02-24 14:17:05 -08:00
Marie Píchová
12f1f58ec0
Removed misleading doc and added -vs testing (#32618)
Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2020-02-21 22:18:37 +01:00
Anirudh Agnihotry
86a086377b
updating docs and removing BuildConfiguration and ConfigurationGroup (#32062)
* build config and update docs

* remove configurationGroup and update docs

* addressing feedback

* viktor comments
2020-02-20 14:39:38 -08:00
Viktor Hofer
0896dd8204
Update testing with configuration system changes 2020-02-20 17:39:21 +01:00
Egor Bogatov
7970f72216
Fix minor issue in debugging.md (#32597) 2020-02-20 09:16:59 -05:00