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

Annotation of /trunk/finley/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 454 - (hide annotations)
Tue Jan 24 01:34:31 2006 UTC (13 years, 7 months ago) by jgs
File size: 1319 byte(s)
replace libdir default settings - SConstruct was broken without them

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 454 #
9     # set and export library directories
10    
11     libdir = Dir(str(esysroot) + '/finley/lib')
12     Export(["libdir"])
13     libdir2 = Dir(str(esysroot) + '/lib')
14     Export(["libdir2"])
15    
16     #
17     # set and export python directories
18    
19 jgs 268 pydir = Dir(str(esysroot) + '/finley/lib/py_src')
20     Export(["pydir"])
21 jgs 288 pydir2 = Dir(str(esysroot) + '/esys/finley')
22     Export(["pydir2"])
23 jgs 268
24 jgs 214 Export(["python_path"])
25     Export(["boost_path"])
26 jgs 223 Export(["cxx"])
27     Export(["cc"])
28 jgs 191 Export(["cxx_flags"])
29     Export(["cc_flags"])
30 jgs 277 Export(["boost_lib_path"])
31     Export(["boost_lib"])
32     Export(["sys_libs"])
33     Export(["solver_libs"])
34 gross 425 Export(["solver_lib_paths"])
35 jgs 191
36 jgs 214 #
37     # print out build configuration for this module
38    
39     print "Build configuration for module: finley"
40 jgs 223 print " cc: ", cc
41 gross 425 print " cc_flags: ", cc_flags
42 jgs 223 print " cxx: ", cxx
43 gross 425 print " cxx_flags: ", cxx_flags
44 jgs 214
45     #
46     # call the SConscript to do the actual build
47    
48 jgs 268 SConscript(dirs=['src/finley'], build_dir='obj/finley', duplicate=0)
49     SConscript(dirs=['py_src'], build_dir='obj/py_src', duplicate=0)
50 jgs 288 SConscript(dirs=['test/MeshAdapter'], build_dir='obj/test/MeshAdapter', duplicate=0)

  ViewVC Help
Powered by ViewVC 1.1.26