blob: 95c633da601646789f3d1d594c3f065c328f90b4 (
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
|
# 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 Looptools(AutotoolsPackage):
"""LoopTools is a package for evaluation of scalar and tensor one-loop
integrals based on the FF package by G.J. van Oldenborgh. It
features an easy Fortran, C++, and Mathematica interface to the
scalar one-loop functions of FF and in addition provides
the 2-, 3-, and 4-point tensor coefficient functions. """
homepage = "http://www.feynarts.de/looptools/"
url = "http://www.feynarts.de/looptools/LoopTools-2.15.tar.gz"
version('2.15', sha256='a065ffdc4fe6882aa3bb926134ba8ec875d6c0a633c3d4aa5f70db26542713f2')
version('2.8', sha256='2395518d0eac9b0883a2c249b9a5ba80df443929c520c45e60f5a4284166eb42')
patch('conf.patch', when='%fj')
def configure_args(self):
args = ["FFLAGS=" + self.compiler.f77_pic_flag,
"CFLAGS=" + self.compiler.cc_pic_flag]
return args
|