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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 623 - (hide annotations)
Wed Mar 22 14:11:03 2006 UTC (15 years, 2 months 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 robwdcock 551 # 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 robwdcock 623 scsl_path = '/opt/scsl/1.6.1.0/include'
8     scsl_lib_path = '/opt/scsl/1.6.1.0/lib'
9 robwdcock 551 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 robwdcock 623 # 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 robwdcock 551
29     # system specific libraries to link with
30     sys_libs = ['guide', 'irc']
31 robwdcock 623
32     # FIXME: OLD STUFF TO BE REMOVED
33     cc = 'icc'
34     cxx = 'icpc'

  ViewVC Help
Powered by ViewVC 1.1.26