From 812426893a0bcbd6a6273cc97bc19ea2366b55e2 Mon Sep 17 00:00:00 2001 From: Juan Hoyos Date: Mon, 9 Mar 2020 15:24:01 -0700 Subject: [PATCH] Calculate log path after build type is set (#33196) --- src/coreclr/build-runtime.cmd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/coreclr/build-runtime.cmd b/src/coreclr/build-runtime.cmd index c13348b..3ec6d5d 100644 --- a/src/coreclr/build-runtime.cmd +++ b/src/coreclr/build-runtime.cmd @@ -51,8 +51,6 @@ set "__RepoRootDir=%__ProjectDir%\..\.." set "__ProjectFilesDir=%__ProjectDir%" set "__SourceDir=%__ProjectDir%\src" set "__RootBinDir=%__RepoRootDir%\artifacts" -set "__LogsDir=%__RootBinDir%\log\!__BuildType!" -set "__MsbuildDebugLogsDir=%__LogsDir%\MsbuildDebugLogs" set __BuildAll= @@ -259,6 +257,8 @@ if %__PgoOptimize%==0 ( set "__BinDir=%__RootBinDir%\bin\coreclr\%__TargetOS%.%__BuildArch%.%__BuildType%" set "__IntermediatesDir=%__RootBinDir%\obj\coreclr\%__TargetOS%.%__BuildArch%.%__BuildType%" +set "__LogsDir=%__RootBinDir%\log\!__BuildType!" +set "__MsbuildDebugLogsDir=%__LogsDir%\MsbuildDebugLogs" set "__ArtifactsIntermediatesDir=%__RepoRootDir%\artifacts\obj\coreclr\" if "%__NMakeMakefiles%"=="1" (set "__IntermediatesDir=%__RootBinDir%\nmakeobj\%__TargetOS%.%__BuildArch%.%__BuildType%") set "__PackagesBinDir=%__BinDir%\.nuget" -- 2.7.4