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

Contents of /trunk/scons/mole_clang_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4638 - (show annotations)
Thu Jan 30 06:25:10 2014 UTC (5 years, 2 months ago) by jfenwick
File MIME type: text/x-python
File size: 6892 byte(s)
Fixes necessary to get a clang/macports build working on 10.9
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 #cxx = 'g++'
47
48 # Flags to use with the C++ compiler. Do not set unless you know
49 # what you are doing - use cxx_extra to specify additional flags!
50 # DEFAULT: compiler-dependent
51 #cc_flags = ''
52
53 tools_names=['clang']
54
55 # Additional compiler (optimization) flags for non-debug builds
56 # DEFAULT: compiler-dependent
57 #cc_optim = '-O3 -mmmx -msse'
58
59 # Additional compiler flags for debug builds
60 # DEFAULT: compiler-dependent
61 #cc_debug = '-g'
62
63 # Additional flags to add to the C++ compiler
64 # DEFAULT: '' (empty)
65 cxx_extra = '-DBADPYTHONMACROS'
66
67 # Additional flags to add to the linker
68 # DEFAULT: '' (empty)
69 #ld_extra = ''
70
71 # Whether to treat compiler warnings as errors
72 # DEFAULT: True
73 #werror = False
74
75 # Whether to build a debug version
76 # DEFAULT: False
77 #debug = True
78
79 # Set to True to print the full compiler/linker command line
80 # DEFAULT: False
81 #verbose = True
82
83 # Set to True to add flags that enable OpenMP parallelization
84 # DEFAULT: False
85 #openmp = True
86
87 # Additional compiler flags for OpenMP builds
88 # DEFAULT: compiler-dependent
89 #omp_flags = '-fopenmp'
90
91 # Additional linker flags for OpenMP builds
92 # DEFAULT: compiler-dependent
93 #omp_ldflags = '-fopenmp'
94
95 # Flavour of MPI implementation
96 # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
97 # DEFAULT: 'none' (disable MPI)
98 #mpi = 'OPENMPI'
99
100 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
101 #mpi_prefix = '/usr/lib/openmpi'
102
103 # MPI libraries to link against
104 #mpi_libs = ['mpi_cxx', 'mpi', 'open-rte', 'open-pal']
105
106 # Prefix or paths to boost-python headers and libraries. See note above.
107 boost_prefix = '/opt/local'
108
109 # boost-python library/libraries to link against
110 boost_libs = ['boost_python-mt']
111
112 # Prefix or paths to CppUnit headers and libraries. See note above.
113 cppunit_prefix = '/opt/local'
114
115 # CppUnit library/libraries to link against
116 cppunit_libs = ['cppunit']
117
118 # Whether to use the netCDF library for dump file support
119 # DEFAULT: False
120 netcdf = True
121
122 # Prefix or paths to netCDF headers and libraries. See note above.
123 netcdf_prefix = '/opt/local'
124
125 # netCDF library/libraries to link against
126 netcdf_libs = ['netcdf_c++', 'netcdf']
127
128 # Whether to use the parMETIS library (only in conjunction with MPI)
129 # DEFAULT: False
130 #parmetis = True
131
132 # Prefix or paths to parMETIS headers and libraries. See note above.
133 #parmetis_prefix = '/usr/local'
134
135 # parMETIS library/libraries to link against
136 #parmetis_libs = ['parmetis', 'metis']
137
138 # Whether to use the Intel PAPI (Performance API) library
139 # DEFAULT: False
140 #papi = True
141
142 # Prefix or paths to PAPI headers and libraries. See note above.
143 #papi_prefix = '/usr/local'
144
145 # PAPI library/libraries to link against
146 #papi_libs = ['papi']
147
148 # Whether to use PAPI to instrument solver iterations
149 # DEFAULT: False
150 #papi_instrument_solver = True
151
152 # Whether to use Intel MKL (Math Kernel Library)
153 # DEFAULT: False
154 #mkl = True
155
156 # Prefix or paths to MKL headers and libraries. See note above.
157 #mkl_prefix = '/usr'
158
159 # MKL library/libraries to link against
160 #mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide', 'pthread']
161
162 # Whether to use UMFPACK (requires AMD and BLAS)
163 # DEFAULT: False
164 #umfpack = True
165
166 # Prefix or paths to UMFPACK headers and libraries. See note above.
167 #umfpack_prefix = ['/usr/include/suitesparse', '/usr/lib']
168
169 # UMFPACK library/libraries to link against
170 #umfpack_libs = ['umfpack']
171
172 # Whether to use BoomerAMG (requires MPI)
173 # DEFAULT: False
174 #boomeramg = True
175
176 # Prefix or paths to BoomerAMG headers and libraries. See note above.
177 #boomeramg_prefix = '/usr/local'
178
179 # BoomerAMG library/libraries to link against
180 #boomeramg_libs = ['HYPRE']
181
182 # Flavour of LAPACK implementation
183 # Recognized values: 'none', 'clapack', 'mkl'
184 # DEFAULT: 'none' (do not use LAPACK)
185 #lapack = 'clapack'
186
187 # Prefix or paths to LAPACK headers and libraries. See note above.
188 #lapack_prefix = '/usr/local'
189
190 # LAPACK library/libraries to link against
191 #lapack_libs = ['lapack_atlas']
192
193 # Whether to use LLNL's SILO library for Silo output file support in weipa
194 # DEFAULT: False
195 #silo = True
196
197 # Prefix or paths to SILO headers and libraries. See note above.
198 #silo_prefix = '/usr/local'
199
200 # SILO library/libraries to link against
201 #silo_libs = ['siloh5', 'hdf5']
202
203 # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
204 # DEFAULT: False
205 #visit = True
206
207 # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
208 #visit_prefix = '/opt/visit/2.1.0/linux-intel/libsim/V2'
209
210 # Sim2 library/libraries to link against
211 #visit_libs = ['simV2']
212
213 # Build dynamic libraries only
214 #DEFAULT: False
215 #build_shared = True
216
217 # work around for Python2.7 on OSX/BSD
218 #DEFAULT: True
219 #BADPYTHONMACROS = False
220
221 ### ADVANCED OPTIONS ###
222 # Do not change the following options unless you know what they do
223
224 # Use intel's VSL library for random data
225 # DEFAULT: False
226 #vsl_random = True
227
228 # Extra libraries to link with
229 #sys_libs = []
230
231 # Additional environmental variables to export to the tools
232 #env_export = []
233
234 #tools_names = ['default']
235 tools_names = ['clang']
236
237 #iknowwhatimdoing = False
238
239 #forcelazy = 'leave_alone'
240
241 #forcecollres = 'leave_alone'
242

  ViewVC Help
Powered by ViewVC 1.1.26