Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit cf14314

Browse files
authored
Merge branch 'release/3.0' into merge/master-to-release/3.0
2 parents 7f0840e + 7ec87b0 commit cf14314

File tree

11 files changed

+60
-21
lines changed

11 files changed

+60
-21
lines changed

azure-pipelines.yml

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,21 @@
1-
variables:
2-
- name: DOTNET_SKIP_FIRST_TIME_EXPERIENCE
3-
value: true
4-
51
trigger:
6-
- master
2+
batch: true
3+
branches:
4+
include:
5+
- master
6+
- release/3.0
77

88
pr:
99
- master
10+
- release/3.0
11+
12+
# Temporarily set a build number format that includes a large revision
13+
# number that won't conflict with buildpipeline official builds.
14+
name: $(Date:yyyyMMdd)$(Rev:.7r)
15+
16+
variables:
17+
- name: DOTNET_SKIP_FIRST_TIME_EXPERIENCE
18+
value: true
1019

1120
jobs:
1221

clrdefinitions.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ include(clrfeatures.cmake)
22

33
# If set, indicates that this is not an officially supported release
44
# Keep in sync with IsPrerelease in dir.props
5-
set(PRERELEASE 1)
5+
set(PRERELEASE 0)
66

77
# Features we're currently flighting, but don't intend to ship in officially supported releases
88
if (PRERELEASE)

dependencies.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<!-- Package dependency verification/auto-upgrade configuration. -->
3838
<PropertyGroup>
3939
<BaseDotNetBuildInfo>build-info/dotnet/</BaseDotNetBuildInfo>
40-
<DependencyBranch>master</DependencyBranch>
40+
<DependencyBranch>release/3.0</DependencyBranch>
4141
<CurrentRefXmlPath>$(MSBuildThisFileFullPath)</CurrentRefXmlPath>
4242
</PropertyGroup>
4343

dir.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
<!-- If true, indicates that this is not an officially supported release -->
3434
<!-- It is important to flip this to false in official release branches -->
3535
<!-- Keep it in sync with PRERELEASE in clrdefinitions.cmake -->
36-
<IsPrerelease>true</IsPrerelease>
36+
<IsPrerelease>false</IsPrerelease>
3737
</PropertyGroup>
3838

3939
<!-- Output paths -->

eng/Version.Details.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
22
<Dependencies>
33
<ProductDependencies>
44
</ProductDependencies>

eng/common/build.ps1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,8 @@ try {
133133
Build
134134
}
135135
catch {
136+
Write-Host $_
137+
Write-Host $_.Exception
136138
Write-Host $_.ScriptStackTrace
137139
Write-PipelineTelemetryError -Category "InitializeToolset" -Message $_
138140
ExitWithExitCode 1

eng/common/build.sh

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -209,8 +209,9 @@ if [[ -n "${useInstalledDotNetCli:-}" ]]; then
209209
use_installed_dotnet_cli="$useInstalledDotNetCli"
210210
fi
211211

212-
if [[ "$restore" == true && -z ${DisableNativeToolsetInstalls:-} ]]; then
213-
InitializeNativeTools
214-
fi
212+
# Workaround for https://github.com/dotnet/arcade/issues/2673
213+
# if [[ "$restore" == true && -z ${DisableNativeToolsetInstalls:-} ]]; then
214+
# InitializeNativeTools
215+
# fi
215216

216217
Build

eng/common/tools.ps1

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -147,10 +147,12 @@ function InitializeDotNetCli([bool]$install) {
147147
# It also ensures that VS msbuild will use the downloaded sdk targets.
148148
$env:PATH = "$dotnetRoot;$env:PATH"
149149

150-
# Make Sure that our bootstrapped dotnet cli is avaliable in future steps of the Azure Pipelines build
151-
Write-PipelinePrependPath -Path $dotnetRoot
152-
Write-PipelineSetVariable -Name 'DOTNET_MULTILEVEL_LOOKUP' -Value '0'
153-
Write-PipelineSetVariable -Name 'DOTNET_SKIP_FIRST_TIME_EXPERIENCE' -Value '1'
150+
if ($ci) {
151+
# Make Sure that our bootstrapped dotnet cli is avaliable in future steps of the Azure Pipelines build
152+
Write-Host "##vso[task.prependpath]$dotnetRoot"
153+
Write-Host "##vso[task.setvariable variable=DOTNET_MULTILEVEL_LOOKUP]0"
154+
Write-Host "##vso[task.setvariable variable=DOTNET_SKIP_FIRST_TIME_EXPERIENCE]1"
155+
}
154156

155157
return $global:_DotNetInstallDir = $dotnetRoot
156158
}
@@ -573,8 +575,11 @@ Create-Directory $ToolsetDir
573575
Create-Directory $TempDir
574576
Create-Directory $LogDir
575577

576-
Write-PipelineSetVariable -Name 'Artifacts' -Value $ArtifactsDir
577-
Write-PipelineSetVariable -Name 'Artifacts.Toolset' -Value $ToolsetDir
578-
Write-PipelineSetVariable -Name 'Artifacts.Log' -Value $LogDir
579-
Write-PipelineSetVariable -Name 'TEMP' -Value $TempDir
580-
Write-PipelineSetVariable -Name 'TMP' -Value $TempDir
578+
if ($ci) {
579+
Write-Host "##vso[task.setvariable variable=Artifacts]$ArtifactsDir"
580+
Write-Host "##vso[task.setvariable variable=Artifacts.Toolset]$ToolsetDir"
581+
Write-Host "##vso[task.setvariable variable=Artifacts.Log]$LogDir"
582+
583+
$env:TEMP = $TempDir
584+
$env:TMP = $TempDir
585+
}

src/vm/eventpipesession.cpp

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,21 @@ EventPipeSession::EventPipeSession(
7575
QueryPerformanceCounter(&m_sessionStartTimeStamp);
7676
}
7777

78+
void EventPipeSession::Close()
79+
{
80+
CONTRACTL
81+
{
82+
NOTHROW;
83+
GC_TRIGGERS;
84+
MODE_PREEMPTIVE;
85+
}
86+
CONTRACTL_END;
87+
88+
// FIXME: **ONLY** closes the stream. This explicitly **LEAKS** the
89+
// provider list and buffer manager.
90+
delete m_pFile;
91+
}
92+
7893
EventPipeSession::~EventPipeSession()
7994
{
8095
CONTRACTL

src/vm/eventpipesession.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ class EventPipeSession
104104
uint32_t numProviders,
105105
bool rundownEnabled = false);
106106
~EventPipeSession();
107+
void Close();
107108

108109
uint64_t GetMask() const
109110
{

0 commit comments

Comments
 (0)