24 lines
851 B
Python
24 lines
851 B
Python
# Copyright 2013-2020 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 Dtcmp(AutotoolsPackage):
|
|
"""The Datatype Comparison Library provides comparison operations and
|
|
parallel sort algorithms for MPI applications."""
|
|
|
|
homepage = "https://github.com/hpc/dtcmp"
|
|
url = "https://github.com/hpc/dtcmp/releases/download/v1.0.3/dtcmp-1.0.3.tar.gz"
|
|
|
|
version('1.1.0', sha256='fd2c4485eee560a029f62c8f227df4acdb1edc9340907f4ae2dbee59f05f057d')
|
|
version('1.0.3', sha256='1327368e2808043ad5f245cd16f0da19543de50eae02a4e22b8a1c2e0eff8f35')
|
|
|
|
depends_on('mpi')
|
|
depends_on('lwgrp')
|
|
|
|
def configure_args(self):
|
|
return ["--with-lwgrp=" + self.spec['lwgrp'].prefix]
|