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) |