From 2a56cb982c71b9cd2cf165e53635923e21e0c964 Mon Sep 17 00:00:00 2001 From: vsadov <8218165+VSadov@users.noreply.github.com> Date: Thu, 17 Mar 2022 18:58:57 -0700 Subject: [PATCH 1/3] do not copy redist files to artefacts --- src/coreclr/build-runtime.cmd | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/coreclr/build-runtime.cmd b/src/coreclr/build-runtime.cmd index 30cd7d2785267a..50bcbb06d36f59 100644 --- a/src/coreclr/build-runtime.cmd +++ b/src/coreclr/build-runtime.cmd @@ -597,23 +597,6 @@ if %__BuildNative% EQU 1 ( goto ExitWithCode ) - if /i "%__BuildArch%" == "arm64" goto SkipCopyUcrt - - if not defined UCRTVersion ( - echo %__ErrMsgPrefix%%__MsgPrefix%Error: Please install Windows 10 SDK. - goto ExitWithError - ) - - set "__UCRTDir=%UniversalCRTSdkDir%Redist\%UCRTVersion%\ucrt\DLLs\%__BuildArch%\" - - xcopy /Y/I/E/D/F "!__UCRTDir!*.dll" "%__BinDir%\Redist\ucrt\DLLs\%__BuildArch%" - if not !errorlevel! == 0 ( - set __exitCode=!errorlevel! - echo %__ErrMsgPrefix%%__MsgPrefix%Error: Failed to copy the Universal CRT to the artifacts directory. - goto ExitWithCode - ) - -:SkipCopyUcrt if %__EnforcePgo% EQU 1 ( set PgoCheckCmd="!PYTHON!" "!__ProjectDir!\scripts\pgocheck.py" "!__BinDir!\coreclr.dll" "!__BinDir!\clrjit.dll" echo !PgoCheckCmd! From be7620d525782351ded1e00868b032661a15995b Mon Sep 17 00:00:00 2001 From: vsadov <8218165+VSadov@users.noreply.github.com> Date: Thu, 17 Mar 2022 18:59:13 -0700 Subject: [PATCH 2/3] do not copy redist files to tests --- src/tests/Common/test_dependencies/test_dependencies.csproj | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/tests/Common/test_dependencies/test_dependencies.csproj b/src/tests/Common/test_dependencies/test_dependencies.csproj index 6b9583711e3b8d..8f10be173327d2 100644 --- a/src/tests/Common/test_dependencies/test_dependencies.csproj +++ b/src/tests/Common/test_dependencies/test_dependencies.csproj @@ -14,12 +14,6 @@ - - - - - - From 20e7ba35165b8bd8bcdb81b13c457f3084925bd0 Mon Sep 17 00:00:00 2001 From: vsadov <8218165+VSadov@users.noreply.github.com> Date: Thu, 17 Mar 2022 20:30:32 -0700 Subject: [PATCH 3/3] Do not include Redist files in runtime packs --- eng/liveBuilds.targets | 1 - 1 file changed, 1 deletion(-) diff --git a/eng/liveBuilds.targets b/eng/liveBuilds.targets index d31305effaa8e8..a8e8fffe47011c 100644 --- a/eng/liveBuilds.targets +++ b/eng/liveBuilds.targets @@ -77,7 +77,6 @@ - true