/[escript]/trunk/scons/os/macports_options.py
ViewVC logotype

Contents of /trunk/scons/os/macports_options.py

Parent Directory Parent Directory | Revision Log Revision Log


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

  ViewVC Help
Powered by ViewVC 1.1.26