/[escript]/branches/arrayview_from_1695_trunk/finley/src/SConscript
ViewVC logotype

Diff of /branches/arrayview_from_1695_trunk/finley/src/SConscript

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

revision 700 by gross, Thu Apr 6 00:13:40 2006 UTC revision 1388 by trankine, Fri Jan 11 07:45:58 2008 UTC
# Line 1  Line 1 
1    #          Copyright 2006 by ACcESS MNRF
2    #
3    #              http://www.access.edu.au
4    #       Primary Business: Queensland, Australia
5    #  Licensed under the Open Software License version 3.0
6    #     http://www.opensource.org/licenses/osl-3.0.php
7    #
8  import os  import os
9  Import('*')  Import('*')
10    
# Line 24  sources += [ x for x in cppadapter_filen Line 31  sources += [ x for x in cppadapter_filen
31  cppadapter_headers = [x for x in cppadapter_filenames if os.path.splitext(x)[1] in ['.h']]  cppadapter_headers = [x for x in cppadapter_filenames if os.path.splitext(x)[1] in ['.h']]
32    
33  sources.remove(py_wrapper_source) # FIXME: should probably refactor the source tree so the python wrapper isn't colocated with c++ sources  sources.remove(py_wrapper_source) # FIXME: should probably refactor the source tree so the python wrapper isn't colocated with c++ sources
34  local_env.Append(LIBS = [boost_lib, python_lib, sys_libs, 'escript', 'esysUtils', 'paso'])  local_env.Append(LIBS = [boost_lib, python_lib, 'escript', 'esysUtils', 'paso'] + sys_libs + mpi_libs )
35  py_wrapper_local_env.Append(LIBS = [boost_lib, python_lib, sys_libs, lib_name, 'escript', 'esysUtils', 'paso'])  py_wrapper_local_env.Append(LIBS = [boost_lib, python_lib, lib_name, 'escript', 'esysUtils', 'paso'] + sys_libs + mpi_libs )
36    
37  if mkl_libs:  if mkl_libs:
38     local_env.Append(CPPDEFINES=['MKL',])     local_env.Append(CPPDEFINES=['MKL',])
# Line 36  if scsl_libs: Line 43  if scsl_libs:
43  if umf_libs:  if umf_libs:
44     local_env.Append(CPPDEFINES=['UMFPACK',])     local_env.Append(CPPDEFINES=['UMFPACK',])
45     local_env.Append(LIBS = umf_libs)     local_env.Append(LIBS = umf_libs)
46  if papi_libs:  
47    if blas_libs:
48       local_env.Append(LIBS = blas_libs)
49    
50    if papi_instrument_solver:
51     local_env.Append(CPPDEFINES=['PAPI',])     local_env.Append(CPPDEFINES=['PAPI',])
52    if papi_libs:
53     local_env.Append(LIBS = papi_libs)     local_env.Append(LIBS = papi_libs)
54       local_env.Append(CPPDEFINES=['BLOCKPAPI',])
55    
56    if trilinos_libs:
57       local_env.Append(CPPDEFINES=['TRILINOS',])
58       local_env.Append(LIBS = trilinos_libs)
59    
60    local_env.Append(CPPDEFINES = 'FINLEY_EXPORTS')
61    
62  lib = local_env.SharedLibrary(lib_name, sources)  lib = local_env.SharedLibrary(lib_name, sources)
63  py_wrapper_lib = py_wrapper_local_env.SharedLibrary( py_wrapper_lib_name, py_wrapper_source)  py_wrapper_lib = py_wrapper_local_env.SharedLibrary( py_wrapper_lib_name, py_wrapper_source)

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

  ViewVC Help
Powered by ViewVC 1.1.26