blob: 9a5c90a74bbd8b15491047bc19b000175bc19f3f (
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
|
# 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 Qd(AutotoolsPackage):
"""C++/Fortran-90 double-double and quad-double package.
With modifications for easier integration with NJet.
see http://crd-legacy.lbl.gov/~dhbailey/mpdist/ for authors page"""
homepage = "https://bitbucket.org/njet/qd-library/src/master/"
git = "https://bitbucket.org/njet/qd-library.git"
tags = ["hep"]
version("2.3.13", commit="a57dde96b3255b80f7f39cd80217c213bf78d949")
depends_on("autoconf", type="build")
depends_on("automake", type="build")
depends_on("libtool", type="build")
depends_on("m4", type="build")
def setup_build_environment(self, env):
if self.spec.satisfies("%nvhpc"):
env.append_flags("FCFLAGS", "-fPIC")
def configure_args(self):
args = ["--enable-shared"]
return args
|