1 |
jgs |
214 |
# Scons configuration file for paso |
2 |
gross |
425 |
esysroot=str(Dir('./..').abspath) |
3 |
|
|
execfile(str(File(esysroot+"/scons/esys_options.py"))) |
4 |
jgs |
288 |
# set and export library directories |
5 |
jgs |
214 |
|
6 |
jgs |
190 |
libdir = Dir(str(esysroot) + '/paso/lib') |
7 |
jgs |
187 |
Export(["libdir"]) |
8 |
jgs |
288 |
libdir2 = Dir(str(esysroot) + '/lib') |
9 |
|
|
Export(["libdir2"]) |
10 |
jgs |
187 |
|
11 |
jgs |
214 |
# |
12 |
|
|
# load and export configuration settings |
13 |
|
|
|
14 |
gross |
425 |
Export(["scsl_path","scsl_libs"]) |
15 |
|
|
Export(["mkl_path","mkl_libs"]) |
16 |
|
|
Export(["umfpack_path","umfpack_libs"]) |
17 |
jgs |
191 |
Export(["python_path"]) |
18 |
|
|
Export(["boost_path"]) |
19 |
jgs |
223 |
Export(["cc"]) |
20 |
jgs |
214 |
Export(["cc_flags"]) |
21 |
|
|
Export(["ar_flags"]) |
22 |
jgs |
191 |
|
23 |
jgs |
214 |
# |
24 |
|
|
# print out build configuration for this module |
25 |
jgs |
191 |
|
26 |
jgs |
214 |
print "Build configuration for module: paso" |
27 |
jgs |
223 |
print " cc: ", cc |
28 |
gross |
425 |
print " cc_flags: ", cc_flags |
29 |
jgs |
214 |
# call the SConscript to do the actual build |
30 |
jgs |
199 |
|
31 |
jgs |
187 |
SConscript('src/SConscript', src_dir='src', build_dir='obj', duplicate=0) |