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

Contents of /trunk/paso/SConstruct

Parent Directory Parent Directory | Revision Log Revision Log


Revision 643 - (show annotations)
Fri Mar 24 00:28:41 2006 UTC (13 years, 3 months ago) by elspeth
File size: 1566 byte(s)
More copyright info added.

1 # Scons configuration file for paso
2
3 # Copyright 2006 by ACcESS MNRF
4 #
5 # http://www.access.edu.au
6 # Primary Business: Queensland, Australia
7 # Licensed under the Open Software License version 3.0
8 # http://www.opensource.org/licenses/osl-3.0.php
9 #
10 #
11 #
12 # set appropriate configuration variable defaults
13
14 esysroot=str(Dir('./..').abspath)
15 execfile(str(File(esysroot+"/scons/esys_options.py")))
16
17 Export(["scsl_path","scsl_libs"])
18 Export(["mkl_path","mkl_libs"])
19 Export(["umfpack_path","umfpack_libs"])
20 Export(["papi_path","papi_libs"])
21 Export(["python_path"])
22 Export(["boost_path"])
23 Export(["papi_path"])
24 Export(["cc"])
25 Export(["cc_flags"])
26 Export(["ar_flags"])
27 Export(["libinstall"])
28 Export(["incinstall"])
29
30 # set and export library directories
31
32 libdir = Dir(str(esysroot) + '/paso/lib')
33 Export(["libdir"])
34 libdir2 = Dir(str(esysroot) + '/lib')
35 Export(["libdir2"])
36
37 #
38 # set and export include directories
39
40 incdir = Dir(str(esysroot) + '/paso/inc')
41 Export(["incdir"])
42 incdir2 = Dir(str(esysroot) + '/inc')
43 Export(["incdir2"])
44 if incinstall != None:
45 Export(["incinstall"])
46
47 #
48 # print out build configuration for this module
49
50 print "Build configuration for module: paso"
51 print " cc: ", cc
52 print " cc_flags: ", cc_flags
53
54 # call the SConscript to do the actual build
55
56 SConscript('src/SConscript', src_dir='src', build_dir='obj', duplicate=0)

  ViewVC Help
Powered by ViewVC 1.1.26