forked from dotnet/sdk
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Arcade patch to copy symbol files with hardlinks in the VMR (dotn…
- Loading branch information
1 parent
2e79448
commit 7749e33
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
src/SourceBuild/patches/arcade/0002-copy-symbols-files-with-hard.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |