Skip to content

Commit

Permalink
compression on
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinRansom committed Jul 5, 2024
1 parent 5c6d8e7 commit 753dfba
Show file tree
Hide file tree
Showing 681 changed files with 1,439 additions and 1,376 deletions.
2 changes: 1 addition & 1 deletion Test.cmd
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@echo off
@echo off
powershell -ExecutionPolicy ByPass -NoProfile -command "& """%~dp0eng\build.ps1""" -test %*"
9 changes: 9 additions & 0 deletions docs/release-notes/.FSharp.Compiler.Service/9.0.100.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### Fixed

### Added

### Changed
* Change compiler default setting for compressedMetada ([Issue #17379](https://github.com/dotnet/fsharp/issues/17379), [PR #17383](https://github.com/dotnet/fsharp/pull/17383))

### Breaking Changes

9 changes: 9 additions & 0 deletions docs/release-notes/.FSharp.Core/9.0.100.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
### Fixed

### Added

### Changed
* Change compiler default setting for compressedMetada ([Issue #17379](https://github.com/dotnet/fsharp/issues/17379), [PR #17383](https://github.com/dotnet/fsharp/pull/17383))

### Breaking Changes

5 changes: 5 additions & 0 deletions docs/release-notes/.Language/9.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
### Fixed


### Added

2 changes: 1 addition & 1 deletion src/Compiler/Driver/CompilerConfig.fs
Original file line number Diff line number Diff line change
Expand Up @@ -723,7 +723,7 @@ type TcConfigBuilder =
metadataVersion = None
standalone = false
extraStaticLinkRoots = []
compressMetadata = false
compressMetadata = true
noSignatureData = false
onlyEssentialOptimizationData = false
useOptimizationDataFile = false
Expand Down
2 changes: 1 addition & 1 deletion src/Compiler/FSharp.Compiler.Service.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<PropertyGroup Condition="'$(Configuration)' != 'Proto'">
<NoOptimizationData>false</NoOptimizationData>
<NoInterfaceData>false</NoInterfaceData>
<CompressMetadata>false</CompressMetadata>
<CompressMetadata>true</CompressMetadata>
</PropertyGroup>

<PropertyGroup>
Expand Down
2 changes: 1 addition & 1 deletion src/FSharp.Build/Fsc.fs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ type public Fsc() as this =
let mutable codePage: string MaybeNull = null
let mutable commandLineArgs: ITaskItem list = []
let mutable compilerTools: ITaskItem[] = [||]
let mutable compressMetadata = false
let mutable compressMetadata = true
let mutable debugSymbols = false
let mutable debugType: string MaybeNull = null
let mutable defineConstants: ITaskItem[] = [||]
Expand Down
2 changes: 1 addition & 1 deletion src/FSharp.Core/FSharp.Core.fsproj
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
<PropertyGroup Condition="'$(Configuration)' != 'Proto'">
<NoOptimizationData>false</NoOptimizationData>
<NoInterfaceData>false</NoInterfaceData>
<CompressMetadata>false</CompressMetadata>
<CompressMetadata>true</CompressMetadata>
</PropertyGroup>

<!-- When we build FCS solution and we include FSCore as reference, set path explicitly -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.assembly
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationData.assembly
.mresource public FSharpOptimizationCompressedData.assembly
{


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.assembly
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationData.assembly
.mresource public FSharpOptimizationCompressedData.assembly
{


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.assembly
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationData.assembly
.mresource public FSharpOptimizationCompressedData.assembly
{


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.assembly
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationData.assembly
.mresource public FSharpOptimizationCompressedData.assembly
{


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.assembly
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationData.assembly
.mresource public FSharpOptimizationCompressedData.assembly
{


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.assembly
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationData.assembly
.mresource public FSharpOptimizationCompressedData.assembly
{


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.assembly
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationData.assembly
.mresource public FSharpOptimizationCompressedData.assembly
{


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.assembly
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationData.assembly
.mresource public FSharpOptimizationCompressedData.assembly
{


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.assembly
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationData.assembly
.mresource public FSharpOptimizationCompressedData.assembly
{


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.assembly
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationData.assembly
.mresource public FSharpOptimizationCompressedData.assembly
{


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.assembly
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationData.assembly
.mresource public FSharpOptimizationCompressedData.assembly
{


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.assembly
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationData.assembly
.mresource public FSharpOptimizationCompressedData.assembly
{


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.assembly
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationData.assembly
.mresource public FSharpOptimizationCompressedData.assembly
{


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.assembly
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationData.assembly
.mresource public FSharpOptimizationCompressedData.assembly
{


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.assembly
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationData.assembly
.mresource public FSharpOptimizationCompressedData.assembly
{


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.assembly
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationData.assembly
.mresource public FSharpOptimizationCompressedData.assembly
{


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.assembly
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationData.assembly
.mresource public FSharpOptimizationCompressedData.assembly
{


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.assembly
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationData.assembly
.mresource public FSharpOptimizationCompressedData.assembly
{


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.assembly
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationData.assembly
.mresource public FSharpOptimizationCompressedData.assembly
{


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.assembly
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationData.assembly
.mresource public FSharpOptimizationCompressedData.assembly
{


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.assembly
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationData.assembly
.mresource public FSharpOptimizationCompressedData.assembly
{


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
.hash algorithm 0x00008004
.ver 0:0:0:0
}
.mresource public FSharpSignatureData.assembly
.mresource public FSharpSignatureCompressedData.assembly
{


}
.mresource public FSharpOptimizationData.assembly
.mresource public FSharpOptimizationCompressedData.assembly
{


Expand Down
Loading

0 comments on commit 753dfba

Please sign in to comment.