From 2de7887402f6cf76c97e390aaf28a98020fe52d6 Mon Sep 17 00:00:00 2001 From: markhammond <749987+markhammond@users.noreply.github.com> Date: Tue, 20 Oct 2026 11:19:38 +0800 Subject: [PATCH] build: Copy only the host platform's libtorch Tests and samples now build for the machine that builds them, so TorchSharp-cpu's native libraries arrive for that platform alone rather than all six: about 250 MB a project instead of 1 GB. On a CI runner every copy is real disk. The output path stays bin//net10.0. The packages in src are untouched and stay portable; packed, they match 0.2.0. Co-Authored-By: Claude Opus 5.5 --- Directory.Build.props | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/Directory.Build.props b/Directory.Build.props index b23a8f8..df94f4a 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -37,6 +37,16 @@ false + + + true + false + +