diff options
author | H. Joe Lee <hyoklee@hdfgroup.org> | 2022-01-12 06:59:51 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-01-12 13:59:51 +0100 |
commit | a5ff3206f91edcee48701aa0470a58a0b5286061 (patch) | |
tree | 03d7bb99bba41adee13e07e44ccdc05ce2fa4f6f /var | |
parent | 5bb5bf3efb5a4773daaa17445c972bf51edc6b56 (diff) | |
download | spack-a5ff3206f91edcee48701aa0470a58a0b5286061.tar.gz spack-a5ff3206f91edcee48701aa0470a58a0b5286061.tar.bz2 spack-a5ff3206f91edcee48701aa0470a58a0b5286061.tar.xz spack-a5ff3206f91edcee48701aa0470a58a0b5286061.zip |
HDF5 GPU VFD: add new package. (#28272)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/hdf5-vfd-gds/package.py | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/hdf5-vfd-gds/package.py b/var/spack/repos/builtin/packages/hdf5-vfd-gds/package.py new file mode 100644 index 0000000000..221c11660d --- /dev/null +++ b/var/spack/repos/builtin/packages/hdf5-vfd-gds/package.py @@ -0,0 +1,35 @@ +# Copyright 2013-2021 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class Hdf5VfdGds(CMakePackage, CudaPackage): + """This package enables GPU Direct Storage Virtual File Driver in HDF5.""" + + # Package info + homepage = 'https://github.com/hpc-io/vfd-gds' + url = 'https://github.com/hpc-io/vfd-gds/archive/refs/tags/1.0.1.tar.gz' + git = 'https://github.com/hpc-io/vfd-gds.git' + maintainers = ['hyoklee', 'lrknox'] + + # Versions + version('master', branch='master') + version('1.0.1', sha256='00e125fd149561be991f41e883824de826d8add604aebccf103a4fb82d5faac2') + version('1.0.0', sha256='6b16105c7c49f13fc05784ee69b78d45fb159270c78d760689f9cd21e230ddd2') + + # Dependencies + conflicts('~cuda') + depends_on('cmake@3.12:') + depends_on('hdf5@1.13.0:') + + def cmake_args(self): + + # CMake options + args = [ + self.define('BUILD_TESTING', self.run_tests), + ] + + return args |