Skip to content

Coreclr build of fsharp.core - #499

Closed
KevinRansom wants to merge 15 commits into
dotnet:fsharp4from
KevinRansom:coreclr
Closed

KevinRansom wants to merge 15 commits into
dotnet:fsharp4from
KevinRansom:coreclr

Conversation

@KevinRansom

Copy link
Copy Markdown
Contributor

This is an initial attempt to build fsharp.core for the coreclr:

In a working F# OSS enlistment:
fetch the DotNet buildtools using:
.nuget\NuGet.exe restore packages.config -PackagesDirectory packages

To build and pull in the corefx assemblies for nuget build coreclr using this command:
msbuild src\fsharp\FSharp.Core\FSharp.Core.fsproj /p:TargetFramework=coreclr /t:Rebuild /p:RestorePackages=true
otherwise build fsharp.core like this:
msbuild src\fsharp\FSharp.Core\FSharp.Core.fsproj /p:TargetFramework=coreclr

  • Next a simple console app that uses coreclr and fsharp.core
  • the unit tests

KevinRansom added 3 commits June 15, 2015 18:43
===============================================

To build and pull in the corefx assemblies for nuget build coreclr using this command:

  msbuild src\fsharp\FSharp.Core\FSharp.Core.fsproj /p:TargetFramework=coreclr /t:Rebuild /p:RestorePackages=true

otherwise build fsharp.core like this:

  msbuild src\fsharp\FSharp.Core\FSharp.Core.fsproj /p:TargetFramework=coreclr

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why did you take this approach vs. the project.json file?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also have a project.json file too, it was necessary to get the nuget downloads working, I still have to learn what the syntax differences are for referencing them that way. To be honest I was focused for now on getting something working, where I could easily diagnose what was going on. I fully expect to modify things moving forward.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@KevinRansom that sounds reasonable. Just wanted to make sure that was the goal.

@forki forki mentioned this pull request Jun 16, 2015
Comment thread appveyor-build.cmd Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's add CoreCLR build to AppVeyor

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes

KevinRansom added 11 commits June 16, 2015 16:02
Implement semantic versioning for imported IlAssemblyRefs
Project pulls rc.exe from the wrong location

For this PR Semantic versioning means select the highest version of an assembly by simple name.  StrongNames are not considered.  mscorlib is excluded.
…th coreclr.

Note: Support for framework types (systypes) are currently disabled.  two changes in build.fs.  We will try a different definition for FameworkTypes based on fsharp.core dependence.
@latkin latkin mentioned this pull request Jul 30, 2015
@latkin latkin added this to the CoreCLR milestone Aug 4, 2015
@latkin

latkin commented Aug 13, 2015

Copy link
Copy Markdown
Contributor

Looks like these commits have been pushed to the coreclr branch, so I'll close out this PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants