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

Diff of /trunk/scons/windows_intelc_options.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1388 by trankine, Fri Jan 11 07:45:58 2008 UTC revision 1929 by phornby, Fri Oct 24 09:20:17 2008 UTC
# Line 1  Line 1 
1    
2    ########################################################
3  #  #
4  # $Id$  # Copyright (c) 2003-2008 by University of Queensland
5  #  # Earth Systems Science Computational Center (ESSCC)
6  #######################################################  # http://www.uq.edu.au/esscc
 #  
 #           Copyright 2003-2007 by ACceSS MNRF  
 #       Copyright 2007 by University of Queensland  
 #  
 #                http://esscc.uq.edu.au  
 #        Primary Business: Queensland, Australia  
 #  Licensed under the Open Software License version 3.0  
 #     http://www.opensource.org/licenses/osl-3.0.php  
7  #  #
8  #######################################################  # Primary Business: Queensland, Australia
9    # Licensed under the Open Software License version 3.0
10    # http://www.opensource.org/licenses/osl-3.0.php
11  #  #
12    ########################################################
13    
 import os  
   
 source_root = os.path.realpath('.')  
14    
15  pyinstall = os.path.join(source_root,'esys')  from windows_mscv71_options import *
 incinstall = os.path.join(source_root,'include')  
 libinstall = os.path.join(source_root,'lib')  
 exinstall = os.path.join(source_root,'examples')  
16    
17  # locations of include files for python  win_cc_name = 'intelc'
 python_root = 'C:/python23'  
 python_cmd = os.path.join(python_root,'python')  
 python_path =  os.path.join(python_root,'include')  
 python_lib_path = os.path.join(python_root,'libs')  
 python_lib = 'python23'  
18    
 # locations of libraries for boost  
 boost_path = os.path.realpath('../boost')  
 boost_lib_path = os.path.realpath('../boost/windows_binary/lib')  
 boost_lib = 'boost_python-vc71-mt-s-1_31'  
   
 # locations of netcdf  
 useNetCDF = "yes"  
 netCDF_path = os.path.realpath("../netcdf/src/include")  
 netCDF_lib_path = os.path.realpath("../netcdf/src/win32/NET/release")  
 netCDF_libs = [ 'netcdf', 'netcdf_cpp' ]  
   
 cc_defines = ['_USE_MATH_DEFINES', 'DLL_NETCDF' ]  
19  # c flags to use  # c flags to use
20  # 1563 - taking adress of a temporary  cc_flags  = '/FD /GR /EHs'
21  # 811 - exception specification for implicitly declared virtual function (destructor usually) incompatible with that of override  cc_optim  = '/O3 /Oi /Qip /MD /W3 /MD'
22  # 161 - openmp pargmas are unknown when not compiling with openmp  cc_debug  = '/Od /RTC1 /MDd /ZI /Y-'
23  cc_common_flags = '/FD /EHsc /GR /wd4068 '  omp_optim  = '/Qvec-report0 /Qopenmp /Qopenmp-report0 /Qparallel /MD /W3'
24  cc_flags  = cc_common_flags + '/O2 /Op /MT /W3'  omp_debug  = '/Qvec-report3 /Qopenmp /Qopenmp-report2 /Qparallel /MD /W3'
25    omp_libs = ['libglide']
 cc_flags_debug  = cc_common_flags + '/Od /RTC1 /MTd /ZI'  
   
 # c++ flags to use  
 cxx_flags = ''  
 cxx_flags_debug = ''  
 # static library archiver flags to use  
 #ar_flags = 'crus'  
   
 # system specific libraries to link with  
 sys_libs = []  

Legend:
Removed from v.1388  
changed lines
  Added in v.1929

  ViewVC Help
Powered by ViewVC 1.1.26