Commit graph

48 commits

Author SHA1 Message Date
Marc Paine
def3a30976 Update the coresdk target and default tool TFM as well as the stage 0 SDK 2023-10-12 11:17:57 -07:00
Chen Guohui
ac9a10eadb
Add support for loongarch64 architecture (#17125)
Co-authored-by: Daniel Plaisted <dsplaisted@gmail.com>
2023-09-28 10:26:49 -05:00
Larry Ewing
6caeedd097
[main] Fix MonoToolchain.Current naming and Update dependencies from dotnet/emsdk and dotnet/sdk (#15366)
Co-authored-by: dotnet-maestro[bot] <dotnet-maestro[bot]@users.noreply.github.com>
Co-authored-by: Marc Paine <marcpop@microsoft.com>
Co-authored-by: Noah Gilson <noahgilson@microsoft.com>
2023-01-31 02:53:16 +00:00
1e7182a06f
Add support for arm platform 2022-10-21 14:47:40 -05:00
Swapnali911
24b8743347
Adding ppc64le arch for source build (#14617) 2022-10-11 13:57:05 -05:00
dotnet-maestro[bot]
a8febb40fc
[main] Update dependencies from dotnet/sdk (#12361)
[main] Update dependencies from dotnet/sdk
- Coherency Updates:
  - Microsoft.WindowsDesktop.App.Ref: from 7.0.0-alpha.1.21474.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.NET.Sdk)
  - VS.Redist.Common.WindowsDesktop.SharedFramework.x64.7.0: from 7.0.0-alpha.1.21474.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.NET.Sdk)
  - VS.Redist.Common.WindowsDesktop.TargetingPack.x64.7.0: from 7.0.0-alpha.1.21474.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.NET.Sdk)
  - VS.Redist.Common.NetCore.SharedFramework.x64.7.0: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk)
  - Microsoft.NETCore.App.Ref: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk)
  - VS.Redist.Common.NetCore.TargetingPack.x64.7.0: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk)
  - Microsoft.NETCore.App.Runtime.win-x64: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk)
  - Microsoft.NETCore.App.Host.win-x64: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk)
  - Microsoft.NETCore.DotNetHostResolver: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk)
  - Microsoft.NETCore.Platforms: from 7.0.0-alpha.1.21480.1 to 7.0.0-alpha.1.21524.4 (parent: Microsoft.NET.Sdk)
  - Microsoft.AspNetCore.App.Ref: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk)
  - Microsoft.AspNetCore.App.Ref.Internal: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk)
  - Microsoft.AspNetCore.App.Runtime.win-x64: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk)
  - VS.Redist.Common.AspNetCore.SharedFramework.x64.7.0: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk)
  - dotnet-dev-certs: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk)
  - dotnet-user-secrets: from 7.0.0-alpha.1.21470.28 to 7.0.0-alpha.1.21514.17 (parent: Microsoft.NET.Sdk)
  - Microsoft.DotNet.Common.ItemTemplates: from 7.0.100-alpha.1.21463.5 to 7.0.100-alpha.1.21522.4 (parent: Microsoft.NET.Sdk)
  - Microsoft.TemplateEngine.Cli: from 7.0.100-alpha.1.21463.5 to 7.0.100-alpha.1.21522.4 (parent: Microsoft.NET.Sdk)
  - Microsoft.WindowsDesktop.App.Runtime.win-x64: from 7.0.0-alpha.1.21474.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.NET.Sdk)
  - Microsoft.Dotnet.WinForms.ProjectTemplates: from 6.0.0-rc.2.21459.12 to 7.0.0-alpha.1.21525.3 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64)
  - Microsoft.WindowsDesktop.App.Runtime.win-x64: from 7.0.0-alpha.1.21474.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.NET.Sdk)
  - Microsoft.DotNet.Wpf.ProjectTemplates: from 7.0.0-alpha.1.21460.1 to 7.0.0-alpha.1.21525.2 (parent: Microsoft.WindowsDesktop.App.Runtime.win-x64)
  - Microsoft.FSharp.Compiler: from 12.0.0-beta.21477.4 to 12.0.0-beta.21522.2 (parent: Microsoft.NET.Sdk)
  - Microsoft.SourceBuild.Intermediate.fsharp: from 6.0.0-beta.21477.4 to 6.0.1-beta.21522.2 (parent: Microsoft.NET.Sdk)
  - Microsoft.NET.Test.Sdk: from 17.0.0-release-20210908-02 to 17.1.0-preview-20211012-05 (parent: Microsoft.NET.Sdk)
  - Microsoft.NET.ILLink.Tasks: from 7.0.100-1.21479.1 to 7.0.100-1.21525.2 (parent: Microsoft.NET.Sdk)
  - Microsoft.Net.Compilers.Toolset: from 4.0.0-5.21479.8 to 4.0.0-6.21521.3 (parent: Microsoft.NET.Sdk)
  - Microsoft.Build: from 17.0.0-preview-21480-01 to 17.1.0-preview-21522-03 (parent: Microsoft.NET.Sdk)
  - NuGet.Build.Tasks: from 6.0.0-rc.258 to 6.0.0-rc.278 (parent: Microsoft.NET.Sdk)
  - Microsoft.SourceBuild.Intermediate.source-build: from 0.1.0-alpha.1.21460.1 to 0.1.0-alpha.1.21475.1 (parent: Microsoft.NET.Sdk)

 - Add nuget package refs for tests

 - Attempt changing the installer target framework

 -  Revert "Add nuget package refs for tests"

This reverts commit d7ceaf16350ca3b28e2fc52d729db431ef46899d.

 - Update stage0 to an SDK that supports the 7.0 TFM

 - Use stage 2 dotnet for installing and running SDK tests
2021-10-26 00:59:19 +00:00
Ulrich Weigand
f1c05e42af Add support for s390x architecture
* Add linux-s390x RIDs for net6.0 to GenerateBundledVersions

* Add s390x platform in Directory.Build.props

* Disable crossgen2 for the s390x target
2021-09-17 22:47:29 +02:00
Nathan Mytelka
50a33e74cf Ignore assembly conflict warnings 2021-04-28 17:25:39 -07:00
Andy Gocke
a98263b0da
Add support for building a PGO installer copy (#9877)
Uses the uninstrumented profiling PGO bits from the runtime when the
'-pgoinstrument' flag is set.
2021-03-24 01:02:14 -07:00
Matt Mitchell
32d179d680
Update the installer target framework net6.0 (#9069)
- Remove unneeded package for tool install
- Install 5.0.0 and 3.1.0 runtime (rather than a preview 3.1.0 runtime)
2020-11-13 10:56:11 -08:00
Omair Majid
17b5d95d8b Enable building on arm64 machines (#4102)
With this commit, I can build core-sdk on RHEL 8 on arm64 directly,
without cross compilation.

Bump the sourcelink version to pick up the ability to parse git info
without depending on libgit2sharp. This allows sourcelink to work on
arm64. The version is the same as the one recently added to core-setup:
https://github.com/dotnet/core-setup/pull/7696

Introduce a new 'BuildArchitecture' msbuild property that contains the host
architecture (arm64, x64, etc). This is the architecture of the
currently running machine, and may be different from the architecture we
are targetting in the case of cross compilation.

There's a gotcha with BuildArchitecture: under Visual Studio (an x86) process,
we generally want a x64 architecture. So try and restrict it to arm64 only.

Use BuildArchitecture to determine whether _crossDir and LibCLRJitRid need to
be special-cased for arm64 or or not.
2019-11-07 10:33:59 -06:00
Nick Guerrera
5fc5386bd9 Target 5.0 to fix build 2019-10-23 08:57:21 -07:00
Nick Guerrera
000f311b85 Fix merge issues 2019-10-18 17:12:15 -07:00
Daniel Plaisted
446a3dc389 Change directory for native PDBs, so arcade should pick them up for publishing 2019-07-29 18:14:22 -07:00
Livar Cunha
3247485b57 Re-enable the generation of the msbuildextensions nupkg. 2019-07-12 15:05:32 -07:00
Ricardo Arenas
da9a0ace42 Add a fake nupkg project to be published to make dependency uptake easier 2019-03-20 13:31:47 -07:00
Tomáš Matoušek
5dd8ac3a11 Set copyright and package license (#635) 2019-02-22 11:40:39 -08:00
Daniel Plaisted
55841f78ea Crossgen layout 2018-12-03 18:15:31 -08:00
Daniel Plaisted
ae7eb7ecc5 Add additional workaround for disabled sourcelink 2018-11-23 09:23:38 -08:00
Daniel Plaisted
fe80bc7ba3 Disable sourcelink on RHEL6 and Ubuntu 18
Due to https://github.com/dotnet/sourcelink/issues/204
2018-11-09 14:15:41 -08:00
Daniel Plaisted
914f465b30 Get tests and skeleton build tasks building 2018-10-22 19:59:58 -07:00
Daniel Plaisted
789c24a379 Update files copied from dotnet/arcade 2018-10-21 22:22:58 -07:00
Daniel Plaisted
039b4dcd26 Add arcade infrastructure 2018-10-21 22:07:26 -07:00
Daniel Plaisted
3555f34527 Move old infrastructure to subfolder 2018-10-21 20:47:58 -07:00
Nick Guerrera
bae3a775c3
Remove LKG download left over from cross-repo merges (#25)
core-sdk does not need to download an LKG to run tests as it is the
top repo that builds the entire SDK. This file was left over from
cli and causing problems for source build.
2018-07-17 10:47:32 -07:00
Daniel Plaisted
ec9914424c Refactor tests to use CliTargetFramework variable instead of hard-coding target framework 2018-07-09 13:46:04 -07:00
Daniel Plaisted
3e2a16d5db Insert .NET Core 3.0 runtime builds 2018-07-09 13:46:03 -07:00
Livar Cunha
e2b679c4bb Merge branch 'master' of /Users/livarcocc/Documents/git/cli into merge_master_cli
* 'master' of /Users/livarcocc/Documents/git/cli: (1063 commits)
  Updating signing project to use new intermediate directory (int).
  Update runtimeconfig.json doc for 2.1 (#9382)
  Shortening the path to the intermediate folder by renaming it to int.
  fix typo (#9364)
  Updating asp.net to 2.2.0 as well.
  Updating the build and tests to work with the 2.2.0 runtime.
  Simplified combining dictionaries in Telemetry
  Fixing 'Channel' and 'BranchName': "release/2.1.4xx" to "master" (#9362)
  Fix extraction of folders (#9335)
  Update Sha256Hasher.cs
  Fix relative path tool path (#9330)
  Insert updated SDK from 2.1.4xx branch
  MSBuild 15.8.60
  Fix crash when user home directory cannot be determined.
  Make `CliFolderPathCalculator` a static class.
  Don't add the ReleaseSuffix to the branding on the CLI when DropSuffix is set to true.
  Add retry when Directory.Move (#9313)
  Override new SdkResult public properties
  Add reference to Microsoft.Build.NuGetSdkResolver
  Disable crossgen for MSBuild inline-task refs
  ...
2018-06-25 22:38:01 -07:00
Livar Cunha
2f0f270a73 Updating the build and tests to work with the 2.2.0 runtime. 2018-05-31 19:14:24 -07:00
Tanner Gooding
eadc1d3703 Updating the toolset version to 2.0.3-refac-007111 2018-02-23 14:03:07 -08:00
William Lee
08f050c012
bundled DotnetTool (#8606)
Extract packages to DotnetTools folder under sdk/{version}

Add new resolver to discover it

Add test to enforce package structure. It will fail when the structure
changed
2018-02-16 13:32:29 -08:00
jbeisner
0a58124f4f Correcting the 'RunInSandBoxAndPackage' target 2018-01-09 01:21:05 +00:00
Livar Cunha
90e254b9ed More fixes that were missing from the merge. 2017-12-07 13:23:27 -08:00
Livar
1246175240 Adding the Microsoft.DotNet.Build.Tasks.Feed tasks 2017-10-25 10:47:33 -07:00
Livar Cunha
62ae014c37 Making this repo consume the dotnet-sdk-internal zip and produce a full core-sdk by using sdk-internal, runtime, lzma, templates and store. Also deleted a bunch of now, unecessary code. I am sure there is more to be deleted though. 2017-10-13 10:45:50 -07:00
Daniel Plaisted
0586375cf8 Avoid importing incompatible .props files for signing build
(cherry picked from commit c2ca512189)
2017-09-27 16:55:00 -07:00
John Beisner
7b3c1bbb23 Adding consistent "Project" headers to inported props and target files.
(cherry picked from commit 74ad01b576)
2017-09-27 16:54:39 -07:00
Daniel Plaisted
ca34332205 Rename Stage0 build variables to PreviousStage
(cherry picked from commit c6e4c8f477)
2017-09-27 14:37:37 -07:00
Daniel Plaisted
f39315771e Generate properties to pass to the next stage of the build
(cherry picked from commit 12f8c2377f)
2017-09-27 14:22:19 -07:00
Daniel Plaisted
8385d37185 Move dir.props to auto-imported Directory.Build.props
This is necessary for setting the intermediate output path to work correctly

(cherry picked from commit ae0aa8ed24)
2017-09-27 14:16:37 -07:00
William Li
7c64ef6b0e Move badge prop to target
To have the correct IsBuildingAndPublishingAllLinuxDistrosNativeInstallers value
2017-09-14 19:36:56 -07:00
William Lee
221ab05346 Use one build definition to produce all Linux distro specific packages (#7615)
By using `./build.sh /t:AllLiuxDistrosNativeInstaller`

Make a sandbox folder after compile step and copy compiled artifact to it. Since the content will be Linux generic, use package step with Docker in different distros.
After finishing all the distro specific packaging, upload all of them at once

Publish to debian only support all distro

Improve perf of AllLiuxDistrosNativeInstaller, by copying more cache in to sandbox

There will be a retry if package command failed
2017-09-14 13:33:46 -07:00
Daniel Plaisted
d94a3cd076 Merge branch 'DirProps' into fix-signing 2017-09-05 15:39:02 -07:00
Daniel Plaisted
c2ca512189 Avoid importing incompatible .props files for signing build 2017-09-05 15:10:15 -07:00
John Beisner
74ad01b576 Adding consistent "Project" headers to inported props and target files. 2017-09-05 14:44:25 -07:00
Daniel Plaisted
c6e4c8f477 Rename Stage0 build variables to PreviousStage 2017-08-24 17:16:11 -07:00
Daniel Plaisted
12f8c2377f Generate properties to pass to the next stage of the build 2017-08-24 15:51:37 -07:00
Daniel Plaisted
ae0aa8ed24 Move dir.props to auto-imported Directory.Build.props
This is necessary for setting the intermediate output path to work correctly
2017-08-24 15:46:45 -07:00
Renamed from dir.props (Browse further)