/[ascend]/trunk/base/generic/linear/SConscript
ViewVC logotype

Contents of /trunk/base/generic/linear/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1786 - (show annotations) (download)
Sat Jun 7 06:17:35 2008 UTC (11 years, 9 months ago) by jpye
File size: 696 byte(s)
Fixed for missing libpython (DistutilsPlatformError).
Fixed several env.Copy() warnings.
Removed swig 'SideEffect' statement for current SCons swig tool.
1 Import('libascend_env')
2
3 csrcs = Split("""
4 densemtx.c
5 linsolqr.c linutils.c
6 mtx_basic.c mtx_linal.c mtx_perms.c mtx_query.c
7 mtx_reorder.c mtx_use_only.c mtx_vector.c
8 mtx_csparse.c
9 ranki.c
10 rankiba2.c
11 ranki2.c
12 plainqr.c
13 """)
14
15 solver_env = libascend_env.Clone()
16 if solver_env.get('WITH_MMIO'):
17 solver_env.Append(CPPPATH=["#/mmio"])
18
19 objs = []
20
21 for c in csrcs:
22 objs += solver_env.SharedObject(c)
23
24 #--------------------
25 # INSTALL
26
27 import glob
28
29 if libascend_env.get('CAN_INSTALL'):
30 installdir = libascend_env['INSTALL_ROOT']+libascend_env['INSTALL_INCLUDE']+'/linear'
31
32 headers = glob.glob("*.h")
33 libascend_env.InstallHeader(installdir,headers)
34
35 Return('objs')
36
37 # vim: set syntax=python:
38

john.pye@anu.edu.au
ViewVC Help
Powered by ViewVC 1.1.22