harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From smish...@apache.org
Subject svn commit: r513607 - /harmony/enhanced/drlvm/trunk/build/build.bat
Date Fri, 02 Mar 2007 03:29:13 GMT
Author: smishura
Date: Thu Mar  1 19:29:12 2007
New Revision: 513607

URL: http://svn.apache.org/viewvc?view=rev&rev=513607
Log:
If COMPILER_CFG_SCRIPT is defined goto to configuring

Modified:
    harmony/enhanced/drlvm/trunk/build/build.bat

Modified: harmony/enhanced/drlvm/trunk/build/build.bat
URL: http://svn.apache.org/viewvc/harmony/enhanced/drlvm/trunk/build/build.bat?view=diff&rev=513607&r1=513606&r2=513607
==============================================================================
--- harmony/enhanced/drlvm/trunk/build/build.bat (original)
+++ harmony/enhanced/drlvm/trunk/build/build.bat Thu Mar  1 19:29:12 2007
@@ -47,6 +47,8 @@
 GOTO DEFAULT_COMPILER
 
 :MSVC_COMPILER
+IF DEFINED COMPILER_CFG_SCRIPT GOTO CHOOSE_ARGS
+
 REM Try Platform SDK first
 SET COMPILER_CFG_SCRIPT=C:\Program Files\Microsoft Platform SDK\SetEnv.Cmd
 IF EXIST "%COMPILER_CFG_SCRIPT%" GOTO CHOOSE_ARGS
@@ -79,14 +81,18 @@
     )
 )
 
+IF DEFINED COMPILER_CFG_SCRIPT GOTO RUN_COMPILER_CONFIGURATION
 SET COMPILER_CFG_SCRIPT=C:\Program Files\Intel\Compiler\C++\9.0\IA32\Bin\iclvars.bat
 IF EXIST "%COMPILER_CFG_SCRIPT%" GOTO RUN_COMPILER_CONFIGURATION
 GOTO NO_CFG_SCRIPT
 
 :X86_64_CONFIG
+SET PLATFORM_64BIT=amd64
+
+IF DEFINED COMPILER_CFG_SCRIPT GOTO RUN_COMPILER_CONFIGURATION
+
 REM Select Microsoft Visual Studio 2005 on Windows x64 edition
 SET COMPILER_CFG_SCRIPT=C:\Program Files (x86)\Microsoft Visual Studio 8\VC\vcvarsall.bat
-SET PLATFORM_64BIT=amd64
 IF EXIST "%COMPILER_CFG_SCRIPT%" GOTO RUN_COMPILER_CONFIGURATION
 
 :NO_CFG_SCRIPT



Mime
View raw message