Ignore:
Timestamp:
Dec 4, 2007 4:07:15 PM (14 years ago)
Author:
andreasw
Message:

synchronized ThirdParty?/ASL/stable/0.5 with trunk rev 798

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ThirdParty/ASL/stable/1.0/compile_MS_ASL.in

    r590 r800  
    3131sed -e "s/System_details/$clver/" details.c0 > details.c
    3232
     33# Adjust solvers/makefile.vc for the situation at hand. When building with cl
     34# under cygwin, we can't execute comptry.bat. The sole purpose of comptry.bat
     35# is to retry the compile with -DNO_LONG_LONG in an environment where long long
     36# does not exist. Since we've already tested for long long in configure and set
     37# ASLMAKEFLAGS accordingly, we can discard comptry.bat without worry.
     38
     39sed -e 's/comptry\.bat \$(CC)/$(CC)/' makefile.vc > makefile.coin
     40
    3341# Do the build. CFLAGS specified on the command line (as a result of autoconf
    34 # replacing ASLMAKEFLAGS) will override the specs in makefile.vc, ensuring
    35 # that ASL is built with the same compiler flags as other code. It turns out
    36 # that Gnu make always sets MAKEFLAGS to --unix, and nmake tries to process
    37 # this, resulting in error U1065. Clear MAKEFLAGS to fix the problem.
     42# replacing ASLMAKEFLAGS) will override the specs in makefile.vc, ensuring that
     43# ASL is built with the same compiler flags as other code. Makefile.vc also
     44# forces CC=cl, but since Coin only uses makefile.vc for the cl compiler,
     45# there's no need to override it here.
     46
     47# It turns out that Gnu make always sets MAKEFLAGS to --unix, and nmake tries
     48# to process this, resulting in error U1065. Clear MAKEFLAGS to fix the
     49# problem.
    3850
    3951libampl=@AMPLSOLVER_A@
    4052MAKEFLAGS=
    41 nmake -f makefile.vc @ASLMAKEFLAGS@
     53nmake -f makefile.coin @ASLMAKEFLAGS@
    4254mv amplsolv.lib ../$libampl
    4355mv stdio1.h arith.h funcadd0.obj ..
Note: See TracChangeset for help on using the changeset viewer.