Skip to content

Commit

Permalink
Add Arcade patch to copy symbol files with hardlinks in the VMR (dotn…
Browse files Browse the repository at this point in the history
  • Loading branch information
jkoritzinsky authored Jan 22, 2025
1 parent 2e79448 commit 7749e33
Showing 1 changed file with 24 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
From 7bee88fbf4f53b43469e91117233274a6b4c4734 Mon Sep 17 00:00:00 2001
From: Jeremy Koritzinsky <[email protected]>
Date: Tue, 21 Jan 2025 11:55:11 -0800
Subject: [PATCH] Copy symbol files with hardlinks when possible

Backport: https://github.com/dotnet/arcade/pull/15436
---
.../tools/SourceBuild/SourceBuildArcade.targets | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/Microsoft.DotNet.Arcade.Sdk/tools/SourceBuild/SourceBuildArcade.targets b/src/Microsoft.DotNet.Arcade.Sdk/tools/SourceBuild/SourceBuildArcade.targets
index 867ecf758a6..f314450b9f7 100644
--- a/src/Microsoft.DotNet.Arcade.Sdk/tools/SourceBuild/SourceBuildArcade.targets
+++ b/src/Microsoft.DotNet.Arcade.Sdk/tools/SourceBuild/SourceBuildArcade.targets
@@ -216,7 +216,8 @@
<MakeDir Directories="$(SourceBuiltSymbolsDir)" />
<Copy
SourceFiles="@(AbsoluteSymbolPath)"
- DestinationFolder="$(SourceBuiltSymbolsDir)%(RecursiveDir)" />
+ DestinationFolder="$(SourceBuiltSymbolsDir)%(RecursiveDir)"
+ UseHardlinksIfPossible="true" />
</Target>
<!--
This target can be removed once we enable standard repo assets manifests and SB orchestrator

0 comments on commit 7749e33

Please sign in to comment.