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

Contents of /trunk/paso/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 425 - (show annotations)
Tue Jan 10 04:10:39 2006 UTC (14 years, 4 months ago) by gross
File size: 822 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 paso
2 esysroot=str(Dir('./..').abspath)
3 execfile(str(File(esysroot+"/scons/esys_options.py")))
4 # set and export library directories
5
6 libdir = Dir(str(esysroot) + '/paso/lib')
7 Export(["libdir"])
8 libdir2 = Dir(str(esysroot) + '/lib')
9 Export(["libdir2"])
10
11 #
12 # load and export configuration settings
13
14 Export(["scsl_path","scsl_libs"])
15 Export(["mkl_path","mkl_libs"])
16 Export(["umfpack_path","umfpack_libs"])
17 Export(["python_path"])
18 Export(["boost_path"])
19 Export(["cc"])
20 Export(["cc_flags"])
21 Export(["ar_flags"])
22
23 #
24 # print out build configuration for this module
25
26 print "Build configuration for module: paso"
27 print " cc: ", cc
28 print " cc_flags: ", cc_flags
29 # call the SConscript to do the actual build
30
31 SConscript('src/SConscript', src_dir='src', build_dir='obj', duplicate=0)

  ViewVC Help
Powered by ViewVC 1.1.26