Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d0f66c4

Browse files
committedJun 3, 2024··
Add checkpoint as TPL
1 parent 056b8ee commit d0f66c4

File tree

2 files changed

+65
-0
lines changed

2 files changed

+65
-0
lines changed
 

‎TPLsList.cmake

+1
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ TRIBITS_REPOSITORY_DEFINE_TPLS(
177177
SARMA "cmake/TPLs/" EX
178178
CDT "cmake/TPLs/" EX
179179
mpi_advance "cmake/TPLs/" EX
180+
checkpoint "cmake/TPLs/" EX
180181
)
181182

182183
# NOTES:

‎cmake/TPLs/FindTPLcheckpoint.cmake

+64
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
# @HEADER
2+
# ************************************************************************
3+
#
4+
# Trilinos: An Object-Oriented Solver Framework
5+
# Copyright (2001) Sandia Corporation
6+
#
7+
#
8+
# Copyright (2001) Sandia Corporation. Under the terms of Contract
9+
# DE-AC04-94AL85000, there is a non-exclusive license for use of this
10+
# work by or on behalf of the U.S. Government. Export of this program
11+
# may require a license from the United States Government.
12+
#
13+
# 1. Redistributions of source code must retain the above copyright
14+
# notice, this list of conditions and the following disclaimer.
15+
#
16+
# 2. Redistributions in binary form must reproduce the above copyright
17+
# notice, this list of conditions and the following disclaimer in the
18+
# documentation and/or other materials provided with the distribution.
19+
#
20+
# 3. Neither the name of the Corporation nor the names of the
21+
# contributors may be used to endorse or promote products derived from
22+
# this software without specific prior written permission.
23+
#
24+
# THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY
25+
# EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
26+
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
27+
# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE
28+
# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
29+
# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
30+
# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
31+
# PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
32+
# LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
33+
# NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
34+
# SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
35+
#
36+
# NOTICE: The United States Government is granted for itself and others
37+
# acting on its behalf a paid-up, nonexclusive, irrevocable worldwide
38+
# license in this data to reproduce, prepare derivative works, and
39+
# perform publicly and display publicly. Beginning five (5) years from
40+
# July 25, 2001, the United States Government is granted for itself and
41+
# others acting on its behalf a paid-up, nonexclusive, irrevocable
42+
# worldwide license in this data to reproduce, prepare derivative works,
43+
# distribute copies to the public, perform publicly and display
44+
# publicly, and to permit others to do so.
45+
#
46+
# NEITHER THE UNITED STATES GOVERNMENT, NOR THE UNITED STATES DEPARTMENT
47+
# OF ENERGY, NOR SANDIA CORPORATION, NOR ANY OF THEIR EMPLOYEES, MAKES
48+
# ANY WARRANTY, EXPRESS OR IMPLIED, OR ASSUMES ANY LEGAL LIABILITY OR
49+
# RESPONSIBILITY FOR THE ACCURACY, COMPLETENESS, OR USEFULNESS OF ANY
50+
# INFORMATION, APPARATUS, PRODUCT, OR PROCESS DISCLOSED, OR REPRESENTS
51+
# THAT ITS USE WOULD NOT INFRINGE PRIVATELY OWNED RIGHTS.
52+
#
53+
# ************************************************************************
54+
# @HEADER
55+
56+
find_package(checkpoint)
57+
58+
if(checkpoint_FOUND)
59+
tribits_extpkg_create_imported_all_libs_target_and_config_file(
60+
checkpoint
61+
INNER_FIND_PACKAGE_NAME checkpoint
62+
IMPORTED_TARGETS_FOR_ALL_LIBS vt::lib::checkpoint
63+
)
64+
endif()

0 commit comments

Comments
 (0)
Please sign in to comment.