zstr: new package, update lbann dependency (#22309)
This commit is contained in:
parent
f7a880f868
commit
a2a29f8789
@ -208,6 +208,8 @@ class Lbann(CMakePackage, CudaPackage, ROCmPackage):
|
||||
depends_on('onednn cpu_runtime=omp gpu_runtime=none', when='+onednn')
|
||||
depends_on('nvshmem', when='+nvshmem')
|
||||
|
||||
depends_on('zstr')
|
||||
|
||||
generator = 'Ninja'
|
||||
depends_on('ninja', type='build')
|
||||
|
||||
|
30
var/spack/repos/builtin/packages/zstr/package.py
Normal file
30
var/spack/repos/builtin/packages/zstr/package.py
Normal file
@ -0,0 +1,30 @@
|
||||
# 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 Zstr(Package):
|
||||
"""This C++ header-only library enables the use of C++ standard
|
||||
iostreams to access ZLib-compressed streams."""
|
||||
|
||||
homepage = "https://github.com/mateidavid/zstr"
|
||||
url = "https://github.com/mateidavid/zstr/archive/v1.0.4.tar.gz"
|
||||
|
||||
maintainers = ['bvanessen']
|
||||
|
||||
version('1.0.4', sha256='a594a3a9c192a6d9e93f9585910d41f7ee6791eb7c454d40c922656324b3058e')
|
||||
version('1.0.3', sha256='d42f1b08e4c3a26e3b42433691d32765015cf89f089ae075b1acb819ccba585f')
|
||||
version('1.0.2', sha256='b4c2d72f0f222b72985fc6c2bd2bd9c1fc353d2e4c8c12186fd87229107a442b')
|
||||
version('1.0.1', sha256='e17e67e00ede182504b3165cebd802420770541465d4ba41df1a15bf4c2a63b7')
|
||||
version('1.0.0', sha256='9f4fa8cb0d2cbba03dfe67900c48b6e75c8380d9263a0ac71d795f11e0224b96')
|
||||
|
||||
depends_on('zlib')
|
||||
|
||||
def install(self, spec, prefix):
|
||||
"""Make the install targets - Note that this package
|
||||
keeps it's headers in the src directory"""
|
||||
install_tree(join_path(self.stage.source_path, 'src'),
|
||||
prefix.include)
|
Loading…
Reference in New Issue
Block a user