blob: 8efb60826f8053424754a24ea06751c51e1667da (
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
|
# Copyright 2013-2022 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 Mpdecimal(AutotoolsPackage):
"""mpdecimal is a package for correctly-rounded arbitrary precision
decimal floating point arithmetic."""
homepage = "https://www.bytereef.org/mpdecimal/"
url = "https://www.bytereef.org/software/mpdecimal/releases/mpdecimal-2.4.2.tar.gz"
list_url = "https://www.bytereef.org/mpdecimal/download.html"
version('2.4.2', sha256='83c628b90f009470981cf084c5418329c88b19835d8af3691b930afccb7d79c7')
depends_on('gmake', type='build')
@property
def libs(self):
# Suffix is .so, even on macOS
return LibraryList(find(self.prefix.lib, 'libmpdec.so'))
|