/[escript]/trunk/scons/cognac_options.py
ViewVC logotype

Annotation of /trunk/scons/cognac_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 682 - (hide annotations)
Mon Mar 27 02:43:09 2006 UTC (13 years, 5 months ago) by robwdcock
File MIME type: text/x-python
File size: 1446 byte(s)
+ NEW BUILD SYSTEM

This commit contains the new build system with cross-platform support.
Most things work are before though you can have more control.

ENVIRONMENT settings have changed:
+ You no longer require LD_LIBRARY_PATH or PYTHONPATH to point to the
esysroot for building and testing performed via scons
+ ACcESS altix users: It is recommended you change your modules to load
the latest intel compiler and other libraries required by boost to match
the setup in svn (you can override). The correct modules are as follows

module load intel_cc.9.0.026
export
MODULEPATH=${MODULEPATH}:/data/raid2/toolspp4/modulefiles/gcc-3.3.6
module load boost/1.33.0/python-2.4.1
module load python/2.4.1
module load numarray/1.3.3


1 elspeth 645 # Copyright 2006 by ACcESS MNRF
2     #
3     # http://www.access.edu.au
4     # Primary Business: Queensland, Australia
5     # Licensed under the Open Software License version 3.0
6     # http://www.opensource.org/licenses/osl-3.0.php
7     #
8    
9    
10 robwdcock 551 # locations of libs etc used by mkl
11     mkl_path = '/opt/intel_mkl/8.0.19/include'
12     mkl_lib_path = '/opt/intel_mkl/8.0.19/lib/64'
13     mkl_libs = ['mkl_solver', 'mkl_lapack', 'mkl_ipf']
14    
15     # locations of libs etc used by SCSL
16 robwdcock 682 scsl_path = '/opt/scsl/1.6.1.0/include'
17     scsl_lib_path = '/opt/scsl/1.6.1.0/lib'
18 robwdcock 551 scsl_libs = ['scs_mp']
19    
20     # locations of include files for python
21     python_path = '/usr/include/python2.3'
22     python_lib = 'python2.3'
23    
24     # locations of libraries for boost
25     boost_path = '/home/woo409/dev/boost_1_33_1'
26     boost_lib_path = '/home/woo409/dev/boost_1_33_1/altix_binary/lib'
27     boost_lib = 'boost_python-il-mt-1_33_1'
28    
29     # c flags to use
30     cc_flags = '-O3 -fpic -IPF_fma -ftz -openmp -openmp_report0 -mp1 -tpp2 -c99 -ansi_alias -w1'
31     cc_flags_debug = '-g -O0 -fpic -openmp -openmp_report0 -tpp2 -c99 -ansi_alias -w1'
32    
33 robwdcock 682 # c++ flags to use - only need to list the additional ones compared with cc_flags
34     cxx_flags = '-ansi'
35     cxx_flags_debug = '-ansi -DDOASSERT -DDOPROF'
36 robwdcock 551
37     # system specific libraries to link with
38     sys_libs = ['guide', 'irc']

  ViewVC Help
Powered by ViewVC 1.1.26