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

Annotation of /trunk/finley/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.26