/[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 5938 - (show annotations)
Thu Feb 18 06:30:35 2016 UTC (3 years, 4 months ago) by jfenwick
File MIME type: text/x-python
File size: 6957 byte(s)
Merging from 5937 on the complex branch

Some parts of complex work but all of it is
not unit tested and it is certainly not feature
complete (I haven't put any time into dealing with
subworld for complex).

The other important aspect of this merge is that
c++11 is now required to build escript.


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

  ViewVC Help
Powered by ViewVC 1.1.26