blob: e205ccd00445049895ad220a435d24d83cca2226 (
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-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 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='a57dde9')
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
|