Граф коммитов

2677 Коммитов

Автор SHA1 Сообщение Дата
Wes Haggard 039972861a
Merge pull request #3456 from omajid/glibc-2.26-backport
Fix build error with glibc 2.26: missing xlocale.h
2017-12-01 14:50:10 -08:00
Omair Majid d23932d41f Fix build error with glibc 2.26: missing xlocale.h
glibc 2.26 removed xlocale.h. They suggest locale.h is a complete
superset and should be enough. locale.h is already included.

See: https://sourceware.org/git/?p=glibc.git;a=commit;h=f0be25b
See: https://sourceware.org/glibc/wiki/Release/2.26#Removal_of_.27xlocale.h.27

Port of https://github.com/Microsoft/cpprestsdk/pull/502
2017-11-24 11:17:01 -05:00
Eric Erhardt 4f9957b98d Merge pull request #3339 from eerhardt/PortMasterFixes
Port master fixes
2017-10-24 16:49:02 -05:00
Eric Erhardt 9255bbf1e7 Move Version attribute to child element to allow MSBuild 14 to continue building core-setup.tasks.csproj. 2017-10-24 10:19:06 -05:00
Eric Erhardt 866c834571 Add xmlns to HostMachineInfo.props so the build passes on MSBuild 14. 2017-10-24 10:17:52 -05:00
Eric Erhardt 96f0e7ad51 Fix Tizen build by passing through OutputRid, if it is defined. 2017-10-24 10:17:44 -05:00
Eric Erhardt 1732b0ab67 Merge pull request #3330 from eerhardt/DependencyFlow
Fix output directories.
2017-10-19 20:58:27 -05:00
Eric Erhardt bd2e2a6461 Fix output directories.
1. Use PackageOutputPath variable exclusively everywhere instead of our own name for the same path.
2. Split nuget packages and installer assets into separate paths - packages and assets.
2017-10-19 18:29:45 -05:00
Eric Erhardt 33b3baf380 Merge pull request #3320 from eerhardt/DependencyFlow
Add auto dependency flow repo API
2017-10-18 17:44:47 -05:00
Eric Erhardt f44d69d183 Add auto dependency flow repo API 2017-10-18 17:38:20 -05:00
Eric Erhardt d4ebb0369d Fix up build and tests now that we are using SDK 2.0.0. 2017-10-17 12:28:56 -05:00
Jose Perez Rodriguez b6b99d3d88 Updating CLI to 2.0 RTM (#3293)
* Updating CLI to 2.0 RTM

* Updating buildtools

* Fixing buildtools version typo
2017-10-11 09:09:38 -07:00
Eric Erhardt 8798591938 Merge pull request #3282 from eerhardt/FixLongPath
Fixing long path errors when building in source-build CI.
2017-10-06 16:52:17 -05:00
Eric Erhardt 0764f89906 Fixing long path errors when building in source-build CI. 2017-10-06 16:49:37 -05:00
Wes Haggard 7bc985a5ad Add System.Dynamic.Runtime reference to the tools task library 2017-10-06 08:40:56 -07:00
Eric Erhardt b455822f06 Merge pull request #3272 from eerhardt/RemoveSourceBuildPatches
Build custom tasks for net45 on Windows, even when building in source-build.
2017-10-04 21:18:06 -05:00
Eric Erhardt 1063874bdc Build custom tasks for net45 on Windows, even when building in source-build. 2017-10-04 20:38:49 -05:00
Eric Erhardt 4c9ece12da Merge pull request #3270 from eerhardt/RemoveSourceBuildPatches
Disable including source files in nupkgs during source-build to work around the long path limitation.
2017-10-04 15:17:31 -05:00
Eric Erhardt fb2b7cba3e Disable including source files in nupkgs during source-build to work around the long path limitation. 2017-10-04 10:59:32 -05:00
Eric Erhardt 330ef47de3 Merge pull request #3266 from eerhardt/RemoveSourceBuildPatches
Handle RIDs better during the build.
2017-10-03 18:06:35 -05:00
Eric Erhardt 815ca5d269 Handle RIDs better during the build.
Currently, when building non-portable on a win10 machine, core-setup restores and produces `win7` RID assets.  This causes problems in source-build since corefx produces `win10` assets on the same machine. Thus, core-setup can't use the corefx assets because win10 is not compatible with win7.

In fixing this, I refactored the way RIDs are handled during the build.  We have 3 main RID usages:
* What is the RID of the current machine?  $(HostMachineRid)
* What is the RID of the toolset we are using to build?  core-setup doesn't have this scenario yet, but corefx calls this $(ToolRuntimeRID)
* What is the RID that the current build is producing outputs for?  $(OutputRid)
2017-10-03 16:02:40 -05:00
Eric Erhardt 50955f6056 Merge pull request #3263 from eerhardt/RemoveSourceBuildPatches
Fix dotnet publish of sharedFramework on source-build.
2017-10-02 21:27:57 -05:00
Eric Erhardt b4e013374b Fix dotnet publish of sharedFramework on source-build. 2017-10-02 20:53:54 -05:00
Eric Erhardt aae052b088 Merge pull request #3257 from eerhardt/RemoveSourceBuildPatches
Remove source build patches
2017-10-02 11:01:13 -05:00
Eric Erhardt 9664a4db69 Use intermediate package cache to pick up source built packages.
There are cases where we build the same version of an already shipped package, and need to ensure we use the package that was built locally.
2017-10-02 10:11:50 -05:00
Eric Erhardt f380a2a41d Unify Versions 2017-10-02 10:11:50 -05:00
Eric Erhardt 73f497be32 Don't build net45 versions of tasks 2017-10-02 10:11:50 -05:00
Eric Erhardt 51c9c44d47 Update MSBuild Reference 2017-10-02 10:11:50 -05:00
Eric Erhardt 51b1b451f0 Allow restore without internet sources 2017-10-02 10:11:50 -05:00
Eric Erhardt 769f784a53 Unify CLI Version with corefx release/2.0.0 branch 2017-09-29 16:14:46 -05:00
Eric Erhardt 91d349f85d Unify NuGet version with BuildTools version 2017-09-29 14:57:40 -05:00
Eric Erhardt 129ee6db61 Respect DotNetRestorePackagesPath if it is set 2017-09-29 14:41:19 -05:00
Eric Erhardt b9b9aaeb26 Update BuildTools and init-tools scripts.
Using the latest 2.0.0 BuildTools and the latest init-tools scripts from corefx.
2017-09-29 14:27:12 -05:00
Eric Erhardt 091bdd2890 Merge pull request #3235 from eerhardt/RemoveSourceBuildPatches
Port build changes from master to dev/release/2.0.0
2017-09-28 18:04:00 -05:00
Eric Erhardt 828915fb7c Update BuildTools to 2.0.0-servicing-02026-05 2017-09-26 15:55:12 -05:00
Eric Erhardt 742af6fcbd Fixing up changes from master. 2017-09-25 17:20:04 -05:00
Eric Erhardt edf50f8c2a Default Platform=AnyCPU for managed projects.
Also clean up the "Architecture" MSBuild property, which isn't used.
2017-09-25 15:34:42 -05:00
Eric Erhardt 95a0593dc4 Pass PortableBuild property through to all MSBuild instances. 2017-09-25 15:34:37 -05:00
Eric Erhardt 78341778f7 Fix the tests by passing Configuration into the tests.
Fix the build on non-Windows by passing the right MSBuild properties down.

Respond to PR feedback.
2017-09-25 15:34:26 -05:00
Eric Erhardt a4125aba3e Pass through the Configuration when restoring.
Since BaseIntermediateOutputPath depends on Configuration, it needs to be flown properly.
2017-09-25 15:34:21 -05:00
Eric Erhardt 5bcfb4b8b9 Clean up core-setup build.
Set DisableImplicitNuGetFallbackFolder=false to ensure we never use the NuGet fallback folder that comes with the SDK.

Enable SDK-based projects to import the root dir.props file.  This spawned a few one-off changes since things like the BaseIntermediateOutputPath is now under RepoRoot\Bin and TreatWarningsAsErrors=true.
2017-09-25 15:21:56 -05:00
Eric Erhardt 14b3a1c34b Removing dead test code. 2017-09-25 14:04:08 -05:00
Eric Erhardt 5f650ab5ec Minor cleanup of CommonManaged.props 2017-09-25 13:44:29 -05:00
Eric Erhardt 9555bd94c1 Move common repo directories to isolated props file.
Also remove the dev machine BuildNumberMinor workaround per PR feedback, as this is no longer necessary.
2017-09-25 13:41:41 -05:00
Eric Erhardt df6ab9c2a4 Fix VersionSuffix for the managed projects
VersionSuffix is getting set before $(BuildNumberMajor) and $(BuildNumberMinor) are being set.  When creating the DependencyModel nupkg, it is getting a bad version on its p2p reference to PlatformAbstractions.

The fix is to ensure VersionSuffix is defined correctly in the projects themselves - after the obj\BuildVersion.props file is created.

Workaround https://github.com/NuGet/Home/issues/4337
2017-09-25 13:37:31 -05:00
Wes Haggard bb6dac8404 Merge pull request #3188 from janvorli/port-add-rhel6-detection
Port to 2.0.0: Add RHEL 6 and CentOS 6 distro detection
2017-09-14 15:21:10 -07:00
Eric Erhardt e10d9cfb54 Merge pull request #3219 from dotnet/signingErrorChecks_2.0
Add error checks
2017-09-14 16:53:01 -05:00
JC Aguilera 74fe13aa42 Add error checks 2017-09-14 14:08:14 -07:00
Eric Erhardt 69f6efc739 Update PlatformAbstractions and DependencyModel for 2.0.2 servicing. 2017-09-12 12:57:51 -05:00
Jan Vorlicek e159a29e8a Port: Add RHEL 6 and CentOS 6 distro detection
This change adds RHEL 6 and CentOS 6 distro detection. These distros
don't have the /etc/os-release file and so we use an alternative source
of the truth that is the /etc/redhat-release file.
2017-09-12 17:43:26 +02:00