Changeset 1128 for trunk/scons


Ignore:
Timestamp:
08/10/06 15:09:20 (18 years ago)
Author:
mar637
Message:

more fixes to 64bit install

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/scons/casa.py

    r1127 r1128  
     1__revision__ = "$Version:$"
    12import os
    23import sys
     
    45from SCons.Script import *
    56
    6 def addCasaLibs(env):
     7def addCasa(env):
    78    casalibs = "casav atnf images ms components coordinates \
    89                lattices fits measures measures_f \
     
    2526        conf.env.Append(CASAARCH = casa[1])
    2627        conf.env.Append(CASAROOT = casa[0])
    27         addCasaLibs(conf.env)
     28        addCasa(conf.env)
    2829        conf.Result('yes')
    2930        return True
    3031    casaarch = 'linux_gnu'
    3132    if sys.platform == 'darwin':
    32         casaarch = darwin
     33        casaarch = 'darwin'
    3334    elif sys.platform == 'linux2' and platform.architecture()[0] == '64bit':
    3435        casaarch = 'linux_64b'
     
    3738        paths = [path]
    3839    for p in paths:
    39         if os.path.isfile(os.path.join(p,casaarch,"lib/libcasa.a")):
     40        if os.path.isfile(os.path.join(p, casaarch, "lib/libcasa.a")):
    4041            conf.env.Append(CASAARCH = casaarch)
    4142            conf.env.Append(CASAROOT = os.path.abspath(p))
    42             addCasaLibs(conf.env)
     43            addCasa(conf.env)
    4344            conf.Result('yes')
    4445            return True
Note: See TracChangeset for help on using the changeset viewer.