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

25 commits

Author SHA1 Message Date
Matt Mitchell
96159b2e5e
Update unified build controls (#98330)
Generally a straight port. Removed ArcadeBuildFromSource and ArcadeBuildVertical and replaced with DotNetBuild.
2024-02-15 18:48:18 +01:00
Jeremy Koritzinsky
5c8055668b
Clean up the crossgen2_publish project and local/live packs references (#92826)
* Inline some of the options for the new crossgen2_publish project.

* Resolve TODOs in targetingpacks.targets

* Crossgen1 is long gone. Don't try to discover it in our override targets.

* Move ReadyToRun.targets infra into the shared repo infrastructure and have projects automatically opt-in to it instead of the LKG crossgen2 when they are targeting the live build.

* Remove extraneous property set (the same value is calculated automatically already)

* Remove outdated comment.

* Fix NativeAOT and installer legs

* Condition turning off pack downloads based on opt-in to local pack usage.

* Use the LKG host instead of the 7.0 host as the fallback for NativeExports.

* Apply suggestions from code review

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

* Remove AdditionalProperties as they aren't needed (global properties on the command line are already transitive)

* PR feedback

* Hook into the targets pipeline to avoid overridding targets for R2Ring projects that reference the live framework packs. Move the "target override" logic back to where we build the runtime pack as that's the only place where we need crossgen2 and can't reference the runtime pack (as we're building it).

* Don't set CoreCLRArtifactsPath manually.

* PR feedback

---------

Co-authored-by: Viktor Hofer <viktor.hofer@microsoft.com>
2023-10-03 10:20:31 +02: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
Adeel Mujahid
9d6396deb0
Fix typos (#72709) 2022-07-23 20:24:28 -07:00
Viktor Hofer
a6f4539535
Make Is*Project properties unambiguous and improve IsGeneratorProject detection (#65896)
* Make Is*Project properties unambiguous

Currently these properties exist which categorize projects:
- IsReferenceAssembly: The project's parent directory is 'ref'
- IsGeneratorProject: The project's parent directory is 'gen'
- IsTestProject: The project is located somewhere under a '/tests/'
                 directory and the project name's suffix is either
                 '.Tests' or '.UnitTests'.
- IsTrimmingTestProject: Same as IsTestProject but the project name's
                         suffix is '.TrimmingTests'.
- IsTestSupportProject: The project is located somewhere under a
                        '/tests/' directory and the above IsTestProject
                        property is false.
- UsingMicrosoftNoTargetsSdk: The project uses the NoTargets msbuild SDK
- UsingMicrosoftTraversalSdk: The project uses the Traversal msbuild SDK
- IsRuntimeAssembly: True when all above is false
- IsSourceProject: True when the project's parent directory is 'src'

The IsRuntimeAssembly and IsSourceProject properties meanings are
ambiguous and the property names aren't consistent (IsReferenceAssembly
vs IsGeneratorProject).

I'm changing the above to the following:
- **IsReferenceSourceProject: The project's parent directory is 'ref'
                        or the parent of the parent directory is 'ref'**
- IsGeneratorProject: The project's parent directory is 'gen'
- IsTestProject: The project is located somewhere under a '/tests/'
                 directory and the project name's suffix is either
                 '.Tests' or '.UnitTests'.
- IsTrimmingTestProject: Same as IsTestProject but the project name's
                         suffix is '.TrimmingTests'.
- IsTestSupportProject: The project is located somewhere under a
                        '/tests/' directory and the above IsTestProject
                        **and IsTrimmingTestProject** props are false.
- UsingMicrosoftNoTargetsSdk: The project uses the NoTargets msbuild SDK
- UsingMicrosoftTraversalSdk: The project uses the Traversal msbuild SDK
- IsSourceProject: **True when all above is false.**

* React to PR feedback
2022-02-28 21:13:22 +01:00
Anirudh Agnihotry
b37f10a504
Changing Windows_NT -> Windows for enabling TargetPlatformMoniker feature of the sdk for platform specific tfms. (#43651)
* eng change

* coreclr change

* libraries change

* tests change

* installer & mono change

* py files changed

* .md change

* .yml change

* remove redundant targetos property

* Windows_NT -> windows after ninja change

* fixing runtime build failure
2020-11-02 14:25:58 -08:00
Jeremy Koritzinsky
801ebec702
Revert "Try re-enabling IBC on macOS. (#39801)" (#43839)
This reverts commit 3a4298cf15.
2020-10-26 15:49:49 -07:00
Jeremy Koritzinsky
3a4298cf15
Try re-enabling IBC on macOS. (#39801) 2020-07-22 18:09:46 -07:00
Alexander Köplinger
ba453bd90c
Set TargetsMobile=true on Browser TargetOS and build the wasm runtimes earlier during the libs build (#36337)
* Set TargetsMobile=true on Browser TargetOS

* Build the wasm runtimes earlier during the libs build so they end up in lib-runtime-packs.

* Add emsdk_env.sh into .gitignore

Co-authored-by: Zoltan Varga <vargaz@gmail.com>
2020-05-13 18:39:17 +02:00
Zoltan Varga
4034228a3d
Add build configuration to generate runtime packs for WebAssem… (#34936) 2020-04-24 09:35:54 +02:00
Mitchell Hwang
5179706b74
Mdhwang/reduce mobile checks (#35105)
* [eng] Add TargetsMobile Property to Subsets.props

* Replace TargetOS mobile conditions with TargetsMobile Property

* [libraries] Remove leftover condition`

Co-authored-by: Mitchell Hwang <mihw@microsoft.com>
2020-04-22 17:00:47 -04:00
Jo Shields
952eecabbd
Initial addition of tvOS Mono (#34475) 2020-04-08 02:00:28 +02:00
Alexander Köplinger
05954773b6
Add Android build configurations for Mono/Libraries (#33881)
* Add Android build configurations

* Enable System.Globalization.Native on Android

Dynamically load the libicu from the system. Android NDK doesn't ship with icu headers so for now define prototypes for all the functions we use ourselves.

* Add temporary stub HashProvider that throws NIE on Android

We still need to hook up the native System.Security.Native library.

Unblocks Xamarin.Forms startup.
2020-03-24 23:39:42 +01:00
Jo Shields
65a1d2c312
Add AzDO builds for iOS (#33424)
This is based on #33292
2020-03-18 00:19:56 +01:00
Jeremy Koritzinsky
31a65f0fba
Disable IBCMerge on OSX builds (#33393)
* Disable System.Private.CoreLib IBCMerge on MacOS.

* Disable IBCMerge on mac across the board.

* Update comment to include link to issue.
2020-03-09 15:37:24 -07: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
Jeremy Koritzinsky
0843a5d5de
Use Arcade-provided IBCMerge support for System.Private.CoreLib. (#2308)
* Use Arcade-provided IBCMerge support.

* Clean up build.sh as well.

* Restore internal tools on Windows and Unix instead of just Windows.

* Remove unused item metadata.
2020-01-29 14:49:13 -08:00
Santiago Fernandez Madero
50d8a5f65d Cleanup MSBuild conditional operators to be all in lowercase (dotnet/corefx#42491)
Commit migrated from ab01852685
2019-11-08 14:43:17 -08:00
Viktor Hofer
926874e00a Use Package suffix instead of PackageId and Version suffix instead of PackageVersion (dotnet/corefx#42289)
* Use Package suffix instead of PackageId

* Manual darc update from build '20191101.2'


Commit migrated from 931f79e467
2019-11-01 18:27:23 +01:00
Michal Strehovský
80f2bcbab2 Run IBCMerge on Linux build (dotnet/corefx#36924)
This reverts commit dotnet/corefx@8e843314e1.

Commit migrated from f9f88bd7fd
2019-04-17 06:47:15 +02:00
Michal Strehovský
8ac96128d8 Revert "Run IBCMerge on Linux build (dotnet/corefx#36763)" (dotnet/corefx#36791)
This reverts commit dotnet/corefx@ef2ee1291e.

Commit migrated from 8e843314e1
2019-04-11 11:42:00 -04:00
Michal Strehovský
092ef1586a Run IBCMerge on Linux build (dotnet/corefx#36763)
* Restores IBC data for both Linux and Windows on all platforms
* Chooses the right IBC data based on the target OS
* When target OS isn't anything specific (like, e.g. System.Linq and other assemblies that are not OS specific), embeds Windows IBC data

Commit migrated from ef2ee1291e
2019-04-11 14:08:14 +02:00
Michal Strehovský
dc7df25f3a Fix IBC data embedding (dotnet/corefx#36450)
An arcade change broke IBC data embedding and we were not doing it.

This fixes that issue and also bumps embedded IBC from being `partial` to `full`.

Commit migrated from 719eee95fa
2019-03-28 21:26:07 +01:00
Viktor Hofer
f8a8530d0f Project msbuild syntax cleanup (dotnet/corefx#35686)
* Remove license header from non-shipping files

* Remove obsolete Project attributes

* Remove xml header and remove DefaultTargets


Commit migrated from c390ce7df5
2019-03-03 18:55:25 +01:00
Eric St. John
e11a3e6a01 Restore IBC data and embed during Windows release builds
See the following docs.
https://github.com/dotnet/arcade/blob/dotnet/corefx@bac85242024ba867b6204b90c1522793093f5e31/Documentation/ArcadeSdk.md#ibc-optimization-data-embedding

We are using IBC data produced by our perf team and embedding into all builds of a DLL;
currently we don't distinguish cross-compiles of the same DLL, nor does arcade define any
conventions to do so.  I've disabled it for references and not-supported assemblies.


Commit migrated from 96661fad0e
2019-02-21 13:08:34 -08:00