提交 818c6277 编写于 作者: D Don Syme 提交者: Kevin Ransom (msft)

update to FCT 4.1.5 (#2840)

* update to FCT 4.1.5

* better defaults for mono
上级 55ffe91f
...@@ -58,7 +58,7 @@ fi) ...@@ -58,7 +58,7 @@ fi)
fi) fi)
#TODO: work out how to avoid the need for this #TODO: work out how to avoid the need for this
chmod u+x packages/FSharp.Compiler.Tools.4.1.4/tools/fsi.exe chmod u+x packages/FSharp.Compiler.Tools.4.1.5/tools/fsi.exe
chmod u+x packages/FsLexYacc.7.0.4/build/fslex.exe chmod u+x packages/FsLexYacc.7.0.4/build/fslex.exe
chmod u+x packages/FsLexYacc.7.0.4/build/fsyacc.exe chmod u+x packages/FsLexYacc.7.0.4/build/fsyacc.exe
......
...@@ -523,7 +523,7 @@ if "%BUILD_PROTO_WITH_CORECLR_LKG%" == "1" ( ...@@ -523,7 +523,7 @@ if "%BUILD_PROTO_WITH_CORECLR_LKG%" == "1" (
set _dotnetexe=%~dp0Tools\dotnetcli\dotnet.exe set _dotnetexe=%~dp0Tools\dotnetcli\dotnet.exe
set NUGET_PACKAGES=%~dp0Packages set NUGET_PACKAGES=%~dp0Packages
set _fsiexe="packages\FSharp.Compiler.Tools.4.1.4\tools\fsi.exe" set _fsiexe="packages\FSharp.Compiler.Tools.4.1.5\tools\fsi.exe"
if not exist %_fsiexe% echo Error: Could not find %_fsiexe% && goto :failure if not exist %_fsiexe% echo Error: Could not find %_fsiexe% && goto :failure
%_ngenexe% install %_fsiexe% /nologo %_ngenexe% install %_fsiexe% /nologo
...@@ -563,8 +563,8 @@ if "%BUILD_PROTO%" == "1" ( ...@@ -563,8 +563,8 @@ if "%BUILD_PROTO%" == "1" (
if "%BUILD_PROTO_WITH_CORECLR_LKG%" == "0" ( if "%BUILD_PROTO_WITH_CORECLR_LKG%" == "0" (
echo %_ngenexe% install packages\FSharp.Compiler.Tools.4.1.4\tools\fsc.exe /nologo echo %_ngenexe% install packages\FSharp.Compiler.Tools.4.1.5\tools\fsc.exe /nologo
%_ngenexe% install packages\FSharp.Compiler.Tools.4.1.4\tools\fsc.exe /nologo %_ngenexe% install packages\FSharp.Compiler.Tools.4.1.5\tools\fsc.exe /nologo
echo %_msbuildexe% %msbuildflags% src\fsharp-proto-build.proj echo %_msbuildexe% %msbuildflags% src\fsharp-proto-build.proj
%_msbuildexe% %msbuildflags% src\fsharp-proto-build.proj %_msbuildexe% %msbuildflags% src\fsharp-proto-build.proj
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<!-- FSharp.Compiler.Tools is only used to get a working FSI.EXE to execute some scripts during the build --> <!-- FSharp.Compiler.Tools is only used to get a working FSI.EXE to execute some scripts during the build -->
<!-- The LKG FSI.EXE requires MSBuild 15 to be installed, which is painful --> <!-- The LKG FSI.EXE requires MSBuild 15 to be installed, which is painful -->
<package id="FSharp.Compiler.Tools" version="4.1.4"/> <package id="FSharp.Compiler.Tools" version="4.1.5"/>
<!-- FSharp.Data is used in some of the scripts ued for the coreclr build --> <!-- FSharp.Data is used in some of the scripts ued for the coreclr build -->
<package id="FSharp.Data" version="2.2.5" /> <package id="FSharp.Data" version="2.2.5" />
......
...@@ -138,7 +138,7 @@ ...@@ -138,7 +138,7 @@
<!-- FSharp.Compiler.Tools is currently only used to get a working FSI.EXE to execute some scripts during the build --> <!-- FSharp.Compiler.Tools is currently only used to get a working FSI.EXE to execute some scripts during the build -->
<!-- The LKG FSI.EXE requires MSBuild 15 to be installed, which is painful --> <!-- The LKG FSI.EXE requires MSBuild 15 to be installed, which is painful -->
<FsiToolPath>$(FSharpSourcesRoot)\..\packages\FSharp.Compiler.Tools.4.1.4\tools</FsiToolPath> <FsiToolPath>$(FSharpSourcesRoot)\..\packages\FSharp.Compiler.Tools.4.1.5\tools</FsiToolPath>
</PropertyGroup> </PropertyGroup>
<Import Project="../Tools/Build.Common.props" Condition="'$(TargetFramework)'=='coreclr'"/> <Import Project="../Tools/Build.Common.props" Condition="'$(TargetFramework)'=='coreclr'"/>
......
...@@ -376,9 +376,9 @@ ...@@ -376,9 +376,9 @@
<PropertyGroup > <PropertyGroup >
<OutputPath>$(FSharpSourcesRoot)\..\$(Configuration)\$(ProtoFlavour)\bin</OutputPath> <OutputPath>$(FSharpSourcesRoot)\..\$(Configuration)\$(ProtoFlavour)\bin</OutputPath>
<!-- When using coreclr to bootstrap to proto. We acquire the FSharp.Core LKG, targets LKG, the FSharp.Build LKG from the .NET Framework compiler tools LKG package. --> <!-- When using coreclr to bootstrap to proto. We acquire the FSharp.Core LKG, targets LKG, the FSharp.Build LKG from the .NET Framework compiler tools LKG package. -->
<FSharpCoreLkgPath>$(FSharpSourcesRoot)\..\packages\FSharp.Compiler.Tools.4.1.4\tools</FSharpCoreLkgPath> <FSharpCoreLkgPath>$(FSharpSourcesRoot)\..\packages\FSharp.Compiler.Tools.4.1.5\tools</FSharpCoreLkgPath>
<FSharpNetCoreLkgPath>$(FSharpSourcesRoot)\..\Tools\lkg</FSharpNetCoreLkgPath> <FSharpNetCoreLkgPath>$(FSharpSourcesRoot)\..\Tools\lkg</FSharpNetCoreLkgPath>
<FSharpTargetsPath>..\packages\FSharp.Compiler.Tools.4.1.4\tools\Microsoft.FSharp.Targets</FSharpTargetsPath> <FSharpTargetsPath>..\packages\FSharp.Compiler.Tools.4.1.5\tools\Microsoft.FSharp.Targets</FSharpTargetsPath>
<!-- When using coreclr to bootstrap, the compiler binary comes from the coreclr LKG, invoked using corehost.exe --> <!-- When using coreclr to bootstrap, the compiler binary comes from the coreclr LKG, invoked using corehost.exe -->
<FscToolPath>$(FSharpSourcesRoot)\..\Tools\dotnetcli</FscToolPath> <FscToolPath>$(FSharpSourcesRoot)\..\Tools\dotnetcli</FscToolPath>
<FscToolExe Condition="'$(OS)' != 'Unix'">dotnet.exe</FscToolExe> <FscToolExe Condition="'$(OS)' != 'Unix'">dotnet.exe</FscToolExe>
...@@ -390,8 +390,8 @@ ...@@ -390,8 +390,8 @@
<!-- Use .NET Framework to bootstrap to proto --> <!-- Use .NET Framework to bootstrap to proto -->
<PropertyGroup > <PropertyGroup >
<OutputPath>$(FSharpSourcesRoot)\..\$(Configuration)\$(ProtoFlavour)\bin</OutputPath> <OutputPath>$(FSharpSourcesRoot)\..\$(Configuration)\$(ProtoFlavour)\bin</OutputPath>
<FSharpCoreLkgPath>$(FSharpSourcesRoot)\..\packages\FSharp.Compiler.Tools.4.1.4\tools</FSharpCoreLkgPath> <FSharpCoreLkgPath>$(FSharpSourcesRoot)\..\packages\FSharp.Compiler.Tools.4.1.5\tools</FSharpCoreLkgPath>
<FSharpTargetsPath>..\packages\FSharp.Compiler.Tools.4.1.4\tools\Microsoft.FSharp.Targets</FSharpTargetsPath> <FSharpTargetsPath>..\packages\FSharp.Compiler.Tools.4.1.5\tools\Microsoft.FSharp.Targets</FSharpTargetsPath>
</PropertyGroup> </PropertyGroup>
</When> </When>
<When Condition="'$(BuildWith)' == '' AND ('$(TargetFramework)'=='portable47' OR '$(TargetFramework)'=='portable7' OR '$(TargetFramework)'=='portable78' OR '$(TargetFramework)'=='portable259' OR '$(TargetFramework)'=='coreclr')"> <When Condition="'$(BuildWith)' == '' AND ('$(TargetFramework)'=='portable47' OR '$(TargetFramework)'=='portable7' OR '$(TargetFramework)'=='portable78' OR '$(TargetFramework)'=='portable259' OR '$(TargetFramework)'=='coreclr')">
......
...@@ -17,7 +17,6 @@ type CreateFSharpManifestResourceName public () = ...@@ -17,7 +17,6 @@ type CreateFSharpManifestResourceName public () =
(dependentUponFileName:string), (* may be null *) (dependentUponFileName:string), (* may be null *)
(binaryStream:System.IO.Stream) (* may be null *)) : string = (binaryStream:System.IO.Stream) (* may be null *)) : string =
#if CROSS_PLATFORM_COMPILER
// The Visual CSharp and XBuild CSharp toolchains transform resource names like this: // The Visual CSharp and XBuild CSharp toolchains transform resource names like this:
// SubDir\abc.resx --> SubDir.abc.resources // SubDir\abc.resx --> SubDir.abc.resources
// SubDir\abc.txt --> SubDir.abc.txt // SubDir\abc.txt --> SubDir.abc.txt
...@@ -42,7 +41,6 @@ type CreateFSharpManifestResourceName public () = ...@@ -42,7 +41,6 @@ type CreateFSharpManifestResourceName public () =
false false
let fileName = if not runningOnMono || fileName.EndsWith(".resources", StringComparison.OrdinalIgnoreCase) then fileName else Path.GetFileName(fileName) let fileName = if not runningOnMono || fileName.EndsWith(".resources", StringComparison.OrdinalIgnoreCase) then fileName else Path.GetFileName(fileName)
let linkFileName = if not runningOnMono || linkFileName.EndsWith(".resources", StringComparison.OrdinalIgnoreCase) then linkFileName else Path.GetFileName(linkFileName) let linkFileName = if not runningOnMono || linkFileName.EndsWith(".resources", StringComparison.OrdinalIgnoreCase) then linkFileName else Path.GetFileName(linkFileName)
#endif
let embeddedFileName = let embeddedFileName =
match linkFileName with match linkFileName with
......
...@@ -581,11 +581,7 @@ type internal FsiCommandLineOptions(fsi: FsiEvaluationSessionHostConfig, argv: s ...@@ -581,11 +581,7 @@ type internal FsiCommandLineOptions(fsi: FsiEvaluationSessionHostConfig, argv: s
not (runningOnMono && System.Environment.OSVersion.Platform = System.PlatformID.Win32NT) not (runningOnMono && System.Environment.OSVersion.Platform = System.PlatformID.Win32NT)
#endif #endif
// In the cross-platform edition of F#, 'gui' support is currently off by default // In the cross-platform edition of F#, 'gui' support is currently off by default
#if CROSS_PLATFORM_COMPILER let mutable gui = not runningOnMono // override via "--gui", on by default
let mutable gui = false // override via "--gui", off by default
#else
let mutable gui = true // override via "--gui", on by default
#endif
#if DEBUG #if DEBUG
let mutable showILCode = false // show modul il code let mutable showILCode = false // show modul il code
#endif #endif
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册