Skip to content

Commit a59eee0

Browse files
authored
Merge pull request #16809 from dotnet/merges/main-to-lsp
Merge main to lsp
2 parents 9f532bd + 9877cfe commit a59eee0

File tree

719 files changed

+193523
-9273
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

719 files changed

+193523
-9273
lines changed

Directory.Build.props

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
<AccelerateBuildsInVisualStudio>true</AccelerateBuildsInVisualStudio>
77
<FSharpNetCoreProductDefaultTargetFramework>net8.0</FSharpNetCoreProductDefaultTargetFramework>
88
</PropertyGroup>
9+
910
<!--
1011
When developers load the FSharp.Compiler.Service solution we set FSHARPCORE_USE_PACKAGE to true if it hasn't already been set to a value.
1112
This option ensures that building and testing uses the specified FSharp.Core nuget package instead of the local FSharp.Core project.
@@ -20,6 +21,19 @@
2021
<PropertyGroup Condition="'$(BUILDING_USING_DOTNET)' != 'false' and '$(DotnetProjInfo)' == 'true'">
2122
<BUILDING_USING_DOTNET>true</BUILDING_USING_DOTNET>
2223
</PropertyGroup>
24+
25+
<PropertyGroup Condition="'$(BUILDING_USING_DOTNET)' != 'true'">
26+
<!--
27+
When shipping Build fsharp.compiler.service dll using realsig visibility
28+
When testing we have a test pass built using old style visibility to improve
29+
testing coverage.
30+
31+
Don't use it explicitly when building with plain .NET (without Proto or Arcade).
32+
-->
33+
<OtherFlags Condition="'$(Configuration)' != 'Proto' and '$(TestingLegacyInternalSignature)' != 'true'">$(OtherFlags) --realsig-</OtherFlags>
34+
<OtherFlags Condition="'$(Configuration)' != 'Proto' and '$(TestingLegacyInternalSignature)' == 'true'">$(OtherFlags) --realsig+</OtherFlags>
35+
36+
</PropertyGroup>
2337

2438
<Import Project="$(RepoRoot)/Directory.Build.props.user" Condition="Exists('$(RepoRoot)/Directory.Build.props.user')" />
2539

FSharp.Compiler.Service.sln.DotSettings

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@
426426
<s:Boolean x:Key="/Default/UserDictionary/Words/=mtype/@EntryIndexedValue">True</s:Boolean>
427427
<s:Boolean x:Key="/Default/UserDictionary/Words/=mubinds/@EntryIndexedValue">True</s:Boolean>
428428
<s:Boolean x:Key="/Default/UserDictionary/Words/=munge/@EntryIndexedValue">True</s:Boolean>
429-
<s:Boolean x:Key="/Default/UserDictionary/Words/=mustinline/@EntryIndexedValue">True</s:Boolean>
429+
<s:Boolean x:Key="/Default/UserDictionary/Words/=shouldinline/@EntryIndexedValue">True</s:Boolean>
430430
<s:Boolean x:Key="/Default/UserDictionary/Words/=mutables/@EntryIndexedValue">True</s:Boolean>
431431
<s:Boolean x:Key="/Default/UserDictionary/Words/=mval/@EntryIndexedValue">True</s:Boolean>
432432
<s:Boolean x:Key="/Default/UserDictionary/Words/=mvid/@EntryIndexedValue">True</s:Boolean>

FSharpBuild.Directory.Build.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
<!-- use this to enable good debugging in the Proto bootstrap compiler -->
115115
<!-- You'll have to remove it to get the actual compiler bo build because optimization is needed for some large methods -->
116116
<!--
117-
<PropertyGroup Condition="'$(Configuration)' == 'Proto'">
117+
<PropertyGroup Condition="'$(Configuration)' == 'Proto'">
118118
<DebugSymbols>true</DebugSymbols>
119119
<Optimize>false</Optimize>
120120
<Tailcalls>true</Tailcalls>

azure-pipelines.yml

Lines changed: 59 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -353,6 +353,62 @@ stages:
353353
ArtifactType: Container
354354
parallel: true
355355

356+
- job: WindowsNoRealsig_testCoreclr
357+
pool:
358+
# The PR build definition sets this variable:
359+
# WindowsMachineQueueName=Windows.vs2022.amd64.open
360+
# and there is an alternate build definition that sets this to a queue that is always scouting the
361+
# next preview of Visual Studio.
362+
name: $(DncEngPublicBuildPool)
363+
demands: ImageOverride -equals $(WindowsMachineQueueName)
364+
timeoutInMinutes: 120
365+
steps:
366+
- checkout: self
367+
clean: true
368+
369+
- script: eng\CIBuild.cmd -compressallmetadata -norealsig -testCoreclr -configuration Release
370+
env:
371+
NativeToolsOnMachine: true
372+
displayName: Build
373+
374+
- task: PublishBuildArtifacts@1
375+
displayName: Publish Build BinLog
376+
condition: always()
377+
continueOnError: true
378+
inputs:
379+
PathToPublish: '$(Build.SourcesDirectory)\artifacts\log/Release\Build.VisualFSharp.sln.binlog'
380+
ArtifactName: 'Windows Release build binlogs'
381+
ArtifactType: Container
382+
parallel: true
383+
384+
- job: WindowsNoRealsig_testDesktop
385+
pool:
386+
# The PR build definition sets this variable:
387+
# WindowsMachineQueueName=Windows.vs2022.amd64.open
388+
# and there is an alternate build definition that sets this to a queue that is always scouting the
389+
# next preview of Visual Studio.
390+
name: $(DncEngPublicBuildPool)
391+
demands: ImageOverride -equals $(WindowsMachineQueueName)
392+
timeoutInMinutes: 120
393+
steps:
394+
- checkout: self
395+
clean: true
396+
397+
- script: eng\CIBuild.cmd -compressallmetadata -norealsig -testDesktop -configuration Release
398+
env:
399+
NativeToolsOnMachine: true
400+
displayName: Build
401+
402+
- task: PublishBuildArtifacts@1
403+
displayName: Publish Build BinLog
404+
condition: always()
405+
continueOnError: true
406+
inputs:
407+
PathToPublish: '$(Build.SourcesDirectory)\artifacts\log/Release\Build.VisualFSharp.sln.binlog'
408+
ArtifactName: 'Windows Release build binlogs'
409+
ArtifactType: Container
410+
parallel: true
411+
356412
- job: WindowsStrictIndentation
357413
pool:
358414
# The PR build definition sets this variable:
@@ -738,7 +794,7 @@ stages:
738794
condition: always()
739795

740796
# Test trimming on Windows
741-
- job: Build_And_Test_Trimming_Windows
797+
- job: Build_And_Test_AOT_Windows
742798
pool:
743799
name: $(DncEngPublicBuildPool)
744800
demands: ImageOverride -equals $(WindowsMachineQueueName)
@@ -769,9 +825,9 @@ stages:
769825
env:
770826
NativeToolsOnMachine: true
771827
displayName: Initial build and prepare packages.
772-
- script: $(Build.SourcesDirectory)/tests/AheadOfTime/Trimming/check.cmd
828+
- script: $(Build.SourcesDirectory)/tests/AheadOfTime/check.cmd
773829
displayName: Build, trim, publish and check the state of the trimmed app.
774-
workingDirectory: $(Build.SourcesDirectory)/tests/AheadOfTime/Trimming
830+
workingDirectory: $(Build.SourcesDirectory)/tests/AheadOfTime
775831
- task: PublishPipelineArtifact@1
776832
displayName: Publish Trim Tests Logs
777833
inputs:

0 commit comments

Comments
 (0)