mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 10:35:17 +03:00
26 lines
522 B
YAML
26 lines
522 B
YAML
|
distributable:
|
||
|
url: https://github.com/jemalloc/jemalloc/releases/download/{{version}}/jemalloc-{{version}}.tar.bz2
|
||
|
strip-components: 1
|
||
|
|
||
|
versions:
|
||
|
github: jemalloc/jemalloc
|
||
|
|
||
|
build:
|
||
|
dependencies:
|
||
|
gnu.org/autoconf: '*'
|
||
|
docbook.org: '*'
|
||
|
script: |
|
||
|
./configure $ARGS
|
||
|
make --jobs {{ hw.concurrency }}
|
||
|
make install
|
||
|
env:
|
||
|
ARGS:
|
||
|
- --prefix="{{prefix}}"
|
||
|
- --disable-debug
|
||
|
- --with-jemalloc-prefix=
|
||
|
|
||
|
test:
|
||
|
script: |
|
||
|
cc test.c -L {{prefix}}/lib -ljemalloc -o test
|
||
|
./test
|