[arch-commits] Commit in jemalloc/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Christian Hesse eworm at gemini.archlinux.org
Mon May 16 13:37:19 UTC 2022


    Date: Monday, May 16, 2022 @ 13:37:19
  Author: eworm
Revision: 445877

archrelease: copy trunk to testing-x86_64

Added:
  jemalloc/repos/testing-x86_64/
  jemalloc/repos/testing-x86_64/PKGBUILD
    (from rev 445876, jemalloc/trunk/PKGBUILD)

----------+
 PKGBUILD |   41 +++++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Copied: jemalloc/repos/testing-x86_64/PKGBUILD (from rev 445876, jemalloc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2022-05-16 13:37:19 UTC (rev 445877)
@@ -0,0 +1,41 @@
+# Maintainer:  Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Contributor: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Kovivchak Evgen <oneonfire at gmail.com>
+
+pkgname=jemalloc
+epoch=1
+pkgver=5.3.0
+pkgrel=1
+pkgdesc='General-purpose scalable concurrent malloc implementation'
+arch=('x86_64')
+license=('BSD')
+url='http://www.canonware.com/jemalloc/'
+depends=('glibc')
+makedepends=('clang')
+options=('!lto')
+provides=('libjemalloc.so')
+optdepends=('perl: for jeprof')
+source=("https://github.com/jemalloc/jemalloc/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.bz2")
+sha256sums=('2db82d1e7119df3e71b7640219b6dfe84789bc0537983c3b7ac4f7189aecfeaa')
+
+build() {
+  cd $pkgname-$pkgver
+
+  # FS#71745: GCC-built jemalloc causes telegram-desktop to crash a lot. The reason is still not clear.
+  export CC=clang
+  export CXX=clang++
+
+  ./configure \
+    --enable-autogen \
+    --prefix=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  chmod 644 "$pkgdir/usr/lib/libjemalloc_pic.a"
+}



More information about the arch-commits mailing list