/[escript]/trunk/finley/SConstruct
ViewVC logotype

Contents of /trunk/finley/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 425 - (show annotations)
Tue Jan 10 04:10:39 2006 UTC (17 years, 2 months ago) by gross
File size: 1118 byte(s)
The sparse solver can be called by paso now. 

the building has been change to reduce some code redundancy:
now all scons SCscripts are importing scons/esys_options.py which
imports platform specific settings. 



1 # Scons configuration file for finley
2 esysroot=str(Dir('./..').abspath)
3 execfile(str(File(esysroot+"/scons/esys_options.py")))
4
5 solver_libs=mkl_libs+scsl_libs+umfpack_libs
6 solver_lib_paths=[mkl_lib_path,scsl_lib_path,umfpack_lib_path]
7
8 pydir = Dir(str(esysroot) + '/finley/lib/py_src')
9 Export(["pydir"])
10 pydir2 = Dir(str(esysroot) + '/esys/finley')
11 Export(["pydir2"])
12
13 Export(["python_path"])
14 Export(["boost_path"])
15 Export(["cxx"])
16 Export(["cc"])
17 Export(["cxx_flags"])
18 Export(["cc_flags"])
19 Export(["boost_lib_path"])
20 Export(["boost_lib"])
21 Export(["sys_libs"])
22 Export(["solver_libs"])
23 Export(["solver_lib_paths"])
24
25 #
26 # print out build configuration for this module
27
28 print "Build configuration for module: finley"
29 print " cc: ", cc
30 print " cc_flags: ", cc_flags
31 print " cxx: ", cxx
32 print " cxx_flags: ", cxx_flags
33
34 #
35 # call the SConscript to do the actual build
36
37 SConscript(dirs=['src/finley'], build_dir='obj/finley', duplicate=0)
38 SConscript(dirs=['py_src'], build_dir='obj/py_src', duplicate=0)
39 SConscript(dirs=['test/MeshAdapter'], build_dir='obj/test/MeshAdapter', duplicate=0)

  ViewVC Help
Powered by ViewVC 1.1.26