Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
aports
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Monitor
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
alpine
aports
Commits
389389f7
Commit
389389f7
authored
4 years ago
by
Duncan Bellamy
Committed by
Milan P. Stanić
4 years ago
Browse files
Options
Downloads
Patches
Plain Diff
unmaintained/jemalloc: fix cross compiling
parent
8efa6cf1
No related branches found
Branches containing commit
No related tags found
Tags containing commit
3 merge requests
!11958
community/rclone: upgrade to 1.52.3
,
!9763
[3.12] community/znc: upgrade to 1.8.1
,
!9020
unmaintained/jemalloc: fix cross compiling
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
unmaintained/jemalloc/APKBUILD
+30
-26
30 additions, 26 deletions
unmaintained/jemalloc/APKBUILD
with
30 additions
and
26 deletions
unmaintained/jemalloc/APKBUILD
+
30
−
26
View file @
389389f7
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
pkgname
=
jemalloc
pkgver
=
5.
1.0
pkgver
=
5.
2.1
pkgrel
=
0
pkgdesc
=
"A general purpose malloc(3) implementation"
url
=
"http://jemalloc.net/"
arch
=
"all !armv7"
license
=
"BSD-2-Clause"
pkgdesc
=
"general purpose malloc(3) implementation that emphasizes fragmentation avoidance and scalable concurrency support"
url
=
"http://jemalloc.net"
arch
=
"all"
license
=
"custom"
makedepends
=
"build-base autoconf libxslt docbook-xsl"
subpackages
=
"
$pkgname
-dev
$pkgname
-doc"
source
=
"
$pkgname
-
$pkgver
.tar.bz2::https://github.com/
$pkgname
/
$pkgname
/releases/download/
$pkgver
/
$pkgname
-
$pkgver
.tar.bz2
jemalloc-no-pprof.patch
"
source
=
"https://github.com/jemalloc/jemalloc/releases/download/
$pkgver
/jemalloc-
$pkgver
.tar.bz2"
build
()
{
cd
"
$builddir
"
local
_pgs
case
"
$CARCH
"
in
x86|x86_64
)
_pgs
=
12
;;
ppc64le
)
export
CPPFLAGS
=
"
$CPPFLAGS
-maltivec -mabi=altivec"
&&
_pgs
=
16
;;
*
)
_pgs
=
16
;;
esac
echo
"
$pkgver
"
>
VERSION
local
_xslroot
=
$(
find /usr/share/xml/docbook
-iname
"xsl-stylesheets-*"
)
autoconf
./configure
\
--build
=
$CBUILD
\
--host
=
$CHOST
\
--prefix
=
/usr
\
--sysconfdir
=
/etc
\
--mandir
=
/usr/share/man
\
--infodir
=
/usr/share/info
\
--enable-xmalloc
\
--prefix
=
"
$pkgdir
"
/usr
\
--localstatedir
=
/var
\
--disable-syscall
make
--sysconfdir
=
/etc
\
--with-xslroot
=
"
$_xslroot
"
\
--with-lg-page
=
"
$_pgs
"
\
--with-lg-hugepage
=
21
make all dist
}
check
()
{
cd
"
$builddir
"
make check
make tests
}
package
()
{
cd
"
$builddir
"
make
DESTDIR
=
"
$pkgdir
"
install
make
install
install
-Dm644
"
$builddir
"
/COPYING
"
$pkgdir
"
/usr/share/licenses/
"
$pkgname
"
/LICENSE
}
sha512sums
=
"d9abebe54d303ca931b8c31c1033f23ff5fb060f2377ec8386f4d79c352e65c78ed34f680c352dac14f7d7115d10245782d553d988bc13df2eb34a2f0942ef6f jemalloc-5.1.0.tar.bz2
1e59e6e3bd98be3be12a2619acf213445906c1f70d5e06fbfb98c1409c93486934ab53d58709a05e0c109e5ba9eab16d2110163e173de22ef2dc969d1cde9274 jemalloc-no-pprof.patch"
sha512sums
=
"0bbb77564d767cef0c6fe1b97b705d368ddb360d55596945aea8c3ba5889fbce10479d85ad492c91d987caacdbbdccc706aa3688e321460069f00c05814fae02 jemalloc-5.2.1.tar.bz2"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment