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

Contents of /branches/doubleplusgood/scons/windows_msvc90_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: 7647 byte(s)
Some simple experiments for c++ Finley

1
2 ##############################################################################
3 #
4 # Copyright (c) 2003-2013 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 import os
17
18 # PREFIXES:
19 # There are two ways to specify where to find dependent headers and libraries
20 # (via the <dependency>_prefix):
21 # 1) If your installation follows the general scheme where headers are located
22 # in <prefix>/include[32,64], and libraries in <prefix>/lib[32,64] then
23 # it is sufficient to specify this prefix, e.g. boost_prefix='C:/python'
24 # 2) Otherwise provide a list with two elements, where the first one is the
25 # include path, and the second the library path, e.g.
26 # boost_prefix=['C:/boost/include/boost1_44', 'C:/boost/lib']
27 # All <dependency>_prefix settings default to '/usr' so have to be set
28 # manually on Windows.
29
30 # The options file version. SCons will refuse to build if there have been
31 # changes to the set of variables and your file has not been updated.
32 # This setting is mandatory.
33 escript_opts_version = 201
34
35 # Installation prefix. Files will be installed in subdirectories underneath.
36 # DEFAULT: '.' (current directory)
37 #prefix = 'C:/escript'
38
39 # Top-level directory for intermediate build and test files.
40 # DEFAULT: 'build'
41 #build_dir = 'build'
42
43 # C compiler command name or full path.
44 # DEFAULT: auto-detected
45 #cc = 'cl'
46
47 # C++ compiler command name or full path.
48 # DEFAULT: auto-detected
49 #cxx = 'cl'
50
51 # Flags to use with both C and C++ compilers. Do not set unless you know
52 # what you are doing - use cc_extra to specify additional flags!
53 # DEFAULT: compiler-dependent
54 cc_flags = '/EHsc /GR /wd4068 /MD'
55
56 # Additional compiler (optimization) flags for non-debug builds
57 # DEFAULT: compiler-dependent
58 cc_optim = '/O2 /W3'
59
60 # Additional compiler flags for debug builds
61 # DEFAULT: compiler-dependent
62 cc_debug = '/Od /RTCcsu /ZI /Yd /Y-'
63
64 # Additional flags to add to the C compiler only
65 # DEFAULT: '' (empty)
66 #cc_extra = ''
67
68 # Additional flags to add to the C++ compiler only
69 # DEFAULT: '' (empty)
70 #cxx_extra = ''
71
72 # Additional flags to add to the linker
73 # DEFAULT: '' (empty)
74 ld_extra = '/LIBPATH:"C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/lib" \
75 /LIBPATH:"C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/redist/x86/Microsoft.VC90.CRT" \
76 /LIBPATH:"C:/Program Files/Microsoft SDKs/Windows/v6.0A/Lib" \
77 /LIBPATH:"C:/Windows/winsxs/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91" \
78 /LIBPATH:"C:/Program Files (x86)/Microsoft Visual Studio .NET 2003/SDK/v1.1/Lib"'
79
80 # Whether to treat compiler warnings as errors
81 # DEFAULT: True
82 werror = False
83
84 # Whether to build a debug version
85 # DEFAULT: False
86 #debug = True
87
88 # Set to True to print the full compiler/linker command line
89 # DEFAULT: False
90 verbose = True
91
92 # Set to True to add flags that enable OpenMP parallelization
93 # DEFAULT: False
94 #openmp = True
95
96 # Additional compiler flags for OpenMP builds
97 # DEFAULT: compiler-dependent
98 #omp_flags = '/Qopenmp /Qparallel'
99
100 # Additional linker flags for OpenMP builds
101 # DEFAULT: compiler-dependent
102 #omp_ldflags = '/Qopenmp /Qparallel'
103
104 # Flavour of MPI implementation
105 # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
106 # DEFAULT: 'none' (disable MPI)
107 mpi = 'MPICH2'
108
109 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
110 mpi_prefix = ['C:/Program Files/Microsoft HPC Pack 2008 SDK/include', 'C:/Program Files/Microsoft HPC Pack 2008 SDK/lib/i386']
111
112 # MPI libraries to link against
113 mpi_libs = ['msmpi']
114
115 dotdot = os.path.realpath('..')
116
117 # Prefix or paths to boost-python headers and libraries. See note above.
118 boost_prefix = [os.path.join(dotdot, 'boost_1_39_0'), os.path.join(dotdot, 'boost_1_39_0','windows_binary','lib')]
119
120 # boost-python library/libraries to link against
121 boost_libs = ['boost_python-vc90-mt-1_39']
122
123 # Prefix or paths to CppUnit headers and libraries. See note above.
124 #cppunit_prefix = 'C:/CppUnit'
125
126 # CppUnit library/libraries to link against
127 #cppunit_libs = ['cppunit']
128
129 # Whether to use the netCDF library for dump file support
130 # DEFAULT: False
131 netcdf = True
132
133 # Prefix or paths to netCDF headers and libraries. See note above.
134 netcdf_prefix = [os.path.join(dotdot, 'netcdf', 'src', 'include'), os.path.join(dotdot, 'netcdf', 'lib')]
135
136 # netCDF library/libraries to link against
137 netcdf_libs = ['netcdf_cpp', 'netcdf']
138
139 # Whether to use the parMETIS library (only in conjunction with MPI)
140 # DEFAULT: False
141 #parmetis = True
142
143 # Prefix or paths to parMETIS headers and libraries. See note above.
144 #parmetis_prefix = 'C:/parmetis'
145
146 # parMETIS library/libraries to link against
147 #parmetis_libs = ['parmetis', 'metis']
148
149 # Whether to use the Intel PAPI (Performance API) library
150 # DEFAULT: False
151 #papi = True
152
153 # Prefix or paths to PAPI headers and libraries. See note above.
154 #papi_prefix = 'C:/papi'
155
156 # PAPI library/libraries to link against
157 #papi_libs = ['papi']
158
159 # Whether to use PAPI to instrument solver iterations
160 # DEFAULT: False
161 #papi_instrument_solver = True
162
163 # Whether to use Intel MKL (Math Kernel Library)
164 # DEFAULT: False
165 #mkl = True
166
167 # Prefix or paths to MKL headers and libraries. See note above.
168 #mkl_prefix = 'C:/mkl'
169
170 # MKL library/libraries to link against
171 #mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide']
172
173 # Whether to use UMFPACK (requires AMD and BLAS)
174 # DEFAULT: False
175 #umfpack = True
176
177 # Prefix or paths to UMFPACK headers and libraries. See note above.
178 #umfpack_prefix = 'C:/umfpack'
179
180 # UMFPACK library/libraries to link against
181 #umfpack_libs = ['umfpack']
182
183 # Whether to use BoomerAMG (requires MPI)
184 # DEFAULT: False
185 #boomeramg = True
186
187 # Prefix or paths to BoomerAMG headers and libraries. See note above.
188 #boomeramg_prefix = 'C:/boomeramg'
189
190 # BoomerAMG library/libraries to link against
191 #boomeramg_libs = ['HYPRE']
192
193 # Flavour of LAPACK implementation
194 # Recognized values: 'none', 'clapack', 'mkl'
195 # DEFAULT: 'none' (do not use LAPACK)
196 #lapack = 'clapack'
197
198 # Prefix or paths to LAPACK headers and libraries. See note above.
199 #lapack_prefix = 'C:/lapack'
200
201 # LAPACK library/libraries to link against
202 #lapack_libs = ['lapack_atlas']
203
204 # Whether to use LLNL's SILO library for Silo output file support in weipa
205 # DEFAULT: False
206 #silo = True
207
208 # Prefix or paths to SILO headers and libraries. See note above.
209 #silo_prefix = 'C:/silo'
210
211 # SILO library/libraries to link against
212 #silo_libs = ['siloh5', 'hdf5']
213
214 # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
215 # DEFAULT: False
216 #visit = True
217
218 # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
219 #visit_prefix = 'C:/visit/2.1.0/linux-intel/libsim/V2'
220
221 # Sim2 library/libraries to link against
222 #visit_libs = ['simV2']
223
224 # Whether to enable the deprecated PyVisi interface (requires the VTK python
225 # modules)
226 # DEFAULT: False
227 #pyvisi = True
228
229 # Build dynamic libraries only
230 #DEFAULT: False
231 #build_shared = True
232
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 = ['msvc']
248
249 #iknowwhatimdoing = False
250
251 #forcelazy = 'leave_alone'
252
253 #forcecollres = 'leave_alone'
254

  ViewVC Help
Powered by ViewVC 1.1.26