jemalloc: initial import
This commit is contained in:
parent
c422bc5d6b
commit
a2fefc7ff7
19
jemalloc/.footprint
Normal file
19
jemalloc/.footprint
Normal file
@ -0,0 +1,19 @@
|
||||
drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/bin/
|
||||
-rwxr-xr-x root/root usr/bin/jemalloc-config
|
||||
-rwxr-xr-x root/root usr/bin/jemalloc.sh
|
||||
-rwxr-xr-x root/root usr/bin/jeprof
|
||||
drwxr-xr-x root/root usr/include/
|
||||
drwxr-xr-x root/root usr/include/jemalloc/
|
||||
-rw-r--r-- root/root usr/include/jemalloc/jemalloc.h
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
-rwxr-xr-x root/root usr/lib/libjemalloc.a
|
||||
lrwxrwxrwx root/root usr/lib/libjemalloc.so -> libjemalloc.so.2
|
||||
-rwxr-xr-x root/root usr/lib/libjemalloc.so.2
|
||||
-rwxr-xr-x root/root usr/lib/libjemalloc_pic.a
|
||||
drwxr-xr-x root/root usr/lib/pkgconfig/
|
||||
-rw-r--r-- root/root usr/lib/pkgconfig/jemalloc.pc
|
||||
drwxr-xr-x root/root usr/share/
|
||||
drwxr-xr-x root/root usr/share/man/
|
||||
drwxr-xr-x root/root usr/share/man/man3/
|
||||
-rw-r--r-- root/root usr/share/man/man3/jemalloc.3.gz
|
5
jemalloc/.signature
Normal file
5
jemalloc/.signature
Normal file
@ -0,0 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF32kPVRbtq65pxP2cSaov796H6BiKr93bOZbktp8bVIxsESRBvlAFm1AlmJDP8Ki9cKP8FrKuk1Hby+iIzwZPJgI=
|
||||
SHA256 (Pkgfile) = 1204aaed1b31ddc7b992f4f160c546a0c6f5f032edcdc669b6744d06610dc83f
|
||||
SHA256 (.footprint) = e62079d57ef855c39cbf10c48a7585f4829b643f6424c26d2c530b433833e088
|
||||
SHA256 (jemalloc-5.2.1.tar.bz2) = 34330e5ce276099e2e8950d9335db5a875689a4c6a56751ef3b1d8c537f887f6
|
24
jemalloc/Pkgfile
Normal file
24
jemalloc/Pkgfile
Normal file
@ -0,0 +1,24 @@
|
||||
# Description: General-purpose scalable concurrent allocator
|
||||
# URL: http://jemalloc.net/
|
||||
# Maintainer: Danny Rawlins, crux at romster dot me
|
||||
# Optional: clang lld
|
||||
|
||||
name=jemalloc
|
||||
version=5.2.1
|
||||
release=1
|
||||
source=(https://github.com/$name/$name/releases/download/$version/$name-$version.tar.bz2)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
||||
export CFLAGS+=' -O3'
|
||||
prt-get isinst clang lld && LDFLAGS+=' -fuse-ld=lld -flto=thin'
|
||||
prt-get isinst clang && export CC=clang CXX=clang++ AR=llvm-ar NM=llvm-nm RANLIB=llvm-ranlib || \
|
||||
export CC=gcc CXX=g++
|
||||
|
||||
./configure --prefix=/usr
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
rm -r $PKG/usr/share/doc
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user