10 Commits

Author SHA1 Message Date
Fabrice Fontaine
48bbf8c4c2 libs/gperftools: assign PKG_CPE_ID
cpe:/a:gperftools_project:gperftools is the correct CPE ID for gperftools:
https://nvd.nist.gov/products/cpe/search/results?keyword=cpe:2.3:a:gperftools_project:gperftools

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
2026-03-18 09:09:24 +01:00
Josef Schlehofer
404bcec4ce gperftools: remove gperftools-headers package
The gperftools-headers package installed headers to the target device,
but headers are only needed during the build process (via Build/InstallDev).

- Remove gperftools-headers package
- Rename gperftools-runtime to gperftools
- Add ABI_VERSION for tracking ABI changes

While looking for e.g. on repology, there is only gperftools package [1]
and not gperftools-runtime and gperftools-headers.

[1] https://repology.org/project/gperftools/versions

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-10-11 14:53:01 +02:00
Josef Schlehofer
e52a809371 gperftools: include headers in the staging_dir
This fixes version detection issues when other packages (like snort3)
try to find the tcmalloc library using CMake's find_package(). Without
the headers in the staging directory, CMake cannot read the version
information from tcmalloc.h, resulting in empty version strings.

Fixes:
Found TCMalloc: /builder/staging_dir/target-x86_64_musl/usr/lib/libtcmalloc.so (found version "")

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-10-10 08:17:55 +02:00
Josef Schlehofer
69bf2443d9 gperftools: make libunwind dependency conditional
Make libunwind support optional depending on package availability.

Previously, gperftools unconditionally enabled libunwind as
mandatory dependency, which led to build failures on architectures where
libunwind is not provided.

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-09-27 18:58:18 +02:00
Josef Schlehofer
4dc36ae9fd gperftools: enable it for mips*
It should be working for mips*,
so enable it and let's see. :-)

In the past, there were some issues related to mips,
when the package was added, but these days, it appears
that these issues are gone. More details
about those issues could be found in the GitHub pull request
when gperftools was added. Reference is in the Fixes tag.

Fixes: c1b4e80825 ("gperftools: add new package")

Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
2025-09-27 07:32:16 +02:00
John Audia
465eddb46d gperftools: update to 2.17.2
Bump to latest release and removed upstreamed patch.

Resulting libs give a fully functional snort3 which was built against
this new version.

Build system: x86/64
Build-tested: x86/64-glibc
Run-tested: x86/64-glibc (Intel N150 based box)

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-09-03 19:47:26 +03:00
John Audia
0a0f2e884c gperftools: bump to version 2.17
Changelog: https://github.com/gperftools/gperftools/releases/tag/gperftools-2.17

Add patch to fix build of some ARM toolchains

Build system: x86/64
Build-tested: x86/64-glibc
Run-tested: x86/64-glibc

Signed-off-by: John Audia <therealgraysky@proton.me>
2025-08-09 11:39:49 +02:00
John Audia
9d7e679db0 gperftools: bump to version 2.16
Changelog: https://github.com/gperftools/gperftools/releases/tag/gperftools-2.16

Build-tested: x86/64/AMD Cezanne
Run-tested: x86/64/AMD Cezanne

Signed-off-by: John Audia <therealgraysky@proton.me>
2024-10-26 14:55:15 +03:00
Rosen Penev
7ee33e792e treewide: exclude mips64
These packages exclude mips but forget to exclude mips64.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
2024-04-23 18:59:04 -07:00
John Audia
c1b4e80825 gperftools: add new package
Thread-caching malloc provided by this package improves snort3
performance.  I have been running with this for over seven months
without issues.  Avg CPU usage is down.  Another user reported
higher throughput achieved with snort3 compiled with this on
samba transfers on system with CPU-limited snort performance.[1]

1. https://forum.openwrt.org/t/some-help-with-a-makefile-gperftools/165656/22

Build system: x86/64
Build-tested: x86/64
Run-tested: x86/64

Signed-off-by: John Audia <therealgraysky@proton.me>
2024-02-24 11:45:33 -08:00