summaryrefslogtreecommitdiff
path: root/build.cmd
diff options
context:
space:
mode:
authorDan Moseley <danmose@microsoft.com>2017-02-07 06:00:55 -0800
committerJan Kotas <jkotas@microsoft.com>2017-02-07 06:00:55 -0800
commit505d2266d4d10229105408c6f803acb5a017b0fa (patch)
treef961ba83c01bef57359885baaaa29eeeffdd977c /build.cmd
parent2945233dec39a07652455ffb075b0a4a5f303fa6 (diff)
downloadcoreclr-505d2266d4d10229105408c6f803acb5a017b0fa.tar.gz
coreclr-505d2266d4d10229105408c6f803acb5a017b0fa.tar.bz2
coreclr-505d2266d4d10229105408c6f803acb5a017b0fa.zip
Remove bclrewriter (#9351)
* Remove bclrewriter * Dump crossgen error to Jenkins log
Diffstat (limited to 'build.cmd')
-rw-r--r--build.cmd11
1 files changed, 7 insertions, 4 deletions
diff --git a/build.cmd b/build.cmd
index 1d95307a6e..a37428ca6b 100644
--- a/build.cmd
+++ b/build.cmd
@@ -388,13 +388,15 @@ if %__BuildNativeCoreLib% EQU 1 (
"%__CrossgenExe%" /Platform_Assemblies_Paths "%__BinDir%" /out "%__BinDir%\System.Private.CoreLib.ni.dll" "%__BinDir%\System.Private.CoreLib.dll" > "%__CrossGenCoreLibLog%" 2>&1
if NOT !errorlevel! == 0 (
echo %__MsgPrefix%Error: CrossGen System.Private.CoreLib build failed. Refer to %__CrossGenCoreLibLog%
- echo %__CrossGenCoreLibLog%
+ :: Put it in the same log, helpful for Jenkins
+ type %__CrossGenCoreLibLog%
exit /b 1
)
"%__CrossgenExe%" /Platform_Assemblies_Paths "%__BinDir%" /CreatePdb "%__BinDir%\PDB" "%__BinDir%\System.Private.CoreLib.ni.dll" >> "%__CrossGenCoreLibLog%" 2>&1
if NOT !errorlevel! == 0 (
echo %__MsgPrefix%Error: CrossGen /CreatePdb System.Private.CoreLib build failed. Refer to %__CrossGenCoreLibLog%
- echo %__CrossGenCoreLibLog%
+ :: Put it in the same log, helpful for Jenkins
+ type %__CrossGenCoreLibLog%
exit /b 1
)
@@ -417,8 +419,9 @@ if %__BuildNativeCoreLib% EQU 1 (
)
if NOT !err! == 0 (
- echo %__MsgPrefix%Error: CrossGen mscorlib facade build failed. Refer to the build log file for details:
- echo !__CrossGenCoreLibLog!
+ echo %__MsgPrefix%Error: CrossGen mscorlib facade build failed. Refer to !__CrossGenCoreLibLog!
+ :: Put it in the same log, helpful for Jenkins
+ type %__CrossGenCoreLibLog%
exit /b 1
)
)