-
Notifications
You must be signed in to change notification settings - Fork 78
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
42 lines (39 loc) · 1.64 KB
/
Copy pathCMakeLists.txt
File metadata and controls
42 lines (39 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
################################################################################
## Copyright (c) 2014-2024, Lawrence Livermore National Security, LLC.
## Produced at the Lawrence Livermore National Laboratory.
## Written by the LBANN Research Team (B. Van Essen, et al.) listed in
## the CONTRIBUTORS file. <lbann-dev@llnl.gov>
##
## LLNL-CODE-697807.
## All rights reserved.
##
## This file is part of LBANN: Livermore Big Artificial Neural Network
## Toolkit. For details, see http://software.llnl.gov/LBANN or
## https://github.com/LLNL/LBANN.
##
## Licensed under the Apache License, Version 2.0 (the "Licensee"); you
## may not use this file except in compliance with the License. You may
## obtain a copy of the License at:
##
## http://www.apache.org/licenses/LICENSE-2.0
##
## Unless required by applicable law or agreed to in writing, software
## distributed under the License is distributed on an "AS IS" BASIS,
## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
## implied. See the License for the specific language governing
## permissions and limitations under the license.
################################################################################
# Conduit is "cute" about finding HDF5. It's not a CMake option() --
# you opt in by setting HDF5_DIR explicitly. So let's do that.
# if (TARGET HDF5 AND NOT LBANN_SB_FWD_ZFP_HDF5_DIR)
# set(LBANN_SB_FWD_ZFP_HDF5_DIR ${HDF5_DIR})
# endif ()
lbann_sb_add_cmake_extern_pkg(
NAME H5Z-ZFP
LANGUAGES C CXX ${lbann_sb_ftn_lang}
GITHUB_URL llnl/h5z-zfp.git
GIT_TAG "master"
DEPENDS_ON HDF5 ZFP
)
set(H5Z-ZFP_DIR ${LBANN_SB_H5Z-ZFP_PREFIX}
CACHE INTERNAL "The install prefix of H5Z-ZFP.")