gperftools: Add 2.14 (#41928)

* gperftools: Add 2.14

* Add conflict for gperftools 2.14 and PPC
This commit is contained in:
Mikael Simberg 2024-01-04 12:40:11 +01:00 committed by GitHub
parent 4a0af24624
commit e50b758e12
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -19,6 +19,7 @@ class Gperftools(AutotoolsPackage):
license("BSD-3-Clause")
version("2.14", sha256="6b561baf304b53d0a25311bd2e29bc993bed76b7c562380949e7cb5e3846b299")
version("2.13", sha256="4882c5ece69f8691e51ffd6486df7d79dbf43b0c909d84d3c0883e30d27323e7")
version("2.12", sha256="fb611b56871a3d9c92ab0cc41f9c807e8dfa81a54a4a9de7f30e838756b5c7c6")
version("2.11", sha256="8ffda10e7c500fea23df182d7adddbf378a203c681515ad913c28a64b87e24dc")
@ -42,6 +43,11 @@ class Gperftools(AutotoolsPackage):
depends_on("unwind", when="+libunwind")
# Linker error: src/base/dynamic_annotations.cc:46: undefined reference to
# `TCMallocGetenvSafe'
conflicts("target=ppc64:", when="@2.14")
conflicts("target=ppc64le:", when="@2.14")
def configure_args(self):
args = []
args += self.enable_or_disable("sized-delete", variant="sized_delete")