blob: 360e54dc06dcc7c3902a209e054a41067a527168 (
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
30
31
32
33
34
35
|
# Copyright 2013-2024 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 Scorpio(CMakePackage):
"""SCORPIO Scalable Parallel I/O module for Environmental Management Applications
This library provides software that read/write data sets from/to parallel file
systems in an efficient and scalable manner
"""
homepage = "https://gitlab.com/truchas/tpl-forks/scorpio"
git = "https://gitlab.com/truchas/tpl-forks/scorpio.git"
maintainers("pbrady", "zjibben")
license("LGPL-3.0-only")
version("develop", branch="truchas")
version("2021-12-10", commit="b802f16877a6562ccdbeca8887910d3bd3e25cbb", preferred=True)
depends_on("cmake@3.16:", type="build")
depends_on("mpi")
depends_on("hdf5@1.10.6: +hl +mpi")
def cmake_args(self):
opts = []
if self.spec.satisfies("%apple-clang@12:") or self.spec.satisfies("%arm@23.04:"):
opts.append(self.define("CMAKE_C_FLAGS", "-Wno-error=implicit-function-declaration"))
return opts
|