Mercurial > hg > graal-jvmci-8
comparison make/windows/create.bat @ 1328:39e409a664b3
6938185: 3/4 6923488 breaks Windows command shell builds
Summary: Fix build.bat so invoking command shell doesn't exit on error. Fix dirname assumptions. Document some MKS environment dependencies.
Reviewed-by: coleenp
author | dcubed |
---|---|
date | Thu, 25 Mar 2010 16:27:12 -0700 |
parents | bd02caa94611 |
children | 0ba67bb5392c c18cbe5936b8 |
comparison
equal
deleted
inserted
replaced
1322:21141e23627a | 1328:39e409a664b3 |
---|---|
33 REM those are changed then MakeDeps is rerun. | 33 REM those are changed then MakeDeps is rerun. |
34 | 34 |
35 REM | 35 REM |
36 REM Since we don't have uname and we could be cross-compiling, | 36 REM Since we don't have uname and we could be cross-compiling, |
37 REM Use the compiler to determine which ARCH we are building | 37 REM Use the compiler to determine which ARCH we are building |
38 REM | |
39 REM Note: Running this batch file from the Windows command shell requires | |
40 REM that "grep" be accessible on the PATH. An MKS install does this. | |
38 REM | 41 REM |
39 cl 2>&1 | grep "IA-64" >NUL | 42 cl 2>&1 | grep "IA-64" >NUL |
40 if %errorlevel% == 0 goto isia64 | 43 if %errorlevel% == 0 goto isia64 |
41 cl 2>&1 | grep "AMD64" >NUL | 44 cl 2>&1 | grep "AMD64" >NUL |
42 if %errorlevel% == 0 goto amd64 | 45 if %errorlevel% == 0 goto amd64 |