PackagesList.cmake 4.55 KB
Newer Older
Radu Popescu's avatar
Radu Popescu committed
1
# @HEADER
2
# *******************************************************************************
3
#
4
5
#     Copyright (C) 2004, 2005, 2007 EPFL, Politecnico di Milano, INRIA
#     Copyright (C) 2010 EPFL, Politecnico di Milano, Emory University
6
#
7
#     This file is part of LifeV.
8
#
9
10
11
12
#     LifeV is free software; you can redistribute it and/or modify
#     it under the terms of the GNU Lesser General Public License as published by
#     the Free Software Foundation, either version 3 of the License, or
#     (at your option) any later version.
13
#
14
15
16
17
#     LifeV is distributed in the hope that it will be useful,
#     but WITHOUT ANY WARRANTY; without even the implied warranty of
#     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
#     Lesser General Public License for more details.
18
#
19
20
21
22
#     You should have received a copy of the GNU Lesser General Public License
#     along with LifeV.  If not, see <http://www.gnu.org/licenses/>.
#
# *******************************************************************************
Radu Popescu's avatar
Radu Popescu committed
23
24
25
26
27
# @HEADER

INCLUDE(TribitsListHelpers)

#
28
# Define the LifeV package names, directories, and classification.
Radu Popescu's avatar
Radu Popescu committed
29
30
31
32
33
34
35
36
37
#
# Package classifications are:
#
#   PS: Primary Stable Package
#
#     Primary Stable Packages have at least some Primary Stable Code which is
#     expected to be fully tested before every push to the global repo.  The
#     default enable for PS packages is empty "" which allows the PS package
#     to be enabled implicitly based on other criteria.  The option
38
#     LifeV_ENABLE_ALL_PACKAGES=ON will cause all PS packages to be enabled
Radu Popescu's avatar
Radu Popescu committed
39
40
41
42
43
44
45
46
47
48
49
50
51
#     unless they are explicitly disabled.
#
#   SS: Secondary Stable Package
#
#     Secondary Stable Packages have no PS code or they would be classified as
#     PS packages.  A package must be classified as SS if it has a required
#     dependency on another SS package or SS TPL.  A package may also be
#     declared SS to avoid requiring it to be tested before every push to the
#     global repo.  For example, a package that does not provide any
#     significant functionally like Didasko is classified as a SS package even
#     through it could be classified as PS just based on its required package
#     and TPL dependencies.  SS packages will have their default enables set
#     to empty "".  This allows them to be enabled implicilty.  When
52
53
54
55
#     LifeV_ENABLE_ALL_PACKAGES=ON but
#     LifeV_ENABLE_SECONDARY_STABLE_CODE=OFF, the SS packages will not be
#     enabled.  However, when LifeV_ENABLE_ALL_PACKAGES=ON and
#     LifeV_ENABLE_SECONDARY_STABLE_CODE=ON, then SS packages will be
Radu Popescu's avatar
Radu Popescu committed
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
#     enabled if they are not explicitly disabled.  Packages that are SS but
#     not PS must be disabled in pre-push testing.  However, SS packages are
#     tested by the post-push CI and nightly testing processes.
#
#   EX: Experimental Package
#
#     Experimental packages are those packages that contain no PS or SS
#     code. The default enable for EX packages is always OFF which requires
#     that they be explicitly enabled in order to be turned on. EX packages
#     must be disabled in pre-push testring and are not tested as part of the
#     post-push CI or nightly testing processes.  However, package developers
#     of EX pacakges are encouraged to set up their own nightly testing for
#     thier EX packages.
#
# NOTE: These packages must be listed in strictly assending order in terms of
# package dependencies.  If you get the order wrong, then an error message
# will be printed during configuration with CMake.
#

75
76
SET( LifeV_PACKAGES_AND_DIRS_AND_CLASSIFICATIONS
  Core                  lifev/core                        PS
77
78
  BCInterface           lifev/bc_interface                PS
  OneDFSI               lifev/one_d_fsi                   PS
Antonio Cervone's avatar
Antonio Cervone committed
79
  LevelSet              lifev/level_set                   PS
Radu Popescu's avatar
Radu Popescu committed
80
  Darcy                 lifev/darcy                       PS
Antonio Cervone's avatar
Antonio Cervone committed
81
  NavierStokes          lifev/navier_stokes               PS
Radu Popescu's avatar
Radu Popescu committed
82
  Structure             lifev/structure                   PS
formaggia's avatar
formaggia committed
83
  Heart                 lifev/heart                       PS
84
  FSI                   lifev/fsi                         PS
85
  ZeroDimensional       lifev/zero_dimensional            PS
86
  Multiscale            lifev/multiscale                  PS
87
  Dummy                 lifev/dummy                       EX
quinodoz's avatar
quinodoz committed
88
  ETA                   lifev/eta                         EX
Antonio Cervone's avatar
Antonio Cervone committed
89
)
Radu Popescu's avatar
Radu Popescu committed
90
91
92
93
94
95
96
97
98
99


#
# Disable certain packages on certain platforms.
#
# NOTE: This just makes the packages experimental 'EX' and therefore still
# allows the user to enable the package explicitly but the package will not
# get enabled implicitly.
#

100
#PACKAGE_DISABLE_ON_PLATFORMS(MOOCHO Windows)