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

Annotation of /trunk/scons/shake59_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 3349 - (hide annotations)
Mon Nov 15 05:09:56 2010 UTC (9 years ago) by caltinay
File MIME type: text/x-python
File size: 6345 byte(s)
escript now supports out-of-tree builds.
All build and test files are now created under a user-definable build_dir
directory.
This also fixes issue 291.
Removed most svn:ignore props since they are no longer required.

1 ksteube 1686
2 ksteube 1810 ########################################################
3 ksteube 1686 #
4 jfenwick 2881 # Copyright (c) 2003-2010 by University of Queensland
5 ksteube 1810 # Earth Systems Science Computational Center (ESSCC)
6     # http://www.uq.edu.au/esscc
7 ksteube 1686 #
8 ksteube 1810 # Primary Business: Queensland, Australia
9     # Licensed under the Open Software License version 3.0
10     # http://www.opensource.org/licenses/osl-3.0.php
11     #
12     ########################################################
13 ksteube 1686
14 jfenwick 3259 # PREFIXES:
15     # There are two ways to specify where to find dependent headers and libraries
16     # (via the <dependency>_prefix):
17     # 1) If your installation follows the general scheme where headers are located
18     # in <prefix>/include[32,64], and libraries in <prefix>/lib[32,64] then
19     # it is sufficient to specify this prefix, e.g. boost_prefix='C:/python'
20     # 2) Otherwise provide a list with two elements, where the first one is the
21     # include path, and the second the library path, e.g.
22     # boost_prefix=['C:/boost/include/boost1_44', 'C:/boost/lib']
23     # All <dependency>_prefix settings default to '/usr' so have to be set
24     # manually on Windows.
25 ksteube 1810
26 jfenwick 3259 # The options file version. SCons will refuse to build if there have been
27     # changes to the set of variables and your file has not been updated.
28     # This setting is mandatory.
29     escript_opts_version = 200
30 ksteube 1686
31 jfenwick 3259 # Installation prefix. Files will be installed in subdirectories underneath.
32     # DEFAULT: '.' (current directory)
33     #prefix = 'C:/escript'
34 ksteube 1686
35 caltinay 3349 # Top-level directory for intermediate build and test files.
36     # DEFAULT: 'build'
37     #build_dir = 'build'
38    
39 jfenwick 3259 # C compiler command name or full path.
40     # DEFAULT: auto-detected
41     #cc = 'gcc'
42 ksteube 1699
43 jfenwick 3259 # C++ compiler command name or full path.
44     # DEFAULT: auto-detected
45     #cxx = 'g++'
46 ksteube 1687
47 jfenwick 3259 # Flags to use with both C and C++ compilers. Do not set unless you know
48     # what you are doing - use cc_extra to specify additional flags!
49     # DEFAULT: compiler-dependent
50     #cc_flags = ''
51 ksteube 1686
52 jfenwick 3259 # Additional compiler (optimization) flags for non-debug builds
53     # DEFAULT: compiler-dependent
54     #cc_optim = '/O2 /Op /W3'
55 ksteube 1686
56 jfenwick 3259 # Additional compiler flags for debug builds
57     # DEFAULT: compiler-dependent
58     #cc_debug = '/Od /RTCcsu /ZI /DBOUNDS_CHECK'
59 ksteube 1686
60 jfenwick 3259 # Additional flags to add to the C compiler only
61     # DEFAULT: '' (empty)
62     #cc_extra = ''
63 ksteube 1686
64 jfenwick 3259 # Additional flags to add to the C++ compiler only
65     # DEFAULT: '' (empty)
66     #cxx_extra = ''
67 ksteube 1686
68 jfenwick 3259 # Additional flags to add to the linker
69     # DEFAULT: '' (empty)
70     #ld_extra = ''
71 ksteube 1686
72 jfenwick 3259 # Whether to treat compiler warnings as errors
73     # DEFAULT: True
74     werror = False
75 ksteube 1686
76 jfenwick 3259 # Whether to build a debug version
77     # DEFAULT: False
78     #debug = True
79 ksteube 1686
80 jfenwick 3259 # Set to True to print the full compiler/linker command line
81     # DEFAULT: False
82     verbose = True
83 ksteube 1686
84 jfenwick 3259 # Set to True to add flags that enable OpenMP parallelization
85     # DEFAULT: False
86     #openmp = True
87 ksteube 1686
88 jfenwick 3259 # Additional compiler flags for OpenMP builds
89     # DEFAULT: compiler-dependent
90     #omp_flags = '/Qopenmp /Qparallel'
91 ksteube 1686
92 jfenwick 3259 # Additional linker flags for OpenMP builds
93     # DEFAULT: compiler-dependent
94     #omp_ldflags = '/Qopenmp /Qparallel'
95 ksteube 1686
96 jfenwick 3259 # Flavour of MPI implementation
97     # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
98     # DEFAULT: 'none' (disable MPI)
99     #mpi = 'MPICH2'
100 ksteube 1686
101 jfenwick 3259 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
102     #mpi_prefix = 'C:/MPICH2'
103 ksteube 1686
104 jfenwick 3259 # MPI libraries to link against
105     #mpi_libs = ['mpi']
106 ksteube 1686
107 jfenwick 3259 # Prefix or paths to boost-python headers and libraries. See note above.
108     boost_prefix = ['C:/Temp/boost_1_33', 'C:/Temp/boost_1_33/windows_binary/lib']
109 ksteube 1686
110 jfenwick 3259 # boost-python library/libraries to link against
111     boost_libs = ['boost_python-vc71-mt-1_33']
112    
113     # Whether to use the netCDF library for dump file support
114     # DEFAULT: False
115     #netcdf = True
116    
117     # Prefix or paths to netCDF headers and libraries. See note above.
118     #netcdf_prefix = 'C:/netcdf'
119    
120     # netCDF library/libraries to link against
121     #netcdf_libs = ['netcdf_cpp', 'netcdf']
122    
123     # Whether to use the parMETIS library (only in conjunction with MPI)
124     # DEFAULT: False
125     #parmetis = True
126    
127     # Prefix or paths to parMETIS headers and libraries. See note above.
128     #parmetis_prefix = 'C:/parmetis'
129    
130     # parMETIS library/libraries to link against
131     #parmetis_libs = ['parmetis', 'metis']
132    
133     # Whether to use the Intel PAPI (Performance API) library
134     # DEFAULT: False
135     #papi = True
136    
137     # Prefix or paths to PAPI headers and libraries. See note above.
138     #papi_prefix = 'C:/papi'
139    
140     # PAPI library/libraries to link against
141     #papi_libs = ['papi']
142    
143     # Whether to use PAPI to instrument solver iterations
144     # DEFAULT: False
145     #papi_instrument_solver = True
146    
147     # Whether to use Intel MKL (Math Kernel Library)
148     # DEFAULT: False
149     #mkl = True
150    
151     # Prefix or paths to MKL headers and libraries. See note above.
152     #mkl_prefix = 'C:/mkl'
153    
154     # MKL library/libraries to link against
155     #mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide']
156    
157     # Whether to use UMFPACK (requires AMD and BLAS)
158     # DEFAULT: False
159     #umfpack = True
160    
161     # Prefix or paths to UMFPACK headers and libraries. See note above.
162     #umfpack_prefix = 'C:/umfpack'
163    
164     # UMFPACK library/libraries to link against
165     #umfpack_libs = ['umfpack']
166    
167     # Flavour of LAPACK implementation
168     # Recognized values: 'none', 'clapack', 'mkl'
169     # DEFAULT: 'none' (do not use LAPACK)
170     #lapack = 'clapack'
171    
172     # Prefix or paths to LAPACK headers and libraries. See note above.
173     #lapack_prefix = 'C:/lapack'
174    
175     # LAPACK library/libraries to link against
176     #lapack_libs = ['lapack_atlas']
177    
178     # Whether to use LLNL's SILO library for Silo output file support in weipa
179     # DEFAULT: False
180     #silo = True
181    
182     # Prefix or paths to SILO headers and libraries. See note above.
183     #silo_prefix = 'C:/silo'
184    
185     # SILO library/libraries to link against
186     #silo_libs = ['siloh5', 'hdf5']
187    
188     # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
189     # DEFAULT: False
190     #visit = True
191    
192     # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
193     #visit_prefix = 'C:/visit/2.1.0/linux-intel/libsim/V2'
194    
195     # Sim2 library/libraries to link against
196     #visit_libs = ['simV2']
197    
198     # Whether to enable the deprecated PyVisi interface (requires the VTK python
199     # modules)
200     # DEFAULT: False
201     #pyvisi = True
202    
203    
204     ### ADVANCED OPTIONS ###
205     # Do not change the following options unless you know what they do
206    
207     # Extra libraries to link with
208     #sys_libs = ['ws2_32']
209    
210     # Additional environmental variables to export to the tools
211     #env_export = []
212    
213     # Build a shared esysUtils library
214     #share_esysutils = True
215    
216     # Build a shared paso library
217     #share_paso = True
218    
219     #tools_names = ['msvc']
220    
221     #iknowwhatimdoing = False
222    
223     #forcelazy = 'leave_alone'
224    
225     #forcecollres = 'leave_alone'
226    

  ViewVC Help
Powered by ViewVC 1.1.26