/[escript]/branches/doubleplusgood/scons/mole_clang_options.py
ViewVC logotype

Contents of /branches/doubleplusgood/scons/mole_clang_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4257 - (show annotations)
Wed Feb 27 03:42:40 2013 UTC (6 years, 1 month ago) by jfenwick
File MIME type: text/x-python
File size: 7192 byte(s)
Some simple experiments for c++ Finley

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

  ViewVC Help
Powered by ViewVC 1.1.26