Merge pull request #108 from bobpaul/jemalloc_64k

build bind with jemalloc; compatible with 64k kernels
This commit is contained in:
Alexander Baldeck 2025-03-02 21:37:00 +01:00 committed by GitHub
commit 2a8f77af85
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 14 additions and 8 deletions

View File

@ -1,7 +1,7 @@
pkgbase = bind
pkgdesc = A complete, highly portable implementation of the DNS protocol
pkgver = 9.20.5
pkgrel = 1
pkgrel = 2
url = https://www.isc.org/software/bind/
install = bind.install
arch = x86_64
@ -17,6 +17,7 @@ pkgbase = bind
depends = e2fsprogs
depends = glibc
depends = icu
depends = jemalloc
depends = libedit
depends = json-c
depends = krb5

View File

@ -7,15 +7,15 @@
pkgname=bind
pkgver=9.20.5
pkgrel=1
pkgrel=2
pkgdesc='A complete, highly portable implementation of the DNS protocol'
url='https://www.isc.org/software/bind/'
license=('MPL2')
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
options=('!emptydirs')
depends=('bash' 'dnssec-anchors' 'e2fsprogs' 'glibc' 'icu' 'libedit' 'json-c'
'krb5' 'libcap' 'libidn2' 'libmaxminddb' 'libnsl' 'libuv' 'libxml2' 'lmdb'
'openssl' 'readline' 'xz' 'zlib' 'libnghttp2' 'liburcu')
depends=('bash' 'dnssec-anchors' 'e2fsprogs' 'glibc' 'icu' 'jemalloc' 'libedit'
'json-c' 'krb5' 'libcap' 'libidn2' 'libmaxminddb' 'libnsl' 'libuv' 'libxml2'
'lmdb' 'openssl' 'readline' 'xz' 'zlib' 'libnghttp2' 'liburcu')
makedepends=('git' 'python-sphinx')
conflicts=('bind-tools' 'dnsutils')
replaces=('bind-tools' 'dnsutils' 'host')

View File

@ -1,7 +1,7 @@
pkgbase = jemalloc
pkgdesc = General-purpose scalable concurrent malloc implementation
pkgver = 5.3.0
pkgrel = 5
pkgrel = 6
epoch = 1
url = https://jemalloc.net/
arch = x86_64

View File

@ -6,7 +6,7 @@
pkgname=jemalloc
epoch=1
pkgver=5.3.0
pkgrel=5
pkgrel=6
pkgdesc='General-purpose scalable concurrent malloc implementation'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
license=('BSD')
@ -25,9 +25,14 @@ build() {
# FS#71745: GCC-built jemalloc causes telegram-desktop to crash a lot. The reason is still not clear.
export CC=clang
export CXX=clang++
case ${CARCH} in
"powerpc64le")
USE_64K_PAGES=--with-lg-page=16
;;
esac
./configure \
--enable-prof \
$USE_64K_PAGES \
--enable-autogen \
--prefix=/usr
make