6 |
# this is the general set up for the esys scons system: |
# this is the general set up for the esys scons system: |
7 |
libinstall = None |
libinstall = None |
8 |
pyinstall = None |
pyinstall = None |
9 |
|
incinstall = None |
10 |
dodebug = 0 |
dodebug = 0 |
11 |
|
|
12 |
# locations of libs etc used by mkl |
# locations of libs etc used by mkl |
26 |
|
|
27 |
# locations of include files for python |
# locations of include files for python |
28 |
python_path = Dir('/usr/include') |
python_path = Dir('/usr/include') |
29 |
python_lib_path =Dir('/usr/lib') |
python_lib_path = Dir('/usr/lib') |
30 |
python_lib = Library('python2.3') |
python_lib = Library('python2.3') |
31 |
|
|
32 |
# locations of libraries for boost |
# locations of libraries for boost |
33 |
boost_path =Dir('/usr/include') |
boost_path = Dir('/usr/include') |
34 |
boost_lib_path =Dir('/usr/lib') |
boost_lib_path = Dir('/usr/lib') |
35 |
boost_lib = Library('boost_python') |
boost_lib = Library('boost_python') |
36 |
|
|
37 |
|
# locations of doc building executables |
38 |
|
doxygen_path = '' |
39 |
|
epydoc_path = '' |
40 |
|
|
41 |
# names of c and c++ compilers to use |
# names of c and c++ compilers to use |
42 |
cc = 'gcc' |
cc = 'gcc' |
43 |
cxx = 'g++' |
cxx = 'g++' |
75 |
options = None |
options = None |
76 |
if ARGUMENTS.get('libinstall',0): libinstall = ARGUMENTS.get('libinstall',0) |
if ARGUMENTS.get('libinstall',0): libinstall = ARGUMENTS.get('libinstall',0) |
77 |
if ARGUMENTS.get('pyinstall',0): pyinstall = ARGUMENTS.get('pyinstall',0) |
if ARGUMENTS.get('pyinstall',0): pyinstall = ARGUMENTS.get('pyinstall',0) |
78 |
|
if ARGUMENTS.get('incinstall',0): pyinstall = ARGUMENTS.get('incinstall',0) |
79 |
if ARGUMENTS.get('debug',0): dodebug = 1 |
if ARGUMENTS.get('debug',0): dodebug = 1 |
80 |
if ARGUMENTS.get('options',0): options = ARGUMENTS.get('options',0) |
if ARGUMENTS.get('options',0): options = ARGUMENTS.get('options',0) |
81 |
if ARGUMENTS.get('usegcc',0): usegcc = 1 |
if ARGUMENTS.get('usegcc',0): usegcc = 1 |
108 |
cxx_flags=cxx_flags_debug |
cxx_flags=cxx_flags_debug |
109 |
cc_flags=cc_flags_debug |
cc_flags=cc_flags_debug |
110 |
|
|
111 |
|
# |
112 |
|
# export configuration variables |
113 |
Export(["esysroot"]) |
Export(["esysroot"]) |
114 |
Export(["libinstall"]) |
Export(["libinstall"]) |
115 |
Export(["pyinstall"]) |
Export(["pyinstall"]) |
116 |
|
Export(["incinstall"]) |