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

Annotation of /branches/arrayview_from_1695_trunk/finley/src/SConscript

Parent Directory Parent Directory | Revision Log Revision Log


Revision 191 - (hide annotations)
Mon Nov 21 04:10:12 2005 UTC (13 years, 6 months ago) by jgs
Original Path: trunk/finley/src/finleyC/SConscript
File size: 2860 byte(s)
push platform dependent compiler flags and include directories up to library level scons files - these will eventually be brought in from external config files
1 jgs 182 Import('*')
2    
3     import os
4 jgs 190 import string
5 jgs 182
6 jgs 191 escript_path = str(esysroot) + '/escript/inc'
7     esysUtils_path = str(esysroot) + '/esysUtils/inc'
8 jgs 190 finley_path = str(esysroot) + '/finley/inc'
9     paso_path = str(esysroot) + '/paso/inc'
10 jgs 182
11 jgs 190 cpp_path = [escript_path,
12     esysUtils_path,
13     finley_path,
14     paso_path,
15     python_path,
16     boost_path]
17    
18 jgs 182 lib = 'finleyC'
19     sources = ['Assemble_addToSystemMatrix.c',
20     'Assemble_CopyElementData.c',
21     'Assemble_CopyNodalData.c',
22     'Assemble_getAssembleParameters.c',
23     'Assemble_getSize.c',
24     'Assemble_gradient.c',
25     'Assemble_handelShapeMissMatch.c',
26     'Assemble_integrate.c',
27     'Assemble_interpolate.c',
28     'Assemble_NodeCoordinates.c',
29     'Assemble_PDE.c',
30     'Assemble_PDEMatrix_Single2.c',
31     'Assemble_PDEMatrix_System2.c',
32     'Assemble_PDE_RHS.c',
33     'Assemble_RHSMatrix_Single.c',
34     'Assemble_RHSMatrix_System.c',
35     'Assemble_RobinCondition.c',
36     'Assemble_RobinCondition_RHS.c',
37     'Assemble_setNormal.c',
38     'ElementFile_allocTable.c',
39     'ElementFile.c',
40     'ElementFile_copyTable.c',
41     'ElementFile_gather.c',
42     'ElementFile_improveColoring.c',
43     'ElementFile_markNodes.c',
44     'ElementFile_optimizeDistribution.c',
45     'ElementFile_prepare.c',
46     'ElementFile_relableNodes.c',
47     'ElementFile_scatter.c',
48     'ElementFile_setNodeRange.c',
49     'Finley.c',
50     'IndexList.c',
51     'Mesh.c',
52     'Mesh_findMatchingFaces.c',
53     'Mesh_getPattern.c',
54     'Mesh_glueFaces.c',
55     'Mesh_hex20.c',
56     'Mesh_hex8.c',
57     'Mesh_joinFaces.c',
58     'Mesh_line2.c',
59     'Mesh_line3.c',
60     'Mesh_markNodes.c',
61     'Mesh_merge.c',
62     'Mesh_prepare.c',
63     'Mesh_prepareNodes.c',
64     'Mesh_print.c',
65     'Mesh_read.c',
66     'Mesh_rec4.c',
67     'Mesh_rec8.c',
68     'Mesh_relabelElementNodes.c',
69     'Mesh_resolveNodeIds.c',
70     'Mesh_saveDX.c',
71     'Mesh_saveVTK.c',
72     'Mesh_write.c',
73     'NodeFile_allocTable.c',
74     'NodeFile.c',
75     'NodeFile_copyTable.c',
76     'NodeFile_gatter.c',
77     'NodeFile_scatter.c',
78     'NodeFile_setCoordinates.c',
79     'NodeFile_setIdRange.c',
80     'Quadrature.c',
81     'ReferenceElements.c',
82     'ShapeFunctions.c',
83     'Util.c']
84    
85     finleyC_env = Environment(ENV = os.environ)
86    
87     finleyC_env.Replace(CC = 'icc')
88     finleyC_env.Replace(CCFLAGS = cc_flags)
89     finleyC_env.Replace(CPPPATH = cpp_path)
90    
91     finleyC_lib = finleyC_env.StaticLibrary(lib, sources)
92     finleyC_env.Install(libdir, finleyC_lib)

  ViewVC Help
Powered by ViewVC 1.1.26