summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Kuhn <michael.kuhn@ovgu.de>2022-02-16 21:41:29 +0100
committerGitHub <noreply@github.com>2022-02-16 13:41:29 -0700
commite8c5f195a788ea0d7437272983d6c99e19d5b150 (patch)
tree7fb9a5dbffbd14e1c064454f1c47ee28a17bb029
parent36020d69d748374520d9373510dabccc7272e1ac (diff)
downloadspack-e8c5f195a788ea0d7437272983d6c99e19d5b150.tar.gz
spack-e8c5f195a788ea0d7437272983d6c99e19d5b150.tar.bz2
spack-e8c5f195a788ea0d7437272983d6c99e19d5b150.tar.xz
spack-e8c5f195a788ea0d7437272983d6c99e19d5b150.zip
libffi: add v3.4.2 (#28970)
-rw-r--r--var/spack/repos/builtin/packages/libffi/package.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/var/spack/repos/builtin/packages/libffi/package.py b/var/spack/repos/builtin/packages/libffi/package.py
index 9d7f0fbf3f..963f44b37b 100644
--- a/var/spack/repos/builtin/packages/libffi/package.py
+++ b/var/spack/repos/builtin/packages/libffi/package.py
@@ -6,16 +6,17 @@
from spack import *
-class Libffi(AutotoolsPackage, SourcewarePackage):
+class Libffi(AutotoolsPackage):
"""The libffi library provides a portable, high level programming
interface to various calling conventions. This allows a programmer
to call any function specified by a call interface description at
run time."""
homepage = "https://sourceware.org/libffi/"
- sourceware_mirror_path = "libffi/libffi-3.2.1.tar.gz"
+ url = "https://github.com/libffi/libffi/releases/download/v3.4.2/libffi-3.4.2.tar.gz"
- version('3.3', sha256='72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056')
- version('3.2.1', sha256='d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37')
+ version('3.4.2', sha256='540fb721619a6aba3bdeef7d940d8e9e0e6d2c193595bc243241b77ff9e93620')
+ version('3.3', url='https://sourceware.org/pub/libffi/libffi-3.3.tar.gz', sha256='72fba7922703ddfa7a028d513ac15a85c8d54c8d67f55fa5a4802885dc652056')
+ version('3.2.1', url='https://sourceware.org/pub/libffi/libffi-3.2.1.tar.gz', sha256='d06ebb8e1d9a22d19e38d63fdb83954253f39bedc5d46232a05645685722ca37')
patch('clang-powerpc-3.2.1.patch', when='@3.2.1%clang platform=linux')
# ref.: https://github.com/libffi/libffi/pull/561