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

Contents of /trunk/scons/gcc_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 682 - (show annotations)
Mon Mar 27 02:43:09 2006 UTC (13 years, 3 months ago) by robwdcock
File MIME type: text/x-python
File size: 1232 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
2 # Copyright 2006 by ACcESS MNRF
3 #
4 # http://www.access.edu.au
5 # Primary Business: Queensland, Australia
6 # Licensed under the Open Software License version 3.0
7 # http://www.opensource.org/licenses/osl-3.0.php
8 #
9
10
11 import sys
12
13 # locations of include files for python
14 python_path = "/usr/include/python%s.%s"%(sys.version_info[0],sys.version_info[1])
15 python_lib_path = '/usr/lib'
16 python_lib = "python%s.%s"%(sys.version_info[0],sys.version_info[1])
17
18 # locations of libraries for boost
19 boost_path = '/usr/include'
20 boost_lib_path = '/usr/lib'
21 boost_lib = 'boost_python'
22
23 # locations of doc building executables
24 doxygen_path = '/usr/bin'
25 epydoc_path = '/usr/bin'
26
27 # c flags to use
28 cc_flags = '-O3 -std=c99 -fpic --no-warn -W -Wno-unknown-pragmas'
29 cc_flags_debug = '-g -O0 -std=c99 -fpic --no-warn -W -Wno-unknown-pragmas'
30
31 # c++ flags to use
32 cxx_flags = '-ansi'
33 cxx_flags_debug = '-ansi -DDOASSERT -DDOPROF'
34
35 # static library archiver flags to use
36 #ar_flags = 'crus'
37
38 # system specific libraries to link with
39 #sys_libs = []

  ViewVC Help
Powered by ViewVC 1.1.26