1 |
############################################################################## |
2 |
# |
3 |
# Copyright (c) 2003-2018 by The University of Queensland |
4 |
# http://www.uq.edu.au |
5 |
# |
6 |
# Primary Business: Queensland, Australia |
7 |
# Licensed under the Apache License, version 2.0 |
8 |
# http://www.apache.org/licenses/LICENSE-2.0 |
9 |
# |
10 |
# Development until 2012 by Earth Systems Science Computational Center (ESSCC) |
11 |
# Development 2012-2013 by School of Earth Sciences |
12 |
# Development from 2014 by Centre for Geoscience Computing (GeoComp) |
13 |
# |
14 |
############################################################################## |
15 |
|
16 |
Import('env') |
17 |
if 'finley' in env['domains']: |
18 |
if not env['paso'] and not env['trilinos']: |
19 |
print("Finley requires a solver library! Please either enable Paso or Trilinos.") |
20 |
env.Exit(1) |
21 |
|
22 |
# configure C++ library |
23 |
env.SConscript('src/SConscript', duplicate=0) |
24 |
|
25 |
# configure python module |
26 |
env.SConscript('py_src/SConscript', variant_dir='py', duplicate=0) |
27 |
|
28 |
# configure unit tests |
29 |
env.SConscript('test/SConscript', duplicate=0) |
30 |
|