blob: a4a876f1b38eddc0ee67093e2b82820b3014d7ac (
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
|
# 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"
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
|