Last active
October 18, 2015 20:59
-
-
Save cloudRoutine/75fcf0651c740e07aa21 to your computer and use it in GitHub Desktop.
Revisions
-
cloudRoutine revised this gist
Sep 29, 2015 . 1 changed file with 0 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -70,8 +70,6 @@ If you have not added MSBuild to your PATH you add the dir C:\Program Files (x86)\MSBuild\14.0\Bin To build and pull in the corefx assemblies for nuget build coreclr using this command: -
cloudRoutine revised this gist
Sep 29, 2015 . 1 changed file with 12 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -75,12 +75,24 @@ If you want to build for `Release` add `/p:Configuration=Release` to the end of To build and pull in the corefx assemblies for nuget build coreclr using this command: // For Debug λ» msbuild src\fsharp\FSharp.Core\FSharp.Core.fsproj /p:TargetFramework=coreclr /t:Rebuild /p:RestorePackages=true // For Release λ» msbuild src\fsharp\FSharp.Core\FSharp.Core.fsproj /p:TargetFramework=coreclr /t:Rebuild /p:RestorePackages=true /p:Configuration=Release otherwise build fsharp.core like this: // For Debug λ» msbuild src\fsharp\FSharp.Core\FSharp.Core.fsproj /p:TargetFramework=coreclr // For Release λ» msbuild src\fsharp\FSharp.Core\FSharp.Core.fsproj /p:TargetFramework=coreclr /p:Configuration=Release then build the compiler with the command: // For Debug λ» msbuild src/fsharp-compiler-build.proj /p:TargetFramework=coreclr /t:Rebuild /p:RestorePackages=true // For Release λ» msbuild src/fsharp-compiler-build.proj /p:TargetFramework=coreclr /t:Rebuild /p:RestorePackages=true /p:Configuration=Release -
cloudRoutine revised this gist
Sep 29, 2015 . No changes.There are no files selected for viewing
-
cloudRoutine revised this gist
Sep 29, 2015 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -57,7 +57,6 @@ Active Version Runtime Architecture Location Ali 1.0.0-beta8-15736 coreclr x86 C:\Users\Jared\.dnx\runtimes ``` Build FSharp for .NET Core ========================== -
cloudRoutine revised this gist
Sep 29, 2015 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -2,6 +2,8 @@ Make things easy for yourself and start by running posh as admin If you already have dnvm installed remember to run `update-self` if you haven't recently Clone and checkout the `coreclr` branch of [Kevin Ransom's Fork of the Visual F# Compiler and Tools](https://github.com/KevinRansom/visualfsharp) Installing DNVM =============== -
cloudRoutine revised this gist
Sep 29, 2015 . 1 changed file with 3 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -69,6 +69,9 @@ If you have not added MSBuild to your PATH you add the dir C:\Program Files (x86)\MSBuild\14.0\Bin The following set of commands will build in `Debug` mode by default. If you want to build for `Release` add `/p:Configuration=Release` to the end of the command 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 -
cloudRoutine revised this gist
Sep 29, 2015 . 1 changed file with 4 additions and 2 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -57,7 +57,7 @@ Active Version Runtime Architecture Location Ali This is an initial attempt to build fsharp.core for the coreclr: Build FSharp for .NET Core ========================== While in the directory you've cloned the visualfsharp repo to ( e.g. `C:\Users\Jared\Github\fs-coreclr\visualfsharp` ) @@ -77,4 +77,6 @@ otherwise build fsharp.core like this: λ» msbuild src\fsharp\FSharp.Core\FSharp.Core.fsproj /p:TargetFramework=coreclr then build the compiler with the command: λ» msbuild src/fsharp-compiler-build.proj /p:TargetFramework=coreclr /t:Rebuild /p:RestorePackages=true -
cloudRoutine revised this gist
Sep 29, 2015 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,6 @@ Make things easy for yourself and start by running posh as admin If you already have dnvm installed remember to run `update-self` if you haven't recently Installing DNVM =============== @@ -15,6 +17,7 @@ You can see the currently installed DNX versions with `dnvm list`, which will di λ» dnvm list Installing a .NET Core DNX ========================== -
cloudRoutine revised this gist
Sep 29, 2015 . 1 changed file with 2 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,3 +1,5 @@ ( run posh as admin ) Installing DNVM =============== -
cloudRoutine revised this gist
Sep 29, 2015 . 1 changed file with 4 additions and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -60,6 +60,10 @@ fetch the DotNet buildtools using: λ» .nuget\NuGet.exe restore packages.config -PackagesDirectory packages If you have not added MSBuild to your PATH you add the dir C:\Program Files (x86)\MSBuild\14.0\Bin 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 -
cloudRoutine revised this gist
Sep 29, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -55,6 +55,7 @@ This is an initial attempt to build fsharp.core for the coreclr: Build FSharp.Core for .NET CoreCLR ========================== While in the directory you've cloned the visualfsharp repo to ( e.g. `C:\Users\Jared\Github\fs-coreclr\visualfsharp` ) fetch the DotNet buildtools using: λ» .nuget\NuGet.exe restore packages.config -PackagesDirectory packages -
cloudRoutine revised this gist
Sep 29, 2015 . 1 changed file with 1 addition and 3 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -56,17 +56,15 @@ Build FSharp.Core for .NET CoreCLR ========================== 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 -
cloudRoutine revised this gist
Sep 29, 2015 . 1 changed file with 1 addition and 0 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -39,6 +39,7 @@ You can choose which of these DNXs you want to use with `dnvm use`, with similar ``` λ» dnvm use -r coreclr -arch x64 1.0.0-beta8-15736 Adding C:\Users\Jared\.dnx\runtimes\dnx-coreclr-win-x64.1.0.0-beta8-15736\bin to process PATH λ» dnvm list -
cloudRoutine revised this gist
Sep 29, 2015 . 1 changed file with 6 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -31,23 +31,22 @@ You can see the currently installed DNX versions with `dnvm list` (your display ``` Active Version Runtime Architecture Location Alias ------ ------- ------- ------------ -------- ----- 1.0.0-beta8-15736 coreclr x64 C:\Users\Jared\.dnx\runtimes 1.0.0-beta8-15736 coreclr x86 C:\Users\Jared\.dnx\runtimes ``` You can choose which of these DNXs you want to use with `dnvm use`, with similar arguments. ``` λ» dnvm use -r coreclr -arch x64 1.0.0-beta8-15736 Adding C:\Users\Jared\.dnx\runtimes\dnx-coreclr-win-x64.1.0.0-beta8-15736\bin to process PATH λ» dnvm list Active Version Runtime Architecture Location Alias ------ ------- ------- ------------ -------- ----- * 1.0.0-beta8-15736 coreclr x64 C:\Users\Jared\.dnx\runtimes 1.0.0-beta8-15736 coreclr x86 C:\Users\Jared\.dnx\runtimes ``` This is an initial attempt to build fsharp.core for the coreclr: -
cloudRoutine revised this gist
Sep 29, 2015 . 1 changed file with 22 additions and 20 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,49 +22,51 @@ It's easy to install the latest .NET Core-based DNX, using the `dnvm install` co This will install the 32-bit version of .NET Core. If you want the 64-bit version, you can specify processor architecture: λ» dnvm install -r coreclr -arch x64 latest -u You can see the currently installed DNX versions with `dnvm list` (your display may vary as new versions of the DNX are published): λ» dnvm list ``` Active Version Runtime Architecture Location Alias ------ ------- ------- ------------ -------- ----- 1.0.0-beta7-12364 coreclr x86 C:\Users\rlander\.dnx\runtimes 1.0.0-beta7-12364 coreclr x64 C:\Users\rlander\.dnx\runtimes ``` You can choose which of these DNXs you want to use with `dnvm use`, with similar arguments. ``` λ» dnvm use -r coreclr -arch x86 1.0.0-beta7-12364 Adding C:\Users\rlander\.dnx\runtimes\dnx-coreclr-win-x86.1.0.0-beta7-12364\bin to process PATH λ» dnvm list Active Version Runtime Architecture Location Alias ------ ------- ------- ------------ -------- ----- * 1.0.0-beta7-12364 coreclr x86 C:\Users\rlander\.dnx\runtimes 1.0.0-beta7-12364 coreclr x64 C:\Users\rlander\.dnx\runtimes ``` This is an initial attempt to build fsharp.core for the coreclr: Build FSharp.Core for .NET CoreCLR ========================== 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 -
cloudRoutine revised this gist
Sep 29, 2015 . 1 changed file with 13 additions and 15 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -22,33 +22,31 @@ It's easy to install the latest .NET Core-based DNX, using the `dnvm install` co This will install the 32-bit version of .NET Core. If you want the 64-bit version, you can specify processor architecture: λ» dnvm install -r coreclr -arch x64 latest -u You can see the currently installed DNX versions with `dnvm list` (your display may vary as new versions of the DNX are published): λ» dnvm list Active Version Runtime Architecture Location Alias ------ ------- ------- ------------ -------- ----- 1.0.0-beta7-12364 coreclr x86 C:\Users\rlander\.dnx\runtimes 1.0.0-beta7-12364 coreclr x64 C:\Users\rlander\.dnx\runtimes You can choose which of these DNXs you want to use with `dnvm use`, with similar arguments. λ» dnvm use -r coreclr -arch x86 1.0.0-beta7-12364 Adding C:\Users\rlander\.dnx\runtimes\dnx-coreclr-win-x86.1.0.0-beta7-12364\bin to process PATH λ» dnvm list Active Version Runtime Architecture Location Alias ------ ------- ------- ------------ -------- ----- * 1.0.0-beta7-12364 coreclr x86 C:\Users\rlander\.dnx\runtimes 1.0.0-beta7-12364 coreclr x64 C:\Users\rlander\.dnx\runtimes This is an initial attempt to build fsharp.core for the coreclr: -
cloudRoutine revised this gist
Sep 29, 2015 . 1 changed file with 3 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -52,7 +52,9 @@ Active Version Runtime Architecture Location Ali This is an initial attempt to build fsharp.core for the coreclr: Build FSharp.Core for .NET CoreCLR ========================== fetch the DotNet buildtools using: .nuget\NuGet.exe restore packages.config -PackagesDirectory packages -
cloudRoutine revised this gist
Sep 29, 2015 . 1 changed file with 9 additions and 7 deletions.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -1,30 +1,32 @@ Installing DNVM =============== You need DNVM as a starting point. DNVM enables you to acquire a (or multiple) .NET Execution Environment (DNX). DNVM is simply a script, which doesn't depend on .NET. You can install it via a PowerShell command. You can find alternate DNVM install instructions at the [ASP.NET Home repo](https://github.com/aspnet/home). λ» @powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}" You must close your command-prompt and start a new one in order for the user-wide environment variables to take effect. You can see the currently installed DNX versions with `dnvm list`, which will display an empty set of installed runtimes. λ» dnvm list Installing a .NET Core DNX ========================== It's easy to install the latest .NET Core-based DNX, using the `dnvm install` command. The `-u` (or `-Unstable`) parameter installs latest unstable version. λ» dnvm install -r coreclr latest -u This will install the 32-bit version of .NET Core. If you want the 64-bit version, you can specify processor architecture: C:\coreclr-demo> dnvm install -r coreclr -arch x64 latest -u You can see the currently installed DNX versions with `dnvm list` (your display may vary as new versions of the DNX are published): λ» dnvm list ``` Active Version Runtime Architecture Location Alias @@ -36,11 +38,11 @@ Active Version Runtime Architecture Location Ali You can choose which of these DNXs you want to use with `dnvm use`, with similar arguments. ``` λ» dnvm use -r coreclr -arch x86 1.0.0-beta7-12364 Adding C:\Users\rlander\.dnx\runtimes\dnx-coreclr-win-x86.1.0.0-beta7-12364\bin to process PATH λ» dnvm list Active Version Runtime Architecture Location Alias ------ ------- ------- ------------ -------- ----- -
cloudRoutine revised this gist
Sep 29, 2015 . 1 changed file with 7 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -55,8 +55,14 @@ 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 ``` -
cloudRoutine revised this gist
Sep 29, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -46,7 +46,7 @@ Active Version Runtime Architecture Location Ali ------ ------- ------- ------------ -------- ----- * 1.0.0-beta7-12364 coreclr x86 C:\Users\rlander\.dnx\runtimes 1.0.0-beta7-12364 coreclr x64 C:\Users\rlander\.dnx\runtimes ``` This is an initial attempt to build fsharp.core for the coreclr: -
cloudRoutine created this gist
Sep 29, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,62 @@ Installing DNVM =============== You need DNVM as a starting point. DNVM enables you to acquire a (or multiple) .NET Execution Environment (DNX). DNVM is simply a script, which doesn't depend on .NET. You can install it via a PowerShell command. You can find alternate DNVM install instructions at the [ASP.NET Home repo](https://github.com/aspnet/home). C:\coreclr-demo> @powershell -NoProfile -ExecutionPolicy unrestricted -Command "&{$Branch='dev';iex ((new-object net.webclient).DownloadString('https://raw.githubusercontent.com/aspnet/Home/dev/dnvminstall.ps1'))}" You must close your command-prompt and start a new one in order for the user-wide environment variables to take effect. You can see the currently installed DNX versions with `dnvm list`, which will display an empty set of installed runtimes. C:\coreclr-demo> dnvm list Installing a .NET Core DNX ========================== It's easy to install the latest .NET Core-based DNX, using the `dnvm install` command. The `-u` (or `-Unstable`) parameter installs latest unstable version. C:\coreclr-demo> dnvm install -r coreclr latest -u This will install the 32-bit version of .NET Core. If you want the 64-bit version, you can specify processor architecture: C:\coreclr-demo> dnvm install -r coreclr -arch x64 latest -u You can see the currently installed DNX versions with `dnvm list` (your display may vary as new versions of the DNX are published): C:\coreclr-demo>dnvm list ``` Active Version Runtime Architecture Location Alias ------ ------- ------- ------------ -------- ----- 1.0.0-beta7-12364 coreclr x86 C:\Users\rlander\.dnx\runtimes 1.0.0-beta7-12364 coreclr x64 C:\Users\rlander\.dnx\runtimes ``` You can choose which of these DNXs you want to use with `dnvm use`, with similar arguments. ``` C:\coreclr-demo>dnvm use -r coreclr -arch x86 1.0.0-beta7-12364 Adding C:\Users\rlander\.dnx\runtimes\dnx-coreclr-win-x86.1.0.0-beta7-12364\bin to process PATH C:\coreclr-demo>dnvm list Active Version Runtime Architecture Location Alias ------ ------- ------- ------------ -------- ----- * 1.0.0-beta7-12364 coreclr x86 C:\Users\rlander\.dnx\runtimes 1.0.0-beta7-12364 coreclr x64 C:\Users\rlander\.dnx\runtimes 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