blob: c66e1018a238ecbd2f040ea082abf99cdabf00b9 (
plain) (
blame)
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
|
# Copyright 2013-2023 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.package import *
class Diy(CMakePackage):
"""Data-parallel out-of-core library"""
homepage = "https://github.com/diatomic/diy"
url = "https://github.com/diatomic/diy/archive/3.5.0.tar.gz"
git = "https://github.com/diatomic/diy.git"
license("BSD-3-Clause-LBNL")
version("3.5.0", sha256="b3b5490441d521b6e9b33471c782948194bf95c7c3df3eb97bc5cf4530b91576")
version("master", branch="master")
depends_on("mpi")
def cmake_args(self):
args = [
"-Dbuild_examples=off",
"-Dbuild_tests=off",
"-DCMAKE_CXX_COMPILER=%s" % self.spec["mpi"].mpicxx,
]
return args
|