Commit graph

1954 commits

Author SHA1 Message Date
Eric Erhardt
3bfd86b254 Remove crossgenning mscorlib on Unix platforms, since the CoreCLR nuget package now carries the crossgenned mscorlib on non-Windows platforms. 2016-03-14 17:58:14 -05:00
Eric Erhardt
0de7a4c934 Workaround F# requiring Win32.Registry, which doesn't restore on Unix machines, by excluding it from compile. 2016-03-14 17:58:14 -05:00
Eric Erhardt
457e842c76 Add workaround for System.Reflection.TypeExtensions. Roslyn is still referencing the old version, which is now incompatible with the latest System.Reflection nupkg. 2016-03-14 17:58:14 -05:00
eerhardt
8953400eee Updating dependencies from last known good builds 2016-03-14 17:58:13 -05:00
Eric Mellino
ee5d5ef6f1 Overwrite hostpolicy file from nuget with local-built one 2016-03-14 15:40:19 -07:00
Eric Mellino
05ebf6f842 Update files copied into shared framework staging directory
We need additional files from the corehost directory
2016-03-14 15:00:59 -07:00
Eric Mellino
622cb17d7c Merge pull request #1842 from mellinoe/use-netcore.app
Use Microsoft.NETCore.App for sharedframework publish, pull local corehost for sharedhost
2016-03-14 14:56:54 -07:00
Eric Mellino
09c8e298ed Switch sharedframework project.json to Microsoft.NETCore.App
Use local-build corehost.exe

This is staying in the repo, so we can copy the local-built version.

Copy deps and deps.json, make sure corehost temp dir exists

Add additional runtimes to the sharedframework's project.json

Delete an unused file, modify crossgen target condition

* sharedhost\project.json is unused. It is copied from the local build.
* the crossgen target was conditioned on an environment variable, but the
  variable could be set to anything. Instead, make sure it is either
  "true" or "1".

Use stage2 instead of stage0 for shared framework restore
2016-03-14 14:43:31 -07:00
Livar Cunha
657efa2339 Adding Files and Compiler.Common to projects to be packaged. 2016-03-14 14:17:28 -07:00
Eric Erhardt
9a4936ae0d When a failed command is executed in "silent" mode, it is not easy to figure out why it failed in the build logs.
Fix: Add Standard Output and Error to the BuildFailureException message thrown by CommandResult.EnsureSuccessful.
2016-03-14 15:20:35 -05:00
Andrew Stanton-Nurse
569c728731 Merge pull request #1841 from dotnet/anurse/native-in-deps
Add native stuff to deps.json
2016-03-14 13:17:08 -07:00
Andrew Stanton-Nurse
008a1ad0fa put 'native' section in to runtime targets for deps file 2016-03-14 12:57:34 -07:00
Sridhar Periyasamy
dc11ed2ba8 Remove the hack to download "1.0.0.001665" CLI.
Revert to download the latest.
2016-03-14 12:14:00 -07:00
Sridhar Periyasamy
fd4e3b8cfe Merge pull request #1820 from Sridhar-MS/ci-changes
Add RHEL and Windows x86 to CI.
2016-03-14 11:12:01 -07:00
Livar
78778b883f Merge pull request #1795 from mellinoe/wip-build-stuff-rebased
Add installer scripts for the shared framework/host, incorporate into build
2016-03-14 09:59:12 -07:00
Andrew Stanton-Nurse
5b0afe7880 Merge pull request #1809 from dotnet/anurse/publish-layout
Add support for portable application layout
2016-03-12 13:07:47 -08:00
Andrew Stanton-Nurse
d08e83d5db add support for portable application layout 2016-03-12 11:52:29 -08:00
Jan Vorlicek
cef64895c8 Merge pull request #1814 from janvorli/fix-pthread
Fix pthread library option
2016-03-12 01:46:05 +01:00
Sridhar Periyasamy
71d71b8ddc Add RHEL and Windows x86 to CI.
- Changes in netci.groovy to delete post-merge builds. We are suign VSO
  for that.
- Also add RHEL and Windows x86 to PR CI jobs. Instead of doing 'debug'
  and 'release' for all platforms we are only selectively have a mixture
  of debug and release builds. (For ubuntu we are doing debug and release
  but that will change when we have 'Debian 8.2' support. Ubuntu:Debug
  will be replaced by Debian8.2:Debug)
- Minor change in install.sh to maintain uniformity in OS names.
2016-03-11 15:55:52 -08:00
Eric Mellino
9f3feda606 Add sharedframework and sharedhost debian installer tests
These are basic tests for now, which validate installation, upgrade,
uninstall, etc. of the debian package itself. When the shared framework is
fully functional, we will add more tests that cover real functionality.
2016-03-11 15:10:33 -08:00
Piotr Puszkiewicz
c211e8d794 Merge pull request #1808 from dotnet/piotrpMSFT/issue1785/FragileNonVersionable
FragileNonVersionable
2016-03-11 13:50:03 -08:00
Troy Dai
0c31e53bfa Merge branch 'troy-fix-path' into rel/1.0.0 2016-03-11 13:08:47 -08:00
Sridhar Periyasamy
b7392e65b6 Modify version badge URL to invalidate the github image cache. 2016-03-11 12:44:28 -08:00
PiotrP
5ae6dcbbde Hard-code stage0 on Mac, Linux to use 1.0.0.001665, which contained a NuGet believed not to contain current regressions. 2016-03-11 12:39:36 -08:00
PiotrP
94ca41874d FragileNonVersionable 2016-03-11 12:20:04 -08:00
Troy Dai
9df3a986d8 Fix incorrect reference assembly path 2016-03-11 11:53:22 -08:00
Troy Dai
429625061d Merge branch 'troy/531' into rel/1.0.0 2016-03-11 09:53:18 -08:00
Jan Vorlicek
72ad7aa4db Fix pthread library option
While building CoreRT on OSX, I have noticed a warning:
clang: warning: argument unused during compilation: `-pthread`
The issue is that the options should be `-lpthread` instead.
2016-03-11 12:24:36 +01:00
Senthil
e0f8ad0481 Allow to pin a specific runtime version
@anurse, @piotrpMSFT, @gkhanna79, @leecow, @richlander
2016-03-11 01:33:56 -08:00
Senthil
c5320732c4 Merge branch 'rel/1.0.0' into hostpfiles 2016-03-11 01:13:40 -08:00
Troy Dai
78257e7388 Update DotNEtReferenceAssembliesPathResolver 2016-03-10 16:57:57 -08:00
Sridhar Periyasamy
dc3c00d660 Do not cache version badges in the blob storage. 2016-03-10 16:03:43 -08:00
Troy Dai
dc7bab9e28 Probe for .NET reference assemblies path 2016-03-10 16:01:11 -08:00
Eric Mellino
ce118f9d07 Add warning if shared framework is not going to be crossgen'd because mscorlib.ni.dll does not exist 2016-03-10 15:23:26 -08:00
Pavel Krymets
5a121215cd Merge pull request #1801 from dotnet/pakrym/deps-rids-paths
Fix issue with paths in deps.json not being normalized to have `/`
2016-03-10 15:20:36 -08:00
Eric Mellino
d77fad4e68 Bring the OSX installer 'title' in line with Windows
It now includes the shared framework 'name' (NuGet package name) in the installer. In this case, the installer is called '.NET Core Shared Framework (NETStandard.Library 1.0.0-*)'
2016-03-10 15:19:54 -08:00
Troy Dai
2922251444 Merge branch 'troy/fix.osx.build' into rel/1.0.0 2016-03-10 14:26:29 -08:00
Troy Dai
37544303cb Merge branch 'troy/1762' into rel/1.0.0 2016-03-10 14:24:23 -08:00
Pavel Krymets
5214d176cd Fix issue with paths in deps.json not being normalized to have /, also moves rid graph section to root leve instead of being inside arget subsection 2016-03-10 13:45:06 -08:00
Pavel Krymets
b30d54bc56 Merge pull request #1796 from dotnet/pakrym/fix-embedded-deps
Fix issue preventing MVC gate to take a new dotnet cli
2016-03-10 13:38:54 -08:00
Troy Dai
76262b8b0a Fix build break on osx.10.11 2016-03-10 12:47:00 -08:00
Troy Dai
a50a5a9d73 Retry when lock file is occupied by other process 2016-03-10 11:46:52 -08:00
Sridhar Periyasamy
ccf1a8bb39 Update the version badges links to point to new URIs. 2016-03-10 11:41:18 -08:00
Pavel Krymets
dceefd05c3 Fix issue preventing MVC gate to take a new dotnet cli 2016-03-10 11:33:39 -08:00
Eric Mellino
edbbc64b03 Fill out pkg installer targets
This causes three pkg files to be produced:

* A component pkg for the shared framework.
* A component pkg for the shared host.
* A product archive which includes the above two components.

The product archive also needs a distribution.xml file which contains
metadata about the package (name, title, images, etc.).

The installer for the "SDK" itself is still using logic implemented in
package-osx.sh. We should move this logic into the build target as well,
but we may want to wait until the CLI is using the shared framework to do so.
2016-03-10 10:31:45 -08:00
Sridhar Periyasamy
0dad10253b Set the correct content type for version badges in blob storage.
This is needed to display the version badges as images in external
websites like github.
2016-03-10 10:23:52 -08:00
Matt Ellis
4df5ed39d5 Crossgen Shared Framework managed assemblies
- Use Crossgen's Ready To Run mode on all of the managed assemblies
  that make up the shared framework.
- Upgrade the version of the shared framework to match what is used
  in the rest of CLI (see the comment in SharedFrameworkTargets.cs to
  understand why this is needed).
- Remove the IL mscorlib.dll image, since the Crossgen'd image is
  already published.

Fixes dotnet/corefx#6753
2016-03-10 04:38:15 -08:00
Matt Ellis
56e5a99c54 Add Shared Host Debian Package 2016-03-10 03:42:45 -08:00
Matt Ellis
696f4dc167 Add Shared Framework debian packaging 2016-03-10 03:42:45 -08:00
Matt Ellis
9004e20cf4 Allow optional install_root in package config
The shared framework packages will want to install to the same root
directory as the "dotnet" package itself. Augment the package_tool
script to look for a json key named `install_root` and use that if
specificed, falling back to `/usr/share/$PACKAGE_NAME` when it is not
present.
2016-03-10 03:42:44 -08:00