[arch-commits] Commit in jemalloc/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Christian Hesse
eworm at gemini.archlinux.org
Sat Dec 25 22:55:30 UTC 2021
Date: Saturday, December 25, 2021 @ 22:55:30
Author: eworm
Revision: 433108
archrelease: copy trunk to testing-x86_64
Added:
jemalloc/repos/testing-x86_64/
jemalloc/repos/testing-x86_64/PKGBUILD
(from rev 433107, jemalloc/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: jemalloc/repos/testing-x86_64/PKGBUILD (from rev 433107, jemalloc/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2021-12-25 22:55:30 UTC (rev 433108)
@@ -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.2.1
+pkgrel=6
+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=('34330e5ce276099e2e8950d9335db5a875689a4c6a56751ef3b1d8c537f887f6')
+
+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