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

Annotation of /trunk/paso/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 584 - (hide annotations)
Thu Mar 9 23:03:38 2006 UTC (15 years, 1 month ago) by gross
File size: 1144 byte(s)
eigenvalues: compiles and passes tests on altix now
1 jgs 214 # Scons configuration file for paso
2 jgs 455
3     #
4     # set appropriate configuration variable defaults
5    
6 gross 425 esysroot=str(Dir('./..').abspath)
7     execfile(str(File(esysroot+"/scons/esys_options.py")))
8 jgs 214
9 gross 425 Export(["scsl_path","scsl_libs"])
10     Export(["mkl_path","mkl_libs"])
11     Export(["umfpack_path","umfpack_libs"])
12 gross 584 Export(["papi_path","papi_libs"])
13 jgs 191 Export(["python_path"])
14     Export(["boost_path"])
15 gross 584 Export(["papi_path"])
16 jgs 223 Export(["cc"])
17 jgs 214 Export(["cc_flags"])
18     Export(["ar_flags"])
19 jgs 481 Export(["libinstall"])
20     Export(["incinstall"])
21 jgs 191
22 jgs 455 # set and export library directories
23    
24     libdir = Dir(str(esysroot) + '/paso/lib')
25     Export(["libdir"])
26     libdir2 = Dir(str(esysroot) + '/lib')
27     Export(["libdir2"])
28    
29 jgs 214 #
30 jgs 481 # set and export include directories
31    
32     incdir = Dir(str(esysroot) + '/paso/inc')
33     Export(["incdir"])
34     incdir2 = Dir(str(esysroot) + '/inc')
35     Export(["incdir2"])
36     if incinstall != None:
37     Export(["incinstall"])
38    
39     #
40 jgs 214 # print out build configuration for this module
41 jgs 191
42 jgs 214 print "Build configuration for module: paso"
43 jgs 223 print " cc: ", cc
44 gross 425 print " cc_flags: ", cc_flags
45 jgs 455
46 jgs 214 # call the SConscript to do the actual build
47 jgs 199
48 jgs 187 SConscript('src/SConscript', src_dir='src', build_dir='obj', duplicate=0)

  ViewVC Help
Powered by ViewVC 1.1.26