summaryrefslogtreecommitdiff
path: root/build.proj
AgeCommit message (Collapse)AuthorFilesLines
2018-03-27Merge various restore tasks into one Sync targetWes Haggard1-9/+10
There were various restore targets happening independently when they should all be combined so the sync step can be independent from the build step. This change merges them together under the Sync target. In particular this moves RestoreOptData and RestoreNETCorePlatforms to be part of the sync step instead of being individually ran. Pass BuildType to sync commands so optdata gets restored correctly
2018-03-27Fix RestoreSources for optdata packagesWes Haggard1-6/+5
Pass unprocessed args to restore optdata step so it can override the sources when doing restore Handle prority as an unprocessed arg for the sync alias
2017-11-08Refactor clean.cmd based on corefx implementationJacek Blaszczynski1-0/+7
clean.cmd supports removal of bin dir, repo-local nuget packeges directory and user-local nuget packages directory. In addition it is possible to clean repo using git clean -xdf command by passing -all command line switch to clean.cmd. In addition logic supporting killing of VBCScompiler.exe process is added
2017-10-30Use restore with no --source for optdata proj feedWes Haggard1-2/+7
This lets dotnet pick up RestoreSources hierarchically rather than only use what's predefined in DotnetRestoreCommand (in dir.props).
2017-06-29Reduce the verbosity of optdata sync on stdout (#12543)Daniel Podder1-1/+2
Set the "StandardOutputImportance" attribute on the RestoreOptData target to low, matching the "RestoreNETCorePlatforms" target. Logging to sync.log remains verbose, but stdout on the console is made much less verbose. Fixes #12127
2017-06-01Fix optdata restore functionality (#11935)Daniel Podder1-5/+1
Fix optdata restore functionality (#11935) Bring back optdata restore functionality following the move to 2.0 BuildTools and csproj-based CLI. Disable a harmless warning that broke the Linux build when consuming PGO counts due to -Werr. Fix #11796 for master
2017-05-19Clean up 2.0.0 BuildTools PRwtgodbe1-1/+1
2017-05-16Update Coreclr to 2.0.0 buildtoolswtgodbe1-1/+2
2017-03-16Add IBC support to managed build (#10180)Daniel Podder1-0/+7
Add a new build switch, `ibcinstrument`, that adds `/Tuning` on the `crossgen` command line when building System.Private.CoreLib and its peers. Automatically consume IBC optdata during builds when these conditions are met: 1. `ibcinstrument` is *not* passed to the build, 2. optdata is available 3. ibcmerge is available Note that `optdata` will not yet be restored with this change; once packages for master are made available, a new package reference will still need to be added. This PR attempts to unblock manually testing IBC, as well as surrounding CI/infrastructure work. To help produce an IBC-optimized build using manually generated profile data, run the newly added `tests/scripts/optdata/bootstrap.py` script. It will configure the build to consume IBC data from a path automatically, and print out that path where profile data can be copied.
2017-03-07Port Windows PGO support to master (#9985)Daniel Podder1-0/+8
The bulk of this PR is a cherry-pick of commit fa02660 that shipped in release/1.1.0, updating the build system support for PGO to support consuming PGDs properly during release builds on Windows. Also included are the following new changes: * Skip restore of opdata if the requisite project.json is missing * If the optdata package restore fails, fail the build. * Add new build option: 'skiprestoreoptdata' Note: This change doesn't by itself enable PGO in master yet, because training data (optdata packages) for master don't exist on myget yet. However, with these changes, the only step remaining to enable PGO optimizations is to add a project.json referencing the correct optdata package.
2016-08-19Create SOS SymbolReader managed project and change SOS to use it. (#6783)Mike McLaughlin1-1/+2
* Change SOS to use wrapper class that is now in System.Diagnostics.StackTrace. The portable PDB helper code for SOS source/line support has been moved from System.Diagnostics.Debug.SymbolReader to a new managed SOS project in the coreclr repo called SOS.NETCore. The public APIs have now been made internal. Plumb through the loaded PE address to the managed SymbolReader functions so it can be used as a key. Fixed a stack trashing/overflow when a unresolved managed breakpoint is resolved because one of the module name buffers was too small (MAX_PATH_FNAME). Changed it (and others) to MAXLONGPATH. SOS now works with Portable PDBs on Windows. New dac private get module data request. Used to get the necessary info for portable PDBs. SOS now supports in-memory PE's on xplat and Windows. Needed to get and plumb though the in-memory PE layout where it is file based or loaded. Better Windows GetLineByILOffset support. Uses the SymbolReader and now works with in-memory PEs. Misc code formatting and general cleanup. * Code review feedback.
2016-05-17Add dev workflow scripts for build pipelinewtgodbe1-1/+7
2016-05-16Initial change to support System.Private.CoreLib.dll as Core Library.Gaurav Khanna1-0/+1
2016-04-22Partly fix the build issue when path to git repository has spaces (for ↵Mikhail Pilin1-1/+1
example "d:\z z\coreclr"). (#4388) The same issue in "d:\z z\coreclr\Tools\versioning.targets"(288): $(IntermediateOutputPath) should be "$(IntermediateOutputPath.TrimEnd('\'))" and all other path should be quoted with " in this line.
2016-03-02Upgrade CLI version and buildtools, and make build file changes.Davis Goodin1-1/+1
Unset CORE_ROOT in environment on Windows before doing restore so that dotnet CLI doesn't try to run using binaries from the test CORE_ROOT. Restore the xunit wrapper projects in a batch rather than individually to save a lot of time. Work around xunit.runner.msbuild not having compatible package layout by ignoring errors and adding import so that a future fix will work. Hard-code C# language for generated wrapper projects: the $(Language) property wasn't set. Also Change www.myget.org to dotnet.myget.org, as we switched to enterprise myget. Add System.ObjectModel to tests\src\JIT\config\benchmark+serialize\project.json to manually upgrade it to a version that doesn't require lifting for runtime. This fixes System.ObjectModel.dll being missing from CORE_ROOT and causing the test to fail. Switch to v3 nuget feeds and sync NuGet.Configs.
2016-02-07Change to support Microsoft.NetCore.Runtime.CoreCLR nuget package generation.Gaurav Khanna (CLR)1-0/+5
2015-02-19Setup the CoreCLR repo to use the LocalPackagePublish mechanism.Alex Ghiondea1-77/+3
This will enable the 'local publish' of the CoreCLR package to a location where it can be picked up by the CoreFx build. What this means is that you will be able to build the CoreCLR package and use that to run the CoreFx tests on top of it. Changes required to make this happen: - Refactor the managed build to make sure the buildtools gets restored before we attempt to use the targets it provides. - Take a dependency to the Microsoft.DotNet.BuildTools to bring in the packages.targets - Update the $(PackagesDir) to point to the <repo root>\packages to make it consistent with CoreFx - Hook-up the LocalPackagePublish targets to the build of the CoreCLR NuGet packages
2015-02-13When building debug, author the development package with an appropriate nameMatt Mitchell1-2/+4
2015-02-12Merge pull request #220 from mmitche/issue-208Matt Mitchell1-1/+1
Fix rebuild issue with development package
2015-02-11Fix rebuild issue with development packageMatt Mitchell1-1/+1
If the development package is deleted and then a rebuild is attempted we fail because mscorlib is not where we think it should be. We should be looking for mscorlib.pdb in the PDBs dir and also building the packages after the PDBs are moved.
2015-02-11Correct handling of paths with spaces and ampersands when building on windows.Kasper F. Brandt1-1/+1
Fixes #178
2015-02-09Add new nuget package for development usageMatt Mitchell1-8/+9
Add new nuget package that can be developed against. Also modify the cmake lists of a few directories to add in missing PDBs.
2015-02-04Fix build failure with message "Cannot create a package that has no ↵Alexander Vostres1-1/+1
dependencies nor content." #68
2015-01-30Initial commit to populate CoreCLR repo dotnet-bot1-0/+89
[tfs-changeset: 1407945]