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

Contents of /trunk/scons/windows_msvc90_options.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 4576 - (show annotations)
Mon Dec 9 23:35:30 2013 UTC (4 years, 5 months ago) by sshaw
File MIME type: text/x-python
File size: 7353 byte(s)
python3ified things, replaced mixed whitespace and xrange calls
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 #cxx = 'cl'
46
47 # Flags to use with the C++ compiler. Do not set unless you know
48 # what you are doing - use cxx_extra to specify additional flags!
49 # DEFAULT: compiler-dependent
50 cc_flags = '/EHsc /GR /wd4068 /MD'
51
52 # Additional compiler (optimization) flags for non-debug builds
53 # DEFAULT: compiler-dependent
54 cc_optim = '/O2 /W3'
55
56 # Additional compiler flags for debug builds
57 # DEFAULT: compiler-dependent
58 cc_debug = '/Od /RTCcsu /ZI /Yd /Y-'
59
60 # Additional flags to add to the C++ compiler
61 # DEFAULT: '' (empty)
62 #cxx_extra = ''
63
64 # Additional flags to add to the linker
65 # DEFAULT: '' (empty)
66 ld_extra = '/LIBPATH:"C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/lib" \
67 /LIBPATH:"C:/Program Files (x86)/Microsoft Visual Studio 9.0/VC/redist/x86/Microsoft.VC90.CRT" \
68 /LIBPATH:"C:/Program Files/Microsoft SDKs/Windows/v6.0A/Lib" \
69 /LIBPATH:"C:/Windows/winsxs/x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.21022.8_none_bcb86ed6ac711f91" \
70 /LIBPATH:"C:/Program Files (x86)/Microsoft Visual Studio .NET 2003/SDK/v1.1/Lib"'
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 = '/Qopenmp /Qparallel'
91
92 # Additional linker flags for OpenMP builds
93 # DEFAULT: compiler-dependent
94 #omp_ldflags = '/Qopenmp /Qparallel'
95
96 # Flavour of MPI implementation
97 # Recognized values: 'none', 'MPT', 'MPICH', 'MPICH2', 'OPENMPI', 'INTELMPI'
98 # DEFAULT: 'none' (disable MPI)
99 mpi = 'MPICH2'
100
101 # Prefix or paths to MPI headers and libraries. See note above about prefixes.
102 mpi_prefix = ['C:/Program Files/Microsoft HPC Pack 2008 SDK/include', 'C:/Program Files/Microsoft HPC Pack 2008 SDK/lib/i386']
103
104 # MPI libraries to link against
105 mpi_libs = ['msmpi']
106
107 dotdot = os.path.realpath('..')
108
109 # Prefix or paths to boost-python headers and libraries. See note above.
110 boost_prefix = [os.path.join(dotdot, 'boost_1_39_0'), os.path.join(dotdot, 'boost_1_39_0','windows_binary','lib')]
111
112 # boost-python library/libraries to link against
113 boost_libs = ['boost_python-vc90-mt-1_39']
114
115 # Prefix or paths to CppUnit headers and libraries. See note above.
116 #cppunit_prefix = 'C:/CppUnit'
117
118 # CppUnit library/libraries to link against
119 #cppunit_libs = ['cppunit']
120
121 # Whether to use the netCDF library for dump file support
122 # DEFAULT: False
123 netcdf = True
124
125 # Prefix or paths to netCDF headers and libraries. See note above.
126 netcdf_prefix = [os.path.join(dotdot, 'netcdf', 'src', 'include'), os.path.join(dotdot, 'netcdf', 'lib')]
127
128 # netCDF library/libraries to link against
129 netcdf_libs = ['netcdf_cpp', 'netcdf']
130
131 # Whether to use the parMETIS library (only in conjunction with MPI)
132 # DEFAULT: False
133 #parmetis = True
134
135 # Prefix or paths to parMETIS headers and libraries. See note above.
136 #parmetis_prefix = 'C:/parmetis'
137
138 # parMETIS library/libraries to link against
139 #parmetis_libs = ['parmetis', 'metis']
140
141 # Whether to use the Intel PAPI (Performance API) library
142 # DEFAULT: False
143 #papi = True
144
145 # Prefix or paths to PAPI headers and libraries. See note above.
146 #papi_prefix = 'C:/papi'
147
148 # PAPI library/libraries to link against
149 #papi_libs = ['papi']
150
151 # Whether to use PAPI to instrument solver iterations
152 # DEFAULT: False
153 #papi_instrument_solver = True
154
155 # Whether to use Intel MKL (Math Kernel Library)
156 # DEFAULT: False
157 #mkl = True
158
159 # Prefix or paths to MKL headers and libraries. See note above.
160 #mkl_prefix = 'C:/mkl'
161
162 # MKL library/libraries to link against
163 #mkl_libs = ['mkl_solver', 'mkl_em64t', 'mkl_core', 'guide']
164
165 # Whether to use UMFPACK (requires AMD and BLAS)
166 # DEFAULT: False
167 #umfpack = True
168
169 # Prefix or paths to UMFPACK headers and libraries. See note above.
170 #umfpack_prefix = 'C:/umfpack'
171
172 # UMFPACK library/libraries to link against
173 #umfpack_libs = ['umfpack']
174
175 # Whether to use BoomerAMG (requires MPI)
176 # DEFAULT: False
177 #boomeramg = True
178
179 # Prefix or paths to BoomerAMG headers and libraries. See note above.
180 #boomeramg_prefix = 'C:/boomeramg'
181
182 # BoomerAMG library/libraries to link against
183 #boomeramg_libs = ['HYPRE']
184
185 # Flavour of LAPACK implementation
186 # Recognized values: 'none', 'clapack', 'mkl'
187 # DEFAULT: 'none' (do not use LAPACK)
188 #lapack = 'clapack'
189
190 # Prefix or paths to LAPACK headers and libraries. See note above.
191 #lapack_prefix = 'C:/lapack'
192
193 # LAPACK library/libraries to link against
194 #lapack_libs = ['lapack_atlas']
195
196 # Whether to use LLNL's SILO library for Silo output file support in weipa
197 # DEFAULT: False
198 #silo = True
199
200 # Prefix or paths to SILO headers and libraries. See note above.
201 #silo_prefix = 'C:/silo'
202
203 # SILO library/libraries to link against
204 #silo_libs = ['siloh5', 'hdf5']
205
206 # Whether to use LLNL's VisIt simulation interface (only version 2 supported)
207 # DEFAULT: False
208 #visit = True
209
210 # Prefix or paths to VisIt's sim2 headers and libraries. See note above.
211 #visit_prefix = 'C:/visit/2.1.0/linux-intel/libsim/V2'
212
213 # Sim2 library/libraries to link against
214 #visit_libs = ['simV2']
215
216 # Build dynamic libraries only
217 #DEFAULT: False
218 #build_shared = True
219
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 = ['msvc']
235
236 #iknowwhatimdoing = False
237
238 #forcelazy = 'leave_alone'
239
240 #forcecollres = 'leave_alone'
241

  ViewVC Help
Powered by ViewVC 1.1.26