blob: e1186f4627ac447892ad88936e8232e004e25c15 (
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
36
|
# 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 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']
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:'):
opts.append(self.define("CMAKE_C_FLAGS",
"-Wno-error=implicit-function-declaration"))
return opts
|