Changeset 3034 for trunk/SConstruct


Ignore:
Timestamp:
04/01/15 10:35:15 (10 years ago)
Author:
Malte Marquarding
Message:

Remove reference to libpryap (scons). use casacore_python from now on

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/SConstruct

    r3031 r3034  
    111111            Exit(1)
    112112
    113     if env["enable_pyrap"]:
    114         conf.env.AddCustomPackage('pyrap')
    115         if conf.CheckLib(conf.env["pyraplib"], language='c++', autoadd=0):
    116             conf.env.PrependUnique(LIBS=env['pyraplib'])
    117         else:
    118             Exit(1)
    119     else:
    120         conf.env.AppendUnique(CPPPATH=[conf.env["numpyincdir"]])
    121         if conf.CheckHeader("numpy/numpyconfig.h"):
    122             conf.env.Append(CPPDEFINES=["-DAIPS_USENUMPY"])
    123         else:
    124             conf.env.Exit(1)
    125         # compile in pyrap from here...
    126         conf.env["pyrapint"] = "#/external/libpyrap/pyrap-0.3.2"
    127     conf.env.Append(CPPFLAGS=['-DHAVE_LIBPYRAP'])
    128 
    129113    if not conf.CheckLib("m"):
    130114        Exit(1)
     
    163147            conf.env.AppendUnique(CPPPATH=[pth,pth+'/..'])
    164148            break
    165     cclibs = ["casa_images", "casa_ms", #"casa_components",
     149    cclibs = ["casa_python", "casa_images", "casa_ms",
    166150              "casa_coordinates", "casa_lattices",
    167151              "casa_fits", "casa_measures", "casa_scimath",
Note: See TracChangeset for help on using the changeset viewer.