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

Diff of /trunk/scons/esys_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 2548 by jfenwick, Mon Jul 20 06:20:06 2009 UTC
# Line 1  Line 1 
1    
2  #          Copyright 2006 by ACcESS MNRF                    ########################################################
3  #                                                            #
4  #              http://www.access.edu.au                      # Copyright (c) 2003-2009 by University of Queensland
5  #       Primary Business: Queensland, Australia              # Earth Systems Science Computational Center (ESSCC)
6  #  Licensed under the Open Software License version 3.0      # http://www.uq.edu.au/esscc
7  #     http://www.opensource.org/licenses/osl-3.0.php        #
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    
14    
15  # this code should be called by all esys13 scons builder and testing scripts  # this code should be called by all esys13 scons builder and testing scripts
# Line 18  Line 21 
21  libinstall = None  libinstall = None
22  pyinstall = None  pyinstall = None
23  incinstall = None  incinstall = None
24  dodebug = 0  usedebug = 0
25    
26  # locations of libs etc used by mkl  # locations of libs etc used by mkl
27  mkl_path = ''  mkl_path = ''
# Line 102  options = None Line 105  options = None
105  if ARGUMENTS.get('libinstall',0): libinstall = ARGUMENTS.get('libinstall',0)  if ARGUMENTS.get('libinstall',0): libinstall = ARGUMENTS.get('libinstall',0)
106  if ARGUMENTS.get('pyinstall',0): pyinstall = ARGUMENTS.get('pyinstall',0)  if ARGUMENTS.get('pyinstall',0): pyinstall = ARGUMENTS.get('pyinstall',0)
107  if ARGUMENTS.get('incinstall',0): pyinstall = ARGUMENTS.get('incinstall',0)  if ARGUMENTS.get('incinstall',0): pyinstall = ARGUMENTS.get('incinstall',0)
108  if ARGUMENTS.get('debug',0): dodebug = 1  if ARGUMENTS.get('usedebug',0): usedebug = 1
109  if ARGUMENTS.get('options',0): options = ARGUMENTS.get('options',0)  if ARGUMENTS.get('options',0): options = ARGUMENTS.get('options',0)
110  if ARGUMENTS.get('usegcc',0): usegcc = 1  if ARGUMENTS.get('usegcc',0): usegcc = 1
111  #  #
# Line 135  if options!=None: Line 138  if options!=None:
138    
139  #  #
140  # use debug options:  # use debug options:
141  if dodebug==1:  if usedebug==1:
142       cxx_flags=cxx_flags_debug       cxx_flags=cxx_flags_debug
143       cc_flags=cc_flags_debug       cc_flags=cc_flags_debug
144    

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

  ViewVC Help
Powered by ViewVC 1.1.26