/[escript]/branches/ROBW_XPLATFORM/scons/cognac_options.py
ViewVC logotype

Contents of /branches/ROBW_XPLATFORM/scons/cognac_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 623 - (show annotations)
Wed Mar 22 14:11:03 2006 UTC (17 years ago) by robwdcock
File MIME type: text/x-python
File size: 1122 byte(s)
Beginning of a fully cross-platform (win32+intelc, linux+g++, altix+intelc)
scons build system
WORK IN PROGRESS NOT COMPLETE
+Incorporates ideas from trunks scons build system and the RW_WIN32 branch
+New Header layout as include/<modulename>, hence the changes to the headers
+Not all modules or features from trunk build system are fully implemented
-Removes need for intermediary SConstruct files - the top SConstruct is more complex but handle cross-platform better AND the SConscript are a LOT simpler
and only differ slightly. It should be simpler to maintain
-Options are now handled via either a: config file supplied on command line, a config file in the scons/hostname_options.py, or as individual command line arguments
-Need help with options: scons -h will give you a list of options and their current settings


1 # locations of libs etc used by mkl
2 mkl_path = '/opt/intel_mkl/8.0.19/include'
3 mkl_lib_path = '/opt/intel_mkl/8.0.19/lib/64'
4 mkl_libs = ['mkl_solver', 'mkl_lapack', 'mkl_ipf']
5
6 # locations of libs etc used by SCSL
7 scsl_path = '/opt/scsl/1.6.1.0/include'
8 scsl_lib_path = '/opt/scsl/1.6.1.0/lib'
9 scsl_libs = ['scs_mp']
10 # locations of libs etc used by UMFPACK
11
12 # locations of include files for python
13 python_path = '/usr/include/python2.3'
14 python_lib = 'python2.3'
15
16 # locations of libraries for boost
17 boost_path = '/home/woo409/dev/boost_1_33_1'
18 boost_lib_path = '/home/woo409/dev/boost_1_33_1/altix_binary/lib'
19 boost_lib = 'boost_python-il-mt-1_33_1'
20
21 # c flags to use
22 cc_flags = '-O3 -fpic -IPF_fma -ftz -openmp -openmp_report0 -mp1 -tpp2 -c99 -ansi_alias -w1'
23 cc_flags_debug = '-g -O0 -fpic -openmp -openmp_report0 -tpp2 -c99 -ansi_alias -w1'
24
25 # c++ flags to use - only need to list the additional ones compared with cc_flags
26 cxx_flags = '-ansi'
27 cxx_flags_debug = '-ansi -DDOASSERT -DDOPROF'
28
29 # system specific libraries to link with
30 sys_libs = ['guide', 'irc']
31
32 # FIXME: OLD STUFF TO BE REMOVED
33 cc = 'icc'
34 cxx = 'icpc'

  ViewVC Help
Powered by ViewVC 1.1.26