/[escript]/branches/diaplayground/cusplibrary/SConscript
ViewVC logotype

Annotation of /branches/diaplayground/cusplibrary/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 5144 - (hide annotations)
Thu Sep 11 02:56:56 2014 UTC (4 years, 6 months ago) by caltinay
File size: 1511 byte(s)
fix to find changes in cusp automatically from scons.

1 caltinay 5144
2     ##############################################################################
3     #
4     # Copyright (c) 2014 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 2012-2013 by School of Earth Sciences
13     # Development from 2014 by Centre for Geoscience Computing (GeoComp)
14     #
15     ##############################################################################
16    
17     import os
18     Import('*')
19     local_env = env.Clone()
20    
21     directories = """
22     cusp
23     cusp/precond
24     cusp/precond/aggregation
25     cusp/precond/aggregation/detail
26     cusp/precond/detail
27     cusp/krylov
28     cusp/krylov/detail
29     cusp/io
30     cusp/io/detail
31     cusp/gallery
32     cusp/relaxation
33     cusp/relaxation/detail
34     cusp/graph
35     cusp/graph/detail
36     cusp/graph/detail/dispatch
37     cusp/graph/detail/device
38     cusp/graph/detail/host
39     cusp/opengl
40     cusp/opengl/spy
41     cusp/opengl/spy/detail
42     cusp/detail
43     cusp/detail/dispatch
44     cusp/detail/device
45     cusp/detail/device/generalized_spmv
46     cusp/detail/device/transposed_spmv
47     cusp/detail/device/spmm
48     cusp/detail/device/spmv
49     cusp/detail/device/detail
50     cusp/detail/host
51     cusp/detail/host/reference
52     cusp/detail/host/detail
53     """.split()
54    
55     for dir in directories:
56     headers = Glob(os.path.join(dir,"*.*"))
57     include_path = Dir(dir, local_env['incinstall'])
58     hdr_inst = local_env.Install(include_path, headers)
59     env.Alias('install_cusp_headers', hdr_inst)
60    

  ViewVC Help
Powered by ViewVC 1.1.26